Your message dated Tue, 08 Aug 2006 22:55:27 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#363509: /usr/bin/mpstat: mpstat output without parameters
is wrong (fwd)
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: sysstat
Version: 5.0.6-5
Severity: normal
File: /usr/bin/mpstat
Hi
I was just playing around with rrdtools and wanted to graph my system status
when I discovered that mpstats
prints nosense data when called without parameter:
Example on a server just running a kernel make -j 20:
$ mpstat
Linux 2.6.14.3 (go.imp.ch) 19.04.2006
16:25:45 CPU %user %nice %system %iowait %irq %soft %idle
intr/s
16:25:45 all 0.41 0.00 0.16 0.03 0.12 0.01 99.27
497.45
99% Idle? Can't be...
How to get the right output:
$ mpstat 1 1
Linux 2.6.14.3 (go.imp.ch) 19.04.2006
16:26:10 CPU %user %nice %system %iowait %irq %soft %idle
intr/s
16:26:11 all 88.67 0.00 9.36 0.00 0.49 0.00 1.48
391.09
Durchschn.: all 88.67 0.00 9.36 0.00 0.49 0.00 1.48
391.09
This looks about right...
-Benoit-
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.14.3
Locale: LANG=de_CH, LC_CTYPE=de_CH (charmap=ISO-8859-1)
Versions of packages sysstat depends on:
ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
-- debconf information:
sysstat/notice:
sysstat/remove_files: true
sysstat/enable: false
--- End Message ---
--- Begin Message ---
Source-Version:5.0.6-5
Sebastien Godard wrote:
>>
> OK. This is not a bug ;-)
> Without any parameters entered on the command line, mpstat displays its
> stats since system startup (in the example above, mpstat displays the
> stats averaged between system boot time and 16:25:45).
> When you enter "mpstat 1 1", mpstat displays one line of stats on a 1
> second interval (in the example above, between 16:26:10 and 16:26:11).
> I will update mpstat manual page to make this clear.
>
I'm closing the bug report.
Best Regards,
robert
--- End Message ---