Skip to content

Instantly share code, notes, and snippets.

@danriti danriti/
Last active Mar 9, 2016

What would you like to do?
pcp + vector + filtered per process stats

run on ubuntu 12.04

  1. install pcp from source following:
  2. install vector following:
  3. update pmwedb config to use port 9999 by default: /etc/pcp/pmwebd/pmwebd.options
  4. sudo service pmwebd restart
  5. update pmcd to run proc pmda as root (add -A flag): /etc/pcp/pmcd/pmcd.conf
  6. sudo service pcp restart
  7. run vector via gulp:
  8. created a hotproc.conf in /var/lib/pcp/pmdas/proc
  9. example hotproc matcher: psargs ~ /python_module\.py/
  10. pminfo -f hotproc.nprocs
  11. hack vector to display hotproc stats of interest in app.widgets.js

Other Links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.