Operating System - HP-UX
1753976 Members
7534 Online
108811 Solutions
New Discussion

top command issue in HP-UX 11.31

 
ranin_das
Advisor

top command issue in HP-UX 11.31

We have HPE SD-2 32S system  and running OS is 11.31 version.  Here I found less output from some OS.

Check the bellow out from two different host: 

System: sapcbrp2 Wed Jan 1 13:05:35 2020
Load averages: 0.02, 0.03, 0.03
393 processes: 328 sleeping, 65 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.01 0.0% 0.0% 1.0% 99.0% 0.0% 0.0% 0.0% 0.0%
90 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
92 0.02 1.0% 0.0% 2.0% 97.0% 0.0% 0.0% 0.0% 0.0%
94 0.04 3.0% 0.0% 2.0% 95.0% 0.0% 0.0% 0.0% 0.0%
104 0.02 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
106 0.02 2.9% 0.0% 1.0% 96.1% 0.0% 0.0% 0.0% 0.0%
108 0.02 2.0% 0.0% 0.0% 98.0% 0.0% 0.0% 0.0% 0.0%
110 0.03 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.02 1.0% 0.0% 1.0% 98.0% 0.0% 0.0% 0.0% 0.0%

System Page Size: 4Kbytes
Memory: 18402344K (17912460K) real, 44279616K (43528692K) virtual, 30459616K free Page# 1/16

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
104 ? 2210 oracle 152 20 4184M 1428M run 5:10 1.46 1.46 java
94 ? 2207 oracle 152 20 4233M 2269M run 8:39 1.46 1.45 java
108 ? 2211 oracle 152 20 4245M 2229M run 6:04 1.05 1.05 java
94 ? 2209 oracle 152 20 4159M 1398M run 5:17 0.97 0.97 java
108 ? 2208 oracle 152 20 4271M 2154M run 5:15 0.77 0.77 java
110 ? 2232 oracle 152 20 4261M 1864M run 6:02 0.71 0.71 java
108 ? 2231 oracle 152 20 4168M 1392M run 5:15 0.40 0.39 java
92 ? 2204 oracle 152 20 4685M 1380M run 5:06 0.39 0.39 java
90 ? 2936 root 168 20 15920K 1480K sleep 2963:56 0.30 0.29 utild
94 ? 2206 oracle 152 20 4202M 1706M run 5:21 0.24 0.24 java
94 ? 2163 oracle 152 20 873M 497M run 3:14 0.20 0.20 java
110 ? 2205 oracle 152 20 4161M 1390M run 5:06 0.13 0.12 java
0 ? 15866 oracle 152 20 497M 84732K run 1095:54 0.12 0.12 java
108 ? 2526 cimsrvr 152 20 80960K 23612K run 405:33 0.11 0.11 cimservermain
106 ? 0 root 127 20 72K 64K sleep 708:32 0.09 0.09 swapper
94 ? 28586 root 152 20 26960K 5200K run 133:52 0.08 0.08 sisidsdaemon
92 ? 272 root 152 20 25704K 22848K run 509:43 0.07 0.07 vxfsd
94 ? 18535 root 154 20 11196K 1152K sleep 11:16 0.05 0.05 sendmail:
104 ? 274 root 152 20 648K 576K run 1130:34 0.04 0.04 pm_schedcpu
104 ? 218 root 152 20 72K 64K sleep 7:52 0.04 0.04 svhptdaemon
92 ? 1134 root 127 20 13052K 832K sleep 31:47 0.03 0.03 netfmt
94 ? 3 root 152 20 72K 64K sleep 219:46 0.02 0.02 statdaemon
110 ? 2638 root 154 20 5748K 496K sleep 14:03 0.01 0.01 pwgrd
108 ? 2350 sfmdb 168 20 33036K 1020K sleep 69:09 0.00 0.00 postgres:
-------------------------------------------------------------------------------------------------
System: sapcbrp1 Wed Jan 1 12:48:03 2020
Load averages: 0.01, 0.01, 0.01
424 processes: 353 sleeping, 71 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
106 0.00 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
108 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
110 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
120 0.00 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
122 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
124 0.01 3.0% 0.0% 1.0% 96.0% 0.0% 0.0% 0.0% 0.0%
126 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
152 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
154 0.01 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
156 0.01 1.0% 0.0% 1.0% 98.0% 0.0% 0.0% 0.0% 0.0%
158 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
160 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
162 0.01 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
164 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
166 0.02 5.0% 0.0% 0.0% 95.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.01 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0% Page# 1/42

 

here second host don't show the output for bellow  filed

CPU    TTY       PID USERNAME    PRI  NI  SIZE RES STATE TIME %WCPU %CPU COMMAND

 

So how can I get all output same as first host by top command.

Mention that all OS is HP-UX 11.31

 

 

4 REPLIES 4
ranin_das
Advisor

Re: top command issue in HP-UX 11.31

Hi All,

Have I got any solution from HP-UX expert end ?

Waiting for prompt response.....

 

Regards,

Ranin

Re: top command issue in HP-UX 11.31

Have you tried pressing the 'j' and 'k' keys to go forward and back pages in the top output - from what you show there it simply looks like you have too many CPUs on your second system to show on a single page of top. Depending on the terminal emulator you are using, you could also just make the number of lines displayed per page bigger?


I am an HPE Employee
Accept or Kudo
ranin_das
Advisor

Re: top command issue in HP-UX 11.31

Hi Duncan,

Thanks for your prompt response.  Yes, presseing j or k , I can see next page or previous page.

But I want to see each process utilization, suppose Java ia using 20% CPU like as first message .

Please suggest how to check it.

Bill Hassell
Honored Contributor

Re: top command issue in HP-UX 11.31

The man page is helpful:

           -h          Hides the individual CPU state information for
                       systems having multiple processors.  Only the average
                       CPU status will be displayed.

Run top -h 



Bill Hassell, sysadmin