GlancePlus v.s. top


 
Thread Tools Search this Thread
Operating Systems HP-UX GlancePlus v.s. top
# 1  
Old 01-18-2008
Question GlancePlus v.s. top

my system is:
Code:
# uname -a
HP-UX inap01 B.11.11 U 9000/800 1991039449 unlimited-user license

Please look at the rds process CPU values or weighted CPU values;
Code:
# top
----i ignored these lines -------------------
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
1 ? 15059 root 152 20 52828K 33756K run 723:21 93.22 93.06 rds 
1 ? 22171 root 180 20 798M 3892K sleep 11353:26 33.53 33.47 oninit
0 ? 22160 root 180 20 798M 6432K sleep 3603:08 11.48 11.46 oninit
0 ? 7161 nwauto 154 20 9996K 5916K sleep 13:03 0.80 0.80 perl

and when I run glance the value of CPU looks like:

Code:
Process Name PID PPID Pri Name ( CPU util 200% max) Cum CPU IO Rate RSS Cnt
rds 15059 1 168 root 0.0/ 1.3 43364.0 0.0/ 0.6 34.2mb 11

so CPU usage is totaly different;

top says:
%CPU : Raw CPU percentage. This field is used to
sort the top processes.


glance say about CPU usage is:
The total CPU time consumed by a process or kernel thread as a percentage of the total CPU time available during the interval.

OK then, is glance working wrong ? or top %CPU is a elapsed CPU time since process started in spite of TOP does not explain that ??

I am a little bit confused


Please advise me , thanks in advance.
# 2  
Old 01-18-2008
top has a very limited view of things compared to glance. I would tend to believe glance over top until proven otherwise. My guess is that rds is indeed running but it is doing something like a spinlock. glance would know this and would consider the spinlock to be a global cost. If it is something like this, then top and glance would closely agree on how much cpu is being used, and glance would list the missing 90% of a cpu to something else.
# 3  
Old 02-07-2008
Question

Quote:
Originally Posted by Perderabo
top has a very limited view of things compared to glance. I would tend to believe glance over top until proven otherwise. My guess is that rds is indeed running but it is doing something like a spinlock. glance would know this and would consider the spinlock to be a global cost. If it is something like this, then top and glance would closely agree on how much cpu is being used, and glance would list the missing 90% of a cpu to something else.
Hi Perberabo

When I use cli based glanceplus with command to open;

Code:
# glance

in the the process list menu (main/default menu) ,cpu utility gets 2 results adjacently like this:
Code:
  ...CPU Util...
----------------- 
 ...(100% max)... 
 ... 3.8/ 1.0 ...

system has single CPU, do you know why there is two value under CPU ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Top command

Hi All, i am using the below command and once get the output and i need to keep the first batch only.in this case how to do this one. please help me on thistop -b -n 5 >top.txt Thanks, (3 Replies)
Discussion started by: bmk
3 Replies

2. Shell Programming and Scripting

Help with top command

Currently when i run top command i get the following columns . CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND In this how to remove '%WCPU' column ? Thanks very much in advance . (6 Replies)
Discussion started by: kpravinraj
6 Replies

3. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

4. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

5. UNIX for Dummies Questions & Answers

Help using top and ps

help! i need help with locating where a program is being run from. when i type top -i it only lists the name and minimal info, not the programs location from where it is being ran. i ask because i just used the same named executable, a.exe for all the processes and have lost the schedule detailing... (4 Replies)
Discussion started by: shabs1985
4 Replies

6. Shell Programming and Scripting

Top command

Hi , can some one please assist me in using top command im facing following after using top: # top -hv UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected # top -p UX:sh (top): ERROR: top: syntax error at line 1: `(' unexpected thanks in advance (3 Replies)
Discussion started by: NIMISH AGARWAL
3 Replies

7. HP-UX

Using TOP

Hey guys, the top format in HP-UX has the size which is the total virtual size and the res which is the resident size. What are these size and res? (1 Reply)
Discussion started by: sbn
1 Replies

8. Solaris

Top

How to display and update information about the top processes on the system(like "top" in Unix ) (1 Reply)
Discussion started by: iwbasts
1 Replies

9. HP-UX

HP-UX and 'top'

I've been working with an HP-UX system (RP5400 Series PA-RISC server) for about a year that hosts some middleware. The middleware sits between an Oracle DB (on another box) and the client applications running on about 800 PCs. From the beginning, I've noticed that 'top' reports between 0.0% and... (8 Replies)
Discussion started by: deckard
8 Replies

10. UNIX for Dummies Questions & Answers

How Can I Have Top Display The Top 20 Processes??

how can i do that in a script withough havin the script halt at the section where the top command is located. am writign a script that will send me the out put of unx commands if the load average of a machine goes beyond the recommended number. top -n 20 i want to save this output to a file... (1 Reply)
Discussion started by: TRUEST
1 Replies
Login or Register to Ask a Question