06-26-2003
You may want to use sar, vmstat, top, or some other utility to determine what the bottleneck is on your system. My guess would be you are waiting on I/O to disk. You could increase your CPU usage slightly by using faster disks, although I doubt it is going to change your situation much. I don't do a lot of compiling but I am guessing it is a fairly I/O bound process and is probably bound to 1 CPU which means you will most likely never use both CPUs anywhere near 100% while compiling. If you don't have anything else running on the system, the CPU's are so much faster then anything else that unless you are doing some heavy crunching, the CPU will always be waiting for disk, memory, etc.
10 More Discussions You Might Find Interesting
1. Programming
how can i monitor usages of CPU, Memory, Hard disk etc. under SUN Solaries
through a c program or java program
i want to store that data into database so i can show it graphically
thanks in advance (2 Replies)
Discussion started by: Gajanad Bihani
2 Replies
2. UNIX for Dummies Questions & Answers
when i got the cpu usage values of the all process
running in my sytem i see that 140% of the cpu is used.
(using ps aux command)
i have a 4 cpu system.
can we say that averagely 35% of each cpu is used?
and if i want to speak more precisely,
how can i find out that, which cpu is used at... (4 Replies)
Discussion started by: gfhgfnhhn
4 Replies
3. Programming
Please tell me solaris functions/api for getting following information
1- Function that tells how much memory used by current process
2- Function that tells how much memory used by all running processes
3- Function that tells how much CPU is used by current process
4- Function that tells how... (1 Reply)
Discussion started by: mansoorulhaq
1 Replies
4. Programming
Hi all,
When I have a below while loop in my code (This observation is same for C and Perl)
i= 0;
while(1)
{
i++;
}
for above the CPU uses goes beyond 49% on hp-ux machine, why cpu usage increase at this level for just a simple while loop?
and if I have a single print statement... (2 Replies)
Discussion started by: zing_foru
2 Replies
5. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
6. Solaris
Hi,
I want to monitor the current cpu usage, monitor usage , disk I/o and network utlization for solaris using SNMP.
I want the oids for above tasks.
can you please tell me that
Thank you (2 Replies)
Discussion started by: S_venkatesh
2 Replies
7. Solaris
Hello Friends,
On one of my Solaris 10 box, CPU usage shows 100% using "sar", "vmstat". However, it has 4 CPUs and prstat and glance are not showing enough processes to justify high CPU utilization.
=========================================================================
$ prstat -a
... (4 Replies)
Discussion started by: mahive
4 Replies
8. Shell Programming and Scripting
Hi Buddies,
my pc has two CPU, so CPU1 and CPU2.
I have a perl "a.pl", when i "./a.pl", i can see the CPU1 is full or CPU2 is full, mean only one is full, another one is idle.
Wonderring what shall i do in order to let both CPU to process this a.pl.:(
Thanks (1 Reply)
Discussion started by: jimmy_y
1 Replies
9. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
10. Programming
Hi all,
I'm using python and psutil a library to get system informations like cpu usage (percent) for a given process.
My question is if I have the value in % of the cpu usage how I could get the cpu usage in cycle number I mean not in percent?
Thanks a lot
D. (5 Replies)
Discussion started by: Dedalus
5 Replies