diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-09-03 10:23:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-09-03 10:23:48 +0000 |
commit | cd7ed12292aef11d9062b64f61215174e8cc1860 (patch) | |
tree | 9998ab03d153956743d9319cf3a0279b9593ce36 /web/api/exporters/shell/README.md | |
parent | Releasing debian version 1.16.1-6. (diff) | |
download | netdata-cd7ed12292aef11d9062b64f61215174e8cc1860.tar.xz netdata-cd7ed12292aef11d9062b64f61215174e8cc1860.zip |
Merging upstream version 1.17.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | web/api/exporters/shell/README.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/api/exporters/shell/README.md b/web/api/exporters/shell/README.md index ab412ebaa..fef253c8e 100644 --- a/web/api/exporters/shell/README.md +++ b/web/api/exporters/shell/README.md @@ -1,18 +1,18 @@ # shell exporter -Shell scripts can now query netdata: +Shell scripts can now query Netdata: ```sh eval "$(curl -s 'http://localhost:19999/api/v1/allmetrics')" ``` -after this command, all the netdata metrics are exposed to shell. Check: +after this command, all the Netdata metrics are exposed to shell. Check: ```sh # source the metrics eval "$(curl -s 'http://localhost:19999/api/v1/allmetrics')" -# let's see if there are variables exposed by netdata for system.cpu +# let's see if there are variables exposed by Netdata for system.cpu set | grep "^NETDATA_SYSTEM_CPU" NETDATA_SYSTEM_CPU_GUEST=0 @@ -50,7 +50,7 @@ user 0m0,000s sys 0m0,007s # it is... -# 0.07 seconds for curl to be loaded, connect to netdata and fetch the response back... +# 0.07 seconds for curl to be loaded, connect to Netdata and fetch the response back... ``` The `_VISIBLETOTAL` variable sums up all the dimensions of each chart. @@ -63,4 +63,4 @@ NETDATA_${chart_id^^}_${dimension_id^^}="${value}" The value is rounded to the closest integer, since shell script cannot process decimal numbers. -[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fweb%2Fapi%2Fexporters%2Fshell%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)]() +[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fweb%2Fapi%2Fexporters%2Fshell%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)](<>) |