12-24-2007
Quote:
What would be the cause of this?
By default on AIX, the collection of disk io stats are disabled. This is to improve the peformance.If you need to enable this function
Run the following command
Quote:
chdev -l sys0 -a iostat=true
You can check the attribute set using the following command
Quote:
lsattr -E -l sys0 -a iostat
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi !
I would like to collect every minute the data of the "topas" to file.
Under Redhat 9, it's possible to user comand "top" in batch mode ! How is it possible under unix with TOPAS ? Because there is not the parameter " -b"...
example ----> topas > filename.out
but, it doesn't... (1 Reply)
Discussion started by: cgatrader
1 Replies
2. AIX
how to capture output of topas command to text file by shell ???
I tried to do it by below method , but it is different to topas's output .
The output file include ansi code as moves cursor up # lines , moves cursor up # lines ...... :(
someone can help me ???
1. (sleep 6; echo q)|topas... (2 Replies)
Discussion started by: charles_su
2 Replies
3. AIX
good morning
what is the better solution to examen a P570 ?
because i use topas and nmon, and the results are totally different !!!
with nmon, i have 80% free cpu, and with nmon, i have 90% of used cpu !!!!!!
i take a shot with an intervall of 10s during 10 mn.
thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
4. UNIX for Dummies Questions & Answers
hi, everybody
i have a problem about performane in unix
when i run topas, there 1 form show, there are many parameter about memory,cpu,....
i want to know detail about those
example :
MEMORY
Real,MB 12287
% Comp 25.0
% Noncomp 75.8
% Client 0.5
comp mean ? 25 mean ? 25MB or 25%memory... (6 Replies)
Discussion started by: tokienlua
6 Replies
5. UNIX for Dummies Questions & Answers
I used the TOPAS command to get top 20 process information by routing the output to a file. But the output is not very readable. can ayone explain how to read the output, or how to interpret the information?
Thanks! (3 Replies)
Discussion started by: ginnyr1
3 Replies
6. AIX
Hi All,
I have a machine with AIX 5.3 ML6 SP3. From last few days if I run the Topas command . It keeps on initialising for a few seconds and then comes back on the Shell. Any Suggestions.
Aman Mehta (1 Reply)
Discussion started by: Aman Mehta
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am able to see the output of TOP command in my unix server whereas
i could not see for TOPAS
$ topas
nologin: topas: not found
May i know what is topas in unix and how to resolve this?
Thanks (3 Replies)
Discussion started by: Maddy123
3 Replies
8. AIX
Hi all,
I got an idea to get a value (like Syscall or %comp details for example)dynamically from topas. Is there any way to do this. I guss there must be some door opened for this. I tried running topas and redirecting to a file but in vain.
The idea is, script should run topas in... (4 Replies)
Discussion started by: jayadeava
4 Replies
9. Shell Programming and Scripting
How do i display only one iteration of topas command. Ideally i would topas -P to show only one instance rather than keep on running. is there any swicth? (1 Reply)
Discussion started by: NarayanaPrakash
1 Replies
10. AIX
Hi,
how to grep data from topas command...for example i have to grep owner from topas command
Thanks (2 Replies)
Discussion started by: sumanthupar
2 Replies
iostat(1) General Commands Manual iostat(1)
NAME
iostat - Reports I/O statistics
SYNOPSIS
iostat [drive...] [interval] [count]
OPERANDS
Forces iostat to display specific drives. If drive is not specified (or the specified drive does not exist on the system or cluster,
iostat displays the first two drives (even if more than two disk drives are configured in the system). Causes iostat to report once each
interval seconds. The first report is for all time since the system was last booted, and each subsequent report is for the last interval
only.The value must not be 0. Specifies the number of reports. For example, iostat 1 10 would produce 10 reports at 1-second intervals.
You cannot specify count without interval because the first numeric argument to iostat is assumed to be interval.
DESCRIPTION
The iostat command reports the following information: For terminals (collectively), the number of characters read and written per second.
For each disk, the number of transfers per second and bytes transferred per second (in kilobytes). For the system, the percentage of time
the system has spent in user mode, in user mode running low priority (nice) processes, in system mode, and idling.
To compute this information, iostat counts data transfer completions, the number of words transferred for each disk, and the collective
number of input and output characters for terminals. Also, each sixtieth of a second, iostat examines the state of each disk and makes a
tally if the disk is active.
When you issue an iostat command on a cluster member, it displays statistics only for those disks that are local to the member and that
member's usage of those shared disks that it has mounted. It displays 0 for other disks in the cluster (those it doesn't have mounted),
regardless of whether they are on the shared bus or are local to some other member.
EXAMPLES
The output from this example displays cpu, terminal, and disk statistics for the first two disks on the system providing 5 reports at 1
second intervals:
# iostat 1 5
tty floppy1 dsk9 cpu
tin tout bps tps bps tps us ni sy id
0 3 0 0 0 0 1 0 4 95
4 58 0 0 0 0 1 0 2 97
1 53 0 0 0 0 0 0 2 98
5 59 0 0 0 0 1 0 1 98
6 60 0 0 0 0 1 0 2 97
The second example specifies device names in the command:
# iostat dsk2 dsk3 cdrom2
tty dsk2 cdrom2 dsk3 cpu
tin tout bps tps bps tps bps tps us ni sy id
0 13 11 5 5 2 2427 1213 0 1 1 98
SEE ALSO
Commands:vmstat(1)
iostat(1)