Sponsored Content
Full Discussion: top %CPU.
Top Forums UNIX for Advanced & Expert Users top %CPU. Post 302135105 by praveen_b744 on Thursday 6th of September 2007 02:06:46 AM
Old 09-06-2007
top %CPU.

I am using the Red Hat Enterprise Linux AS release 3 (Taroon), 2.4.21-4.EL. When I see the output of the command 'top'. I am getting the following

************************************************************************************

2 processes: 227 sleeping, 5 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 80.0% 0.0% 0.3% 0.0% 0.0% 0.0% 19.5%
Mem: 2063228k av, 2043904k used, 19324k free, 0k shrd, 38356k buff
1561324k actv, 0k in_d, 44184k in_c
Swap: 4096532k av, 9172k used, 4087360k free 1635504k cached

PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
1124 root 25 0 59208 41M 3932 R 78.8 2.0 1290m 0 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7
14778 oracle 15 0 52876 50M 50712 R 1.1 2.5 0:03 0 oraclehsblr4 (LOCAL=NO)
351 root 15 0 0 0 0 SW 0.1 0.0 2:44 0 kjournald
14973 hedgestr 15 0 1320 1320 892 R 0.1 0.0 0:00 0 top
1 root 15 0 512 512 452 S 0.0 0.0 0:06 0 init
************************************************************************************************


Here the command `/usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7` is taking 78.8
%CPU. I guess that command was using by X-Server. But How would I controll that command to use minimum %CPU.

HELP REQUIRED.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dual CPU's and 'top'

Hi have just built a new sunfire 280r with solaris 9 and i Have 2 questions 1) where can i view some information that will tell me for definate that the 2*900 mhz processors are both being used, i tried using "top" but it doesnt tell me for sure that both processors are churning away together ... (3 Replies)
Discussion started by: hcclnoodles
3 Replies

2. Debian

top for Debian multi-cpu box...

I have a quad cpu Debian box running as an email server. I'm looking to see how the cpu's are being used. Top just shows them alltogether with the 4 processes running. Does anyone know how I can get Top to show me each cpu like the HP-UX top does? Thanks. top - 14:56:08 up 2:35, 1 user, ... (1 Reply)
Discussion started by: natter
1 Replies

3. UNIX for Dummies Questions & Answers

N00b question on CPU % in top

I have a process in my TOP output that is consistantly at 97% usage. I have 16 CPUs on my box. So is the 97% the cumalative usage of all the CPUs or just one? (3 Replies)
Discussion started by: kskywr
3 Replies

4. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

5. 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

6. Red Hat

CPU usage: PS versus TOP - Different output

CPU usage: PS versus TOP - Different output Hi When monitoring a Linux environment with PS command, reported CPU value for a certain process differs, sometimes greatly, from the value seen in TOP. I understood this is not a bug, they report different data. I can't understand the nature... (4 Replies)
Discussion started by: liav
4 Replies

7. Solaris

top is showing 0% cpu Idle

What should we do if we show a 0% cpu idl on top? (5 Replies)
Discussion started by: Pouchie1
5 Replies

8. Shell Programming and Scripting

Warning in Top 10 cpu consuming processes

I m using following command to find top 10 cpu consuming processes. However whenever i execute the command i get following warning. What can be done to avoid it? # ps -auxf | sort -nr -k 3 | head -10 Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ root ... (6 Replies)
Discussion started by: pinga123
6 Replies

9. Shell Programming and Scripting

Print 10 most CPU-intensive processes (wo/ top)

ps -eo pid,comm,%cpu lists all processes (in increasing PID number). How to get only the top-10 most CPU intensive ones? I know about top: this is BASH exercise. I tried redirecting above code to cut ps -eo pid,comm,%cpu | cut -f2but ps' output isn't TAB delimited. How can I otherwise use... (5 Replies)
Discussion started by: courteous
5 Replies

10. Red Hat

Understanding cpu consumption with TOP

Hi please see attached picture of the TOP command. the "java" process seem to consume 700% of cpu is that mean that he uses 100% of every 7 cpu cores? thanks (2 Replies)
Discussion started by: guy3145
2 Replies
RHN_REGISTER(8) 						   Red Hat, Inc.						   RHN_REGISTER(8)

NAME
rhn_register - Connect to Spacewalk Server, Red Hat Satellite or Red Hat Network Classic. SYNOPSIS
rhn_register [options] DESCRIPTION
rhn_register is a client program that registers your system with "Spacewalk Server", "Red Hat Satellite" or "Red Hat Network Classic". After registering, your system can receive software updates, install new software, and remotely manage your system. It can run both in graphical and text modes. OPTIONS
-v, --verbose Increase the debugging output. --proxy=PROXY Specify an http proxy to use. --proxyUser=PROXYUSER Specify a username to use for an authenticated proxy. This option must be used in conjunction with proxyPassword. --proxyPassword=PROXYPASSWORD Specify a password to use for an authenticated proxy. This option must be used in conjunction with proxyUser. --nox Run in text mode. --version Show the program's version number and exit. -h, --help Show a help message and exit. FILES
/etc/sysconfig/rhn/systemid The digital server ID for this machine if the system has been registered onto "Spacewalk Server" or "Red Hat Satellite" or "Red Hat Network Classic". This file does not exist otherwise. /etc/sysconfig/rhn/up2date The common configuration file used by Red Hat client programs. SEE ALSO
rhn_check(8), rhnreg_ks(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5). AUTHORS
See the AUTHORS file included with this software. This manual page was written by James Bowes <jbowes@redhat.com> BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 1999-2011 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Linux 2011 February 4 RHN_REGISTER(8)
All times are GMT -4. The time now is 10:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy