Skip to main content

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


Download files

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

Source Distribution

gperf-0.1dev.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file gperf-0.1dev.tar.gz.

File metadata

  • Download URL: gperf-0.1dev.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gperf-0.1dev.tar.gz
Algorithm Hash digest
SHA256 5436cd6ae5cfb71f7b3e7d09863b94b49a1e3467269ca3ec215bf07815c89756
MD5 bec545af7471a980f655b7f0c8274e2b
BLAKE2b-256 6a05608ff0c10a6f882c437293b61a1f6cf8d311e48a6d642321d3167397c8cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page