Skip to content

bedrisendir/pid_monitor

 
 

Repository files navigation

pid_monitor

Profile your workload and share the results in data-rich, interactive charts

Version 1.01

#Requires

  • Linux
  • dstat
  • python
  • (Optional) Some of the advanced monitors (like GPU) use R scripts to parse output data

Start here:

This repository also makes use of:

  • Dygraphs for javascript charts (included).
  • c3.js for javascript charts (included).
  • jquery-csv for csv parsing (included).
  • GNU-time /usr/bin/time

Try it out:

sudo apt-get install -y dstat
git clone https://github.com/jschaub30/pid_monitor
cd pid_monitor/
cp example.sh your_workload.sh
[ Edit your_workload.sh ]
./your_workload.sh
./pid_webserver.sh
[ (Optional) copy the run directory to your web server ]

When run, these examples will create the following directories:

  • ./rundir/[WORKLOAD-NAME]/[DATETIME]/data/raw # All config and raw data files end up here
  • ./rundir/[WORKLOAD-NAME]/[DATETIME]/scripts # Measurement and analysis scripts
  • ./rundir/[WORKLOAD-NAME]/[DATETIME]/html # For interactive charts

To permanently share all the measurements on your server, you need to enable a web server. On Ubuntu, this is as simple as

sudo apt-get install apache2
cd /var/www/html
sudo ln -sf [location of rundir in pid_monitor directory]

About

Linux tools for monitoring processes written in bash, python, R, html and javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 41.5%
  • Shell 25.5%
  • Python 17.2%
  • HTML 8.9%
  • R 4.7%
  • CSS 2.2%