11-15-2002
Perderabo,
I am running 11.0 with term of vt320. I think top is the standard version for my host.
HP-UX myhost B.11.00 A 9000/800 624339393 two-user license
I used this command.
top -h -d 1 -f file.top
My output was this.
# cat file.top
Load averages: 0.21, 0.22, 0.24
657 processes: 638 sleeping, 18 running, 1 zombie
Cpu states: (avg)
LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0.21 14.2% 0.0% 0.8% 85.0% 0.0% 0.0% 0.0% 0.0%
Memory: 2327724K (972304K) real, 2098712K (937484K) virtual, 24059800K free Pa2
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
4 ? 22458 oracle 231 20 1511M 197M run 55:13 100.15 99.98 oracletcoe
1 ? 27456 oracle 152 20 203M 162M run 228:56 2.97 2.97 native_th
7 ? 782 root 154 20 1544K 128K sleep 546:04 1.49 1.49 syncer
6 ? 39 root 152 20 1856K 0K run 74:17 1.27 1.27 vxfsd
7 ? 22736 oracle 154 20 1316M 2864K sleep 0:39 0.91 0.91 oracletcone
3 ? 399 applmgr 154 20 401M 5328K sleep 2:10 0.73 0.73 oraclecfas1
0 ? 1805 applmgr 156 20 428M 3736K sleep 1:12 0.58 0.57 ora_snp0_C1
7 ? 3 root 128 20 32K 0K sleep 130:05 0.43 0.43 statdaemon
0 ? 1327 oracle 156 20 1331M 13104K sleep 2:18 0.42 0.42 oracletcone
3 ? 11620 applmgr 154 20 397M 2096K sleep 15:28 0.34 0.34 oraclecfas1
3 ? 6607 patrol 154 30 25836K 21828K sleep 869:15 0.34 0.34 PatrolAgent
3 ? 14314 applmgr 156 20 423M 27788K sleep 44:15 0.30 0.30 ora_qmn0_c1
1 ? 11810 applmgr 154 20 397M 1984K sleep 47:54 0.26 0.26 oraclecfas1
0 ? 27120 applmgr 154 20 399M 3248K sleep 0:01 0.24 0.24 oracleCFAS1
1 ? 22706 applmgr 154 20 398M 2144K sleep 2:37 0.23 0.23 oracleCFAS1
5 ? 6889 root 152 20 35912K 13016K run 15:12 0.22 0.22 mxagent
Last edited by Kelam_Magnus; 11-18-2002 at 12:49 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I understand the numbers displayed in variable "load average". My question: what are the correct/ideal numbers?
Sometimes, I got less than 1. Others, above 6.
Also, what HW/SW should I tune in order to have the ideal numbers?
Thank you ... (1 Reply)
Discussion started by: dgromerog
1 Replies
2. UNIX for Dummies Questions & Answers
hi guys,
i am having a dual cpu xeon machine.
i came to know that i can view the performance by giving top command.
but top command shows only the usage of one cpu in percentage
while the process are using more than 100% usage in the list .
can i know separately the usage of cpus.
can you... (5 Replies)
Discussion started by: bijuhpd
5 Replies
3. Solaris
Hi
I want to know how can I enable the command top in Solaris plataform.
Thanks (1 Reply)
Discussion started by: llopez_hernande
1 Replies
4. SCO
Is there a command in SCO Unix that does the same as the top command in HPUX. The command displays the jobs using the most system resources.
Thanks You (0 Replies)
Discussion started by: joestrosser
0 Replies
5. Solaris
Hi,
How to install software package top in solaris, (4 Replies)
Discussion started by: manoj.solaris
4 Replies
6. Shell Programming and Scripting
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. AIX
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
8. Shell Programming and Scripting
Hi all,
I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command.
Thanks in advance.
Thanks,
Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
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
SLEEP(3) Linux Programmer's Manual SLEEP(3)
NAME
sleep - Sleep for the specified number of seconds
SYNOPSIS
#include <unistd.h>
unsigned int sleep(unsigned int seconds);
DESCRIPTION
sleep() makes the calling thread sleep until seconds seconds have elapsed or a signal arrives which is not ignored.
RETURN VALUE
Zero if the requested time has elapsed, or the number of seconds left to sleep, if the call was interrupted by a signal handler.
CONFORMING TO
POSIX.1-2001.
BUGS
sleep() may be implemented using SIGALRM; mixing calls to alarm(2) and sleep() is a bad idea.
Using longjmp(3) from a signal handler or modifying the handling of SIGALRM while sleeping will cause undefined results.
SEE ALSO
alarm(2), nanosleep(2), signal(2), signal(7)
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
GNU
2010-02-03 SLEEP(3)