Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Graphing from sysstat sar data into time-based graph

Project description

Graphing performance or system activity information.

using the output of sar tools.

Requirements

  • matplotlib

How to use

Usage: gperf.py [options]

Options:
  -h, --help            show this help message and exit
  -i INPUT_FILE, --input=INPUT_FILE
  -o OUTPUT_DIR, --ouput=OUTPUT_DIR
  --csv
  --stat
  --minor
  --height=HEIGHT
  --width=WIDTH

Recording all system activity.

$ sar -A -o [output filename] [interval]

$ sar -A -o activity_result 1

Convert result format into csv.

$ sadf -d -- -A [output filename] > [csv filename]

$ sadf -d -- -A activity_result > activity_result.csv

Create graph form -d format form sadf.

$ python gperf.py -i activity_result.csv -o output_dir

or

$ python gperf.py --input activity_result.csv --output output_dir

Project details


Release history Release notifications

This version
History Node

0.2

History Node

0.1dev

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gperf-0.2.tar.gz (10.7 kB) Copy SHA256 hash SHA256 Source None May 7, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page