From 8e52905ea9e1faa0b1a62fdfbb0e056a6ea4fd09 Mon Sep 17 00:00:00 2001 From: Ranjib Dey Date: Mon, 5 Oct 2015 13:24:06 -0700 Subject: [PATCH] add readme for procstat plugin --- plugins/procstat/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/procstat/README.md diff --git a/plugins/procstat/README.md b/plugins/procstat/README.md new file mode 100644 index 000000000..ba023be91 --- /dev/null +++ b/plugins/procstat/README.md @@ -0,0 +1,21 @@ +# Procstat plugin + +The procstat plugin can be used to monitor system resource usage by an +individual process. + +Processes can be specified either by pid file or by executable name. Procstat +plugin will use `pgrep` when executable name is provided to obtain the pid. Proctsta plugin will transmit IO, memory, cpu, file descriptor related measurements for every process specified. A prefix can be set to isolate individual process specific measurements. + +Example: + +``` +[procstat] + +[[procstat.specifications]] + exe = "influxd" + prefix = "influxd" + +[[procstat.specifications]] + pid_file = "/var/run/lxc/dnsmasq.pid" + prefix = "dnsmasq" +```