Skip to content

Instantly share code, notes, and snippets.

@1stvamp
Created September 3, 2012 12:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1stvamp/3609126 to your computer and use it in GitHub Desktop.
Save 1stvamp/3609126 to your computer and use it in GitHub Desktop.
Get networking metrics for a list of devices on Server Density using the densli CLI app
#!/bin/bash
for id in "4e4e1638c85e808431000003 4e4e1638c85e808431000004 4e4e1638c85e808431000005"
do
densli metrics.getRange metric=networkTraffic deviceId=$id -t 30m -s
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment