03-25-2011
Looks like bug 4716896 which doesn't seem to be fixed.
This User Gave Thanks to jlliagre For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
We like to know if there is a way to report the sar -q per processor on AIX 4.3 .
Please help
RGDS,Elie. (1 Reply)
Discussion started by: eyounes
1 Replies
2. UNIX for Advanced & Expert Users
I am trying to collect the sar output for around 90minutes.
When i do
sar 1 5000 >> /tmp/sar.out
It's not updating the sar.out file. When we decrease the 5000 to smaller number like 10, i can see the file sar.out updated after the 10seconds.If i kill my sar while it is running it's not... (1 Reply)
Discussion started by: skneeli
1 Replies
3. HP-UX
Dear All,
Our HPUX 8 GB 8CPU database server is behaving abnormally for the last 4+ weeks. I have generated a sar output and it is here-
11:46:52 %usr %sys %wio %idle
11:46:53 1 1 6 92
11:46:54 0 1 0 99
11:46:55 0 1 0... (3 Replies)
Discussion started by: Ashrunil
3 Replies
4. Shell Programming and Scripting
Hi All,
i tried sar command the output appears to be for several days
I would like to just see today's SAR output: Please advice me.
$sar
Linux 2.6.9-67.ELsmp (lrtp50) 02/28/09
00:00:01 CPU %user %nice %system %iowait %idle
00:05:02 all 3.10... (4 Replies)
Discussion started by: raghur77
4 Replies
5. Shell Programming and Scripting
Hi,
We have 2 scripts below for reporting sar output which are pretty same.
In first script i want to add to the program whatever is given in the comments.
In second script I want to use while true to run this program every hour and everything that is in comment.
Finally I want to club... (0 Replies)
Discussion started by: noorm
0 Replies
6. Solaris
Hi,
Anyone knows how to extract sar command output to excel or Is there any free grapical tools to extract this sar log file. thanks, regards (2 Replies)
Discussion started by: vijill
2 Replies
7. Solaris
One of my servers giving all zero sar output. Could anyone explain this behaviour.
Thanks
CHaandana
Sample:
10:43:37 %usr %sys %wio %idle
16:15:01 2 1 0 97
16:20:02 2 1 0 97
16:25:02 2 1 0 97
16:30:01 ... (3 Replies)
Discussion started by: chaandana
3 Replies
8. Shell Programming and Scripting
Hi
I have an output of sarcommand which is as follows:
10:22:18 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
10:23:18 0 398 100 5 13 64 0 0
10:24:18 0 332 100 5 15 65 0 0
10:25:18 0 ... (7 Replies)
Discussion started by: fretagi
7 Replies
9. Solaris
We're experiencing some intermittent freezes on one of our systems and I'm trying to figure out what is happening.
We're running Solaris 10 zones mounting shares from netapp through nfs.
On the zone that freezes we have sar running and are getting this output:
SunOS prodserver 5.10... (3 Replies)
Discussion started by: Jyda
3 Replies
10. Red Hat
I am facing situation where sar -u command is showing 0 for all cps, so does it mean all the cpus are fully utilized, os is oracle Linux 6.8
01:34:13 PM all 0 0 0 0 0.00 0 (2 Replies)
Discussion started by: manoj.solaris
2 Replies
LEARN ABOUT OPENDARWIN
fixsub
fixsub(3alleg4) Allegro manual fixsub(3alleg4)
NAME
fixsub - Safe function to subtract fixed point numbers clamping underflow. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
fixed fixsub(fixed x, fixed y);
DESCRIPTION
Although fixed point numbers can be subtracted with the normal '-' integer operator, that doesn't provide any protection against overflow.
If overflow is a problem, you should use this function instead. It is slower than using integer operators, but if an overflow occurs it
will set `errno' and clamp the result, rather than just letting it wrap. Example:
fixed result;
/* This will put 4965 into `result'. */
result = fixsub(itofix(5000), itofix(35));
/* Sets `errno' and puts -32768 into `result'. */
result = fixsub(itofix(-31000), itofix(3000));
ASSERT(!errno); /* This will fail. */
RETURN VALUE
Returns the clamped result of subtracting `y' from `x', setting `errno' to ERANGE if there was an overflow.
SEE ALSO
fixadd(3alleg4), fixmul(3alleg4), fixdiv(3alleg4)
Allegro version 4.4.2 fixsub(3alleg4)