"top" command in IBM xSeries235 is strange

"top" command in IBM xSeries235 is strange

Post by Cho-Chin L » Thu, 03 Jul 2003 19:03:47



I am using IBM xSeries 235 which is a dual-processor server. The OS of the
server is  Red Hat Linux 7.3. When I give the command "top", it reports to
me that there are four CPU's:cpu0, cpu1, cpu2, cpu3. However, the server
actuallyonly  has two Xeon DP processors. Can any one tell me the reasom ?
The content of the "top" is shown as follows:

4:28pm  up 6 days,  3:10,  3 users,  load average: 0.11, 0.07, 0.01
73 processes: 72 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states:  0.1% user,  0.0% system,  0.0% nice, 99.0% idle
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU2 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle
CPU3 states:  0.0% user,  0.1% system,  0.0% nice, 99.0% idle
Mem:   513944K av,  384068K used,  129876K free,       0K shrd,  108516K
buff
Swap: 1048120K av,       0K used, 1048120K free                  111384K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
12520 root      15   0 27632  18M  3272 S     0.9  3.7   8:18 X
13164 spring    15   0  1168 1168   940 R     0.9  0.2   0:00 top
    1 root      15   0   480  480   420 S     0.0  0.0   0:06 init
    2 root      15   0     0    0     0 SW    0.0  0.0   0:00 keventd
    3 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU0
    4 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU1
    5 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU2
    6 root      34  19     0    0     0 SWN   0.0  0.0   0:00 ksoftirqd_CPU3
    7 root      15   0     0    0     0 SW    0.0  0.0   0:06 kswapd
    8 root      25   0     0    0     0 SW    0.0  0.0   0:00 bdflush
    9 root      15   0     0    0     0 SW    0.0  0.0   0:04 kupdated
   10 root      25   0     0    0     0 SW    0.0  0.0   0:00 mdrecoveryd
   18 root      17   0     0    0     0 SW    0.0  0.0   0:00 scsi_eh_2
   21 root      15   0     0    0     0 DW    0.0  0.0   0:10 kjournald
  100 root      16   0     0    0     0 SW    0.0  0.0   0:00 khubd
  193 root      15   0     0    0     0 SW    0.0  0.0   0:00 kjournald
  894 root      15   0   564  564   472 S     0.0  0.1   0:04 syslogd
  899 root      15   0   440  440   384 S     0.0  0.0   0:00 klogd
  919 rpc       15   0   596  596   504 S     0.0  0.1   0:00 portmap
  947 rpcuser   15   0   756  756   644 S     0.0  0.1   0:01 rpc.statd
 1224 root      18   0  1232 1232  1020 S     0.0  0.2   0:00 sshd

Cho-Chin Lin

 
 
 

"top" command in IBM xSeries235 is strange

Post by mjt » Fri, 04 Jul 2003 08:27:20



> I am using IBM xSeries 235 which is a dual-processor server. The OS of the
> server is  Red Hat Linux 7.3. When I give the command "top", it reports to
> me that there are four CPU's:cpu0, cpu1, cpu2, cpu3. However, the server

the xeon processor, being hyperthreaded, gives the appearance to have
one extra processor for each physical processor

[snip]

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Michael J. Tobler: motorcyclist, surfer,  #    Black holes result
 skydiver, and author: "Inside Linux",     #   when God divides the  
 "C++ HowTo", "C++ Unleashed"              #     universe by zero

 
 
 

1. HELP: "TOP" Command and "SZ" command

I recently moved from a large SunOS based company with hundreds of
servers to a new job taking care of a SCO Unix box (just 1 and by myself).
I was used to the "TOP" command to show the top processes on the Sparc
servers.  Not being as familiar with SCO as I was with SunOS, I don't
seem to have a "TOP" command available.  Could someone point me in the
right direction.

I also tried typing my usual "sz" to Zmodem download a file via modem and
did not have any luck.  Is the file possibly located outside the path or
do I have to install the sz utility.  Any help with both or either
function would be appreciated.

Eric
Information Coordinator

--
            ________   __    ____
           / __   __| / _ \ |  _ \
     ______> \ | |   |  _  ||    /_________________
    / _______/ |_|   |_| |_||_|\___________________ \

2. WebMail/POP/IMAIL/SMTP

3. "top" command and "sysctl" -> CPU %

4. SIGPIPE not generated???

5. GETSERVBYNAME()????????????????????"""""""""""""

6. Acces console Iplanet

7. strange output of "who am I" & "last" on solaris 9

8. Export to a Linux box?

9. strange output of "who am i" & "last" in Solaris 9

10. "write" "to" "flon" commands

11. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

12. "weof" operation in "mt" command gives "permission denied"

13. ". / command" instead of "command" ???