Sponsored Content
Full Discussion: Dual CPU's and 'top'
Top Forums UNIX for Dummies Questions & Answers Dual CPU's and 'top' Post 38320 by IMPTRUE on Saturday 12th of July 2003 12:51:26 AM
Old 07-12-2003
This is kinda confusing.

Your cpus are being utilized because if your system's idle state is at 5% that means the sytem is under heavy use.

if your sytem was at something higher like in the 90s then you can decide if the cpus are being utilized.

bottom line is idle percent number of 5% indicates your systems is heavily being used
 

10 More Discussions You Might Find Interesting

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

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

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

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

5. Shell Programming and Scripting

How to get the information about cpu idle from top command?

I am using Ubuntu 9.04. I want to write a shell script to get the information about cpu idle from top command at the real time when i call it, compare cpu idle with 20 (20%), if cpu idle > 20 exit 1, vice versa exit 0. Anybody can help me to resolve it ? Thanks alot. (7 Replies)
Discussion started by: huyquocnguyen
7 Replies

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

7. UNIX Benchmarks

power 5 p520 2-dual core CPU and 8 Gig

p520's prtconf ..two internal drives 10K RPMs 140G, 2 dual core 1.5 GHz processors, 8 Gig of RAM, running AIX 7.1, with the newest gcc compiler The numbers don't make sense, Can someone comment ?? BYTE UNIX Benchmarks (Version 3.11) System -- AIX p520 1 7 00CD5D0C4C00 Start... (2 Replies)
Discussion started by: ppchu99
2 Replies

8. UNIX for Dummies Questions & Answers

CPU with long hours in top, is this bad?

Hi, We have a Solaris server that has about 43 Oracle databases on it and we also have the Oracle Enterprise Manager - emagent that is used to monitor these databases When running top, the emagent is showing as one of the top process. Excerpts from running top shows something as below: ... (3 Replies)
Discussion started by: newbie_01
3 Replies

9. Hardware

Dual CPU motherboards

For dual CPU motherboards, of which there are a few on the market mainly targeting the server-oriented clientele, I was wondering how this works in practice. Will the two CPUs be detected automatically not only by the BIOS, but also by the operating system? In other words, will the user see one... (7 Replies)
Discussion started by: figaro
7 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
glutIdleFunc(3GLUT)						       GLUT						       glutIdleFunc(3GLUT)

NAME
glutIdleFunc - sets the global idle callback. SYNTAX
#include <GLUT/glut.h> void glutIdleFunc(void (*func)(void)); ARGUMENTS
func The new idle callback function. DESCRIPTION
glutIdleFunc sets the global idle callback to be func so a GLUT program can perform background processing tasks or continuous animation when window system events are not being received. If enabled, the idle callback is continuously called when events are not being received. The callback routine has no parameters. The current window and current menu will not be changed before the idle callback. Programs with multiple windows and/or menus should explicitly set the current window and/or current menu and not rely on its current setting. The amount of computation and rendering done in an idle callback should be minimized to avoid affecting the program's interactive response. In general, not more than a single frame of rendering should be done in an idle callback. Passing NULL to glutIdleFunc disables the generation of the idle callback. EXAMPLE
A typical idle callback to animate a window might look like: void idle(void) { time += 0.05; glutSetWindow(window); glutPostRedisplay(); } Notice how the idle callback does not do any actual drawing; it only advances the time scene state global variable. That is left to the window's display callback which will be triggered by the call to glutPostRedisplay. If you use the idle callback for animation, you should be sure to stop rendering when the window is not visible. This is easy to set up with a visibility callback. For example: void visible(int vis) { if (vis == GLUT_VISIBLE) glutIdleFunc(idle); else glutIdleFunc(NULL); } If you do use the idle callback for animation, one thing you should not do is setup the idle callback before calling glutMainLoop. It is much better to use the visibility callback to install idle callback when the window first becomes visible on the screen. SEE ALSO
glutTimerFunc, glutVisibilityFunc AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutIdleFunc(3GLUT)
All times are GMT -4. The time now is 12:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy