Sponsored Content
Full Discussion: Sar showing message
Top Forums UNIX for Dummies Questions & Answers Sar showing message Post 302963852 by bakunin on Thursday 7th of January 2016 07:01:54 AM
Old 01-07-2016
Quote:
Originally Posted by scriptor
hi
OS is AIX
Code:
oslevel 
5.3.0.0

i am not getting your point
Code:
"tuning parameters"

In AIX (and several other OSes too) "extended" disk reporting is per default disabled because it comes with some performance penalty. It is enabled by setting some tuning parameter. I have no AIX 5.3-system at hand (it is out of support several years now), but to quote from the AIX 7.1-manpage:

Code:
       -b flag. The Block IO statistics need to be enabled using the raso
       tunable biostat. Once the raso tunable is enabled to collect Block IO
       statistics, the operating system takes couple of second to populate the
       statistics before it can be reported. Hence, you need to wait for few
       seconds before you issue the iostat -b command, after enabling the
       Block IO statistic collection.

I remember vaguely the situation being a bit different in 5.3, but there was a similar provision.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

sar

We have a script that uses sar -u 1 10 | awk '/Average/ { print ( $2 + $3 ) }' to get the CPU usage of a mutli engine machine. We think we are getting wrong information from the above string. We think it is adding up the total of the 12 engines and reporting back the total not the overall... (5 Replies)
Discussion started by: kevinb
5 Replies

2. UNIX for Dummies Questions & Answers

Sar question

Hi all, With Sar, it gives you the CPU usage for the last x minutes etc, does anyone know if this is an average value when the machine in question has multiple CPU's, or simply just a reading of CPU #1? Ta. (3 Replies)
Discussion started by: danhodges99
3 Replies

3. HP-UX

Sar

Hey guys in sar -v 5 5 command what is the proc means. (1 Reply)
Discussion started by: sbn
1 Replies

4. Programming

How to limit max no of message in a posix message queue

Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies

5. AIX

sar

I am trying to set up sar on my AIX server. We have been running sar and getting reports on out Linux boxes in the past but would like to try to do the same in AIX. On my Linux i have a sar.sh that looks like this: #!/bin/bash LC_ALL=C sar -A -f /var/log/sa/sa27 > /server023.txt LC_ALL=C sar -A... (1 Reply)
Discussion started by: seacros
1 Replies

6. Solaris

Sar Issue

Dear All, I had added these lines in crontab. 0 * * * 0-6 /usr/lib/sa/sa1 00,15,30,45 * * * 0-6 /usr/lib/sa/sa1 5 18 * * 0-6 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A After adding these lines I have to get sar file. But here I am not getting any files in /var/adm/sa directory in one... (2 Replies)
Discussion started by: lbreddy
2 Replies

7. AIX

SAR

I am running below script to display last 48 hour data but the output is not displaying heading - AIX eqrdb26u1 1 6 00CFD5E34C00 01/21/10 System configuration: lcpu=8 ent=2.00 mode=Uncapped 22:31:40 %usr %sys %wio %idle physc %entc and footer - Average 25 9 ... (1 Reply)
Discussion started by: noorm
1 Replies

8. UNIX for Dummies Questions & Answers

NFS mounted drive showing Write protected message

Hi We have two servers name A and B . I have a folder "Share" on A was NFS mounted to "B" server. I have set the ACL permissions using setfacl , so that both (One user from Server A and another user from Server B) users can read and write to the directory. Both users can create the... (0 Replies)
Discussion started by: rakeshkumar
0 Replies

9. UNIX and Linux Applications

Ssmtp -t < /path/to/the/message.txt (How to format message.txt for html email)

ssmtp has been running well under Kubuntu 12.04.1 for plain text messages. I would like to send html messages with ssmtp -t < /path/to/the/message.txt, but I cannot seem to get the message.txt file properly formatted. I have tried various charsets, Content-Transfer-Encoding, rearranging the... (0 Replies)
Discussion started by: Ronald B
0 Replies

10. UNIX for Advanced & Expert Users

Sar during a test

Hi All, I am trying to run sar on a Redhat server during a test I am performing for a couple of hours. I would like to get the sar metrics for every second (instead of the regularly set up 10 minute interval in the cron). What is the most efficient way to do this? Thanks, Shahzad (6 Replies)
Discussion started by: sleo
6 Replies
settune(2)							System Calls Manual							settune(2)

NAME
settune() - set the value of a kernel tunable parameter SYNOPSIS
DESCRIPTION
This function sets the value of the kernel tunable parameter named tunable to the supplied value. This new value takes effect immediately, except in the cases noted below. Some parameters cannot be changed without rebooting the kernel. These parameters cannot be changed using Some parameters represent limits on resources that can be consumed by individual processes. In general, changes to these parameters do not affect processes that are running at the time the change is made; they affect only new programs started (with or an equivalent) after that time. Some specific parameters may be exceptions to this general rule; see the man pages for those parameters for details. Valid values for the flags parameter and their connotations are: The value of the tunable parameter is set by the kernel. The value parameter to is ignored. Sets the tunable parameter to the value and turns off any automatic tuning done by the kernel. The call can give information about whether or not changes to a parameter are allowed or will require a reboot. Some individual parameters may have specific notes regarding their behavior when changed; consult the parameter man pages for details on each specific parameter. Security Restrictions The actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges. RETURN VALUE
This function returns one of the following values: The value of the specified parameter has been changed. The function did not complete successfully. The value of the specified parameter has not been changed. ERRORS
If this function returns to indicate an error, the global variable will be set to one of the following values to indicate the error that occurred: The specified tunable parameter does not exist. tunable specifies an address that is inaccessible. The caller does not have the privilege. The specified value is not within the acceptable range for the specified parameter. The value of the parameter could not be changed immediately. The specified parameter cannot be changed without rebooting the kernel. The Kernel Registry Service was unavailable or encountered an error. Insufficient memory to accommodate the new parameter value. WARNINGS
It is possible to seriously degrade system performance, or even render a system unbootable, with incorrect tunable settings. Use care when setting tunable values. Always have a known working kernel configuration saved as a backup; if the system fails to boot after a tunable change, boot from that backup kernel configuration. Keep good records of all tunable changes so that they can be reversed if they degrade system performance. Tunable changes made with are automatically logged to If the tunable being changed through is used in expressions that set the values of other tunables, those expressions will not be re-evalu- ated and those tunable values will not be updated. Note that this behavior may change in future releases of HP-UX. If expression evalua- tion is desired, use to set tunable values. Changes to parameter values made with may not remain effective across reboots. Note that this behavior may change in future releases of HP-UX. If persistence across reboots is desired, use to set tunable values. AUTHOR
was developed by Hewlett-Packard Company. SEE ALSO
kctune(1M), mk_kernel(1M), gettune(2), tuneinfo2(2), privileges(5), and the individual tunable parameter man pages in section 5. settune(2)
All times are GMT -4. The time now is 02:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy