|
|
[SSI] openssi/procps top.c,1.1.3.1.2.5,1.1.3.1.2.6: msg#00314
|
Subject: |
[SSI] openssi/procps top.c,1.1.3.1.2.5,1.1.3.1.2.6 |
Update of /cvsroot/ssic-linux/openssi/procps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6791
Modified Files:
Tag: OPENSSI-RH
top.c
Log Message:
Fix 'CPU state' display for non-localview 'top' in case of uniprosessor machines
Index: top.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/procps/Attic/top.c,v
retrieving revision 1.1.3.1.2.5
retrieving revision 1.1.3.1.2.6
diff -u -d -r1.1.3.1.2.5 -r1.1.3.1.2.6
--- top.c 20 Oct 2004 09:11:15 -0000 1.1.3.1.2.5
+++ top.c 28 Oct 2004 11:10:54 -0000 1.1.3.1.2.6
@@ -1773,7 +1773,7 @@
idle_ticks *= nr_cpu;
iowait_ticks *= nr_cpu;
}
- if (!localview) {
+ if (localview) {
printf("CPU states: "
"%3Lu%s%Lu%% user %3Lu%s%Lu%% system "
"%3Lu%s%Lu%% nice %3Lu%s%Lu%% iowait "
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
|
| |