Package: sysstat
Version: 8.0.4-1
Severity: wishlist
A bit nitpicking here (sorry but I was annoyed):
Probably too late and for upstream:
the default value for count is 0 for sar but "endless" for pidstat.
Some consistency would be nice there.
Example:
$pidstat -d 2
will enter endless loop
while
$sar -n ALL 2
will only print once
At least pidstat should interpret a count value of 0 as endless like
sar. This way you can always specify interval and count and don't have
to think about which tool you are using. At the moment specifying a
count value of 0 is not allowed by pidstat:
$ pidstat -d 2 0
Usage: pidstat [ options... ] [ <interval> [ <count> ] ]
Options are:
[ -C <comm> ] [ -d ] [ -I ] [ -r ] [ -t ] [ -u ] [ -V ] [ -w ]
[ -p { <pid> | SELF | ALL } ] [ -T { TASK | CHILD | ALL } ]
Another point:
both tools print an average even if count is 1 and I could not find
a switch to disable average printing
PS: what's wrong with watch (or watch -d)? hmm ok no average printing
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages sysstat depends on:
ii bzip2 1.0.5-0.1 high-quality block-sorting file co
ii debconf [debconf-2.0] 1.5.20 Debian configuration management sy
ii libc6 2.7-10 GNU C Library: Shared libraries
ii lsb-base 3.1-24 Linux Standard Base 3.1 init scrip
ii ucf 3.005 Update Configuration File: preserv
Versions of packages sysstat recommends:
ii cron 3.0pl1-104 management of regular background p
-- debconf information:
sysstat/remove_files: true
* sysstat/enable: false
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]