~ubuntu-branches/ubuntu/lucid/sysstat/lucid

« back to all changes in this revision

Viewing changes to FAQ

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2009-09-27 09:04:11 UTC
  • mfrom: (1.1.16 upstream) (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20090927090411-sc9wb4a1vbr69s7i
Tags: 9.0.5-1
* New upstream release.
* Add an override for `init.d-script-possible-missing-stop' lintian's 
  warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
      analysis and capacity planning?
53
53
2.21. The sar command displays some weird output values...
54
54
2.22. What happened to sar's options -h, -H, -x and -X?
 
55
2.23. What is the exact meaning of the <count> parameter for sar and sadc?
55
56
 
56
57
3. QUESTIONS RELATING TO IOSTAT
57
58
 
509
510
sar -H, and the pidstat command instead of sar -x or sar -X. Please read
510
511
their manual page to learn some more about their respective options.
511
512
 
 
513
~~
 
514
 
 
515
2.23. What is the exact meaning of the <count> parameter for sar and sadc?
 
516
 
 
517
For sadc, <count> is the number of data samples collected.
 
518
For sar, <count> is the number of records to display (a record contains
 
519
the average values for counters over the given time interval - See 2.16).
 
520
 
 
521
Starting with an empty file <file>:
 
522
 
 
523
sadc <file> 1 6         will write 6 data samples to file.
 
524
sar -f <file> 1 6       6 is invalid because there are only 5 intervals.
 
525
 
 
526
Based on the <count> value entered for sadc the "valid" <count> values for
 
527
sar are 1 through 5. Any value greater than 5 for sar will give the
 
528
same output as 5 in this example. So entering sar -f <file> 1 2000
 
529
for a file populated with the output of sadc 1 6 <file> will give the
 
530
same output as sar -f <file> 1 5. Note that it all depends on the number
 
531
of data samples pre-existing in the data file. If the file is empty
 
532
when first running sadc then the above is true.
512
533
 
513
534
3. QUESTIONS RELATING TO IOSTAT
514
535
###############################