Sponsored Content
Full Discussion: how to log top command
Top Forums Shell Programming and Scripting how to log top command Post 31970 by Kelam_Magnus on Friday 15th of November 2002 12:10:48 PM
Old 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

command --> top

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

top command

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

top command

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

HP-UX top command

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

top command

Hi, How to install software package top in solaris, (4 Replies)
Discussion started by: manoj.solaris
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. 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

8. Shell Programming and Scripting

Command to find the Memory and CPU utilization using 'top' command

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

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

10. 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
sa1(8)							    BSD System Manager's Manual 						    sa1(8)

NAME
sa1 -- Generate a system activity daily data file. SYNOPSIS
/usr/lib/sa/sa1 [t n] DESCRIPTION
The sa1 command is a shell script used to invoke the system activity data collector, sadc. The binary sample data is collected at intervals t seconds apart, in a loop n times. The binary sample data is written to the standard daily data file, /var/log/sa/sadd where the dd repre- sents the current day of the month. sa1 is intended to be started by cron. EXAMPLE CRON ENTRY
# Starting at 8am collect system activity records # every 20 minutes for 12 hours # 20 minutes = 1200 seconds # 12 hours with 3 samples each hour = 36 loops 0 8 * * 1-5 /usr/lib/sa/sa1 1200 36 # After the 12 hour period, # collect a system activity report 30 20 * * 1-5 /usr/lib/sa/sa2 -A FILES
/var/log/sa/sadd Default daily activity file that holds the binary sampling data. dd are digits that represent the day of the month. SEE ALSO
sa2(8), sadc(8), sar(1), iostat(8), vm_stat(1), netstat(1), top(1), sc_usage(1), fs_usage(1), crontab(1), crontab(5) Mac OS X Jul 25 2003 Mac OS X
All times are GMT -4. The time now is 11:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy