Difference between revisions of "Ksar"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
Line 1: Line 1:
 
This article is about getting statistics about past system activity like this:
 
This article is about getting statistics about past system activity like this:
  
[[Image:Snapshot-ksar.png|200px]]
+
[[Image:Snapshot-ksar.png|413px|ksar (click to enlarge)]]
  
 
To get this graph,
 
To get this graph,

Latest revision as of 08:17, 23 January 2011

This article is about getting statistics about past system activity like this:

ksar (click to enlarge)

To get this graph,

  • collect all system data, in this example for 20 intervals lasting 1 second each, using the data file /tmp/sar.out:
sar -o /tmp/sar.out 1 20
  • convert the binary data to a human-readable format. -A stands for "all".
export LC_ALL=C; sar -A -f /tmp/sar.out >/tmp/sar.out.txt
java -jar kSar.jar -input /tmp/sar.out.txt

See also