Sponsored Content
Top Forums UNIX for Dummies Questions & Answers N00b question on CPU % in top Post 302102321 by kskywr on Tuesday 9th of January 2007 08:11:03 PM
Old 01-09-2007
Here's the output:

load averages: 9.57, 9.49, 9.99; up 32+23:28:00 20:10:29
1102 processes: 1088 sleeping, 5 zombie, 9 on cpu
CPU states: 31.6% idle, 50.7% user, 17.7% kernel, 0.0% iowait, 0.0% swap
Memory: 48G phys mem, 4004M free mem, 8193M swap, 8022M free swap

PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
13137 oraprprd 1 0 0 3681M 3657M cpu 259.4H 94.56% oracle
2465 orahfprd 1 59 0 9126M 9109M sleep 0:29 45.03% oracle
18658 orahfprd 1 51 0 9126M 9109M cpu 0:27 42.59% oracle
2592 oraprprd 1 31 0 3770M 3719M cpu 0:30 29.47% oracle
8030 oraprprd 1 59 0 3770M 3718M sleep 0:05 26.14% oracle
29442 orahfprd 1 59 0 9126M 9109M sleep 0:51 22.49% oracle
19647 orahfprd 1 59 0 9089M 9069M sleep 14:53 21.88% oracle
 

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 Advanced & Expert Users

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... (3 Replies)
Discussion started by: praveen_b744
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. Shell Programming and Scripting

scripting n00b question, please help :)

Okay, so I'm a little familiar with C and Linux, but my shell scripting experience is limited to say the least. I know that you begin a shell script with this #!/bin/bash Basically, I've written a C program that's output writes to a shell script. What my problem is, is I would like this shell... (4 Replies)
Discussion started by: beatzz
4 Replies

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

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

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

9. UNIX for Dummies Questions & Answers

FTP EOF n00b Question

Hi folks, can you help me decipher this? I know that ftp will accept input from all commands until it encounters EOF again but I don't quite make sense of what the entirety of the script is really trying to achieve. Many thanks. ftp -n someserver << EOF | head -20 user username@server... (2 Replies)
Discussion started by: verargulla
2 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
CHCPU(8)						       System Administration							  CHCPU(8)

NAME
chcpu - configure CPUs SYNOPSIS
chcpu -c|-d|-e|-g cpu-list chcpu -p mode chcpu -r|-h|-V DESCRIPTION
chcpu can modify the state of CPUs. It can enable or disable CPUs, scan for new CPUs, change the CPU dispatching mode of the underlying hypervisor, and request CPUs from the hypervisor (configure) or return CPUs to the hypervisor (deconfigure). Some options have a cpu-list argument. Use this argument to specify a comma-separated list of CPUs. The list can contain individual CPU addresses or ranges of addresses. For example, 0,5,7,9-11 makes the command applicable to the CPUs with the addresses 0, 5, 7, 9, 10, and 11. OPTIONS
-c, --configure cpu-list Configure the specified CPUs. Configuring a CPU means that the hypervisor takes a CPU from the CPU pool and assigns it to the vir- tual hardware on which your kernel runs. -d, --disable cpu-list Disable the specified CPUs. Disabling a CPU means that the kernel sets it offline. -e, --enable cpu-list Enable the specified CPUs. Enabling a CPU means that the kernel sets it online. A CPU must be configured, see -c, before it can be enabled. -g, --deconfigure cpu-list Deconfigure the specified CPUs. Deconfiguring a CPU means that the hypervisor removes the CPU from the virtual hardware on which the Linux instance runs and returns it to the CPU pool. A CPU must be offline, see -d, before it can be deconfigured. -p, --dispatch mode Set the CPU dispatching mode (polarization). This option has an effect only if your hardware architecture and hypervisor support CPU polarization. Available modes are: horizontal The workload is spread across all available CPUs. vertical The workload is concentrated on few CPUs. -r, --rescan Trigger a rescan of CPUs. After a rescan, the Linux kernel recognizes the new CPUs. Use this option on systems that do not auto- matically detect newly attached CPUs. -V, --version Display version information and exit. -h, --help Display help text and exit. RETURN CODES
chcpu has the following return codes: 0 success 1 failure 64 partial success AUTHOR
Heiko Carstens <heiko.carstens@de.ibm.com> COPYRIGHT
Copyright IBM Corp. 2011 SEE ALSO
lscpu(1) AVAILABILITY
The chcpu command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils /util-linux/>. util-linux July 2014 CHCPU(8)
All times are GMT -4. The time now is 08:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy