05-24-2012
CPU "wait"s mean: a process, ready to be run (again) cannot be run AND there is no other process which could be run instead. In this regard "wait" is a special kind of "idle" - one, where there are indeed processes to be run whereas "idle" takes place when there are no processes to be run at all.
It is true that - like mentioned in the paper "Demystifying I/O Wait". CPU-intensive processes running at the same time could mask I/O-waits because the processor time is given to these CPU-intensive processes while the I/O-bound process waits. This doesn't seem to be the case here, though.
To see a considerable number of waits always means: the I/O-part of the systems operation is the bottleneck. All the other parts of the system are faster than I/O. This is not necessarily bad: some part always is the weakest link in the chain and if it isn't I/O it would be something else. The question is: is the systems speed enough for you purposes? If this is the case you have nothing to do - once it isn't fast enough any more you will know where to start.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. AIX
Hello everyone
I have this process running on my server.
topas command
User 98.6 |############################
I have this process
Name PID CPU% PgSp Owner
db2fm 565264 25.6 1.5 ldapdb2
db2fm 348328 23.6 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
2. AIX
is there command which will display no of core per cpu in aix?
Regads,
Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies
3. AIX
Hi.
I am looking for a command that will return me the amount of CPU used by a specific process in AIX environment.
I know there is TOPAS - but it is interactive and I need to get this information from system that connects remotely via SSH.
Using writing to files and than reading them is also... (1 Reply)
Discussion started by: yamsin789
1 Replies
4. Shell Programming and Scripting
Hi all,
I have a script that checks for the existence of files in a directory. Problem is,
if a file suddenly appears, I need to move it to another directory and then
call another program that does not import routines (within our DBMS).
Now, this script is ever running and uses the sleep... (3 Replies)
Discussion started by: gseyforth
3 Replies
5. Shell Programming and Scripting
Hi,
I need write a script that check how much CPU% a particular process is using so I execute something like :
while :
do
ps aux | awk '{ if($3 < 10) {printf( "this process %s CPU: %f and process %d\n",$1,$3,$2)}}'
sleep 300
done
but issue here is that I compare... (0 Replies)
Discussion started by: arizah
0 Replies
6. AIX
Hi
Could somebody explain me how AIX is using CPU??
For example when we have 2 processors system is giving all task to one of them till 100% is used ?? Or it's depend on configuration or anything else ??
Best regards
enda (3 Replies)
Discussion started by: enda
3 Replies
7. Shell Programming and Scripting
I want to write a shell script which will print AIX
CPU utilization
memory utilization
every 5 mins redirect to file. How do i do it? Please advise.
Which commands I should use? (3 Replies)
Discussion started by: vegasluxor
3 Replies
8. Shell Programming and Scripting
Hi,
I want to write one script that sent mail when CPU utilisation is more then 70%. i used topas but problem is it will show output only when we press ctrl +c.
Please let me know if there is some other command that will give cpu utilisation which i can use in shell script.
Thanks (3 Replies)
Discussion started by: ranvijaidba
3 Replies
9. SuSE
Hi Guys
I am running an Oracle database and most of my sessions are waiting for tcp.
Now, how do I check if tcp from the O/S level is servicing requests properly?
Please Help!!!
Thanks in advance... (4 Replies)
Discussion started by: Phuti
4 Replies
10. AIX
hi,
We have two LPARs, both have same capacity and believe same configuration. ulimit settings for oracle user is unlimited for both LPARs. Installed oracle databases with same configurations on both LPARs, both databases sync every second so volume is same. Both LPARs/databases have identical... (10 Replies)
Discussion started by: baladelaware73
10 Replies
clock(3C) clock(3C)
NAME
clock() - report CPU time used
SYNOPSIS
DESCRIPTION
returns the amount of CPU time (in microseconds) used since the first call to The time reported is the sum of the user and system times of
the calling process and its terminated child processes for which it has executed , or (see wait(2) , system(3S), and popen(3S)). To deter-
mine the time in seconds, the value returned by should be divided by the value of the macro
The resolution of the clock varies, depending on the hardware and on software configuration.
If the processor time used is not available or its value cannot be represented, the function returns the value
WARNINGS
The value returned by is defined in microseconds for compatibility with systems that have CPU clocks with much higher resolution. Because
of this, the value returned wraps around after accumulating only 4295 seconds of CPU time (about 72 minutes).
DEPENDENCIES
The default clock resolution is 10 milliseconds.
SEE ALSO
times(2), wait(2), system(3S), thread_safety(5).
STANDARDS CONFORMANCE
clock(3C)