Hi Sebastien,

I'm forwarding the bug I got today.

Regards,
robert


----- Forwarded message from Benoit Panizzon <[EMAIL PROTECTED]> -----

From: Benoit Panizzon <[EMAIL PROTECTED]>
Subject: Bug#363509: /usr/bin/mpstat: mpstat output without parameters is wrong
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.8
Date: Wed, 19 Apr 2006 16:26:57 +0200

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 forwarded message -----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to