03-21-2009
Quote:
-vmstat 5 5
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s6 sd sd sd in sy cs us sy id
0 0 0 20258552 6355368 326 278 1998 10 11 0 9 0 23 0 0 984 1552 655 6 2
The "9" figure in the sr column shows that your system has got low of memory at some point (the first line being a summary of the system since it booted up, but I have seen systems with much larger figures than that.
The "1998" for paging in also indicates your system has run out of memory at some time and had to page in from swap space.
This could be caused by for instance a backup running overnight in which case it is not a problem.
Quote:
-iostat 5 5
tty sd6 ssd3 ssd5 ssd7 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
0 1 0 0 0 547 23 14 7 0 6 7 0 5 6 2 7 84
0 47 0 0 0 628 15 16 0 0 0 0 0 0 1 1 3 94
0 16 0 0 0 2263 84 5 0 0 0 0 0 0 17 4 4 75
0 16 0 0 0 1941 89 15 0 0 0 0 0 0 7 3 4 86
0 16 0 0 0 2446 142 2 0 0 0 0 0 0 17 4 10 69
The figures here look like the output from mpstat (?), if that is the case then wt column shows your system is experiencing some Input / Output waits which I would expect to be zero for most of the time so you may need to stripe a busy disk volume or install more memory but again if this of not affecting performance when it matters.
An iostat would show which disk volume is busy.
None of the figures are outrageous.
Enabling the sys user crontab entries for sar can be very useful for gathering historical performance data, so that if a user reports that they experienced bad performance yesterday afternoon you can go back and take a look at the figures.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi there,
I´m trying to get the information of vmstat & top in two different logfiles.
That not that difficult.
vmstat 30 >> myfile.log
top >> myfile2.log
But I also like to include a timestamp every 30 sec to be sure from what date the logs are.
For the Top command I were able to... (2 Replies)
Discussion started by: isacs
2 Replies
2. Programming
While working with russian text under FreeBSD&MySQL I need to convert a string from MySQL to the Unicode format.
I've just started my way in C++ under FreeBSD , so please explain me how can I get ascii code of Char variable and also how can i get a character into variable with the specified ascii... (3 Replies)
Discussion started by: macron
3 Replies
3. UNIX for Dummies Questions & Answers
Hello all
This is a sample vmstat output ...
$ vmstat 2 2
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr hx hx hx hx in sy cs us sy id
1 0 0 23105784 7810488 323 767 1742 5 5 0 0 0 0 0 0 683 780 457 43 ... (9 Replies)
Discussion started by: luft
9 Replies
4. Solaris
Hi,
I am trying to take the Statistics of the machine during load.Can someone explian the parameters of
iostat:
tty sd1 sd2 sd3 sd4 cpu
tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id
vmstat:
kthr ... (1 Reply)
Discussion started by: grrajeish
1 Replies
5. Shell Programming and Scripting
Hello,
I need to print messages both to screen and to file handle in perl , like tee does in unix .
Any suggestions ?
Thanks (2 Replies)
Discussion started by: Alalush
2 Replies
6. AIX
Dear friends, is there any kind of scripts that will damage aix than we can troubleshoot what was the reason :-) just for having fun :-) (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies
7. Red Hat
Hi, All
I'm trying to figure out why on very similar hosts with the same settings disks perfomance is different.
Linux 2.6.16.60-0.69.1-smp #1 SMP Fri Sep 17 17:07:54 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
disks are in similar array, everything looks good from the system site, but... (1 Reply)
Discussion started by: ranger5
1 Replies
8. UNIX for Advanced & Expert Users
Hi ,
I am new to scripting. please help me out how to write a script to monitor cpu , vmstat, iostat in Redhat linux. we are doing the load test.
Thanks in advance !!!! (1 Reply)
Discussion started by: saanvi
1 Replies
9. Solaris
Hello, I'm trying to get to the bottom of SAN disk errors we've been seeing.
Server is Sun Fire X4270 M2 running Solaris 10 8/11 u10 X86 since April 2012. SAN HBAs are SG-PCIE2FC-QF8-Z-Sun-branded Qlogic. SAN storage system is Hitachi VSP. We have 32 LUNs in use and another 8 LUNs not brought... (4 Replies)
Discussion started by: TKD
4 Replies
10. Solaris
Hi,
I am transferring files to a Solaris 10 installation on Sun Fire 480.
I find that when transferring large files > 1G via FTP, the performance is < 2GB. I am using FileZilla and the network is 100Mbit.
I am currently transferring 2 files concurrently & there are only having a bandwidth of... (17 Replies)
Discussion started by: wong.Raymond
17 Replies
IOSTAT(1) General Commands Manual IOSTAT(1)
NAME
iostat - report I/O statistics
SYNOPSIS
iostat [ drives ] [ interval [ count ] ]
DESCRIPTION
Iostat iteratively reports the number of characters read and written to terminals per second, and, for each disk, the number of transfers
per second, kilobytes transferred per second, and the milliseconds per average seek. It also gives the percentage of time the system has
spent in user mode, in user mode running low priority (niced) processes, in system mode, and idling.
To compute this information, for each disk, seeks and data transfer completions and number of words transferred are counted; for terminals
collectively, the number of input and output characters are counted. Also, each sixtieth of a second, the state of each disk is examined
and a tally is made if the disk is active. From these numbers and given the transfer rates of the devices it is possible to determine
average seek times for each device.
The optional interval argument causes iostat to report once each interval seconds. The first report is for all time since a reboot and
each subsequent report is for the last interval only.
The optional count argument restricts the number of reports.
If more than 4 disk drives are configured in the system, iostat displays only the first 4 drives, with priority given to Massbus disk
drives (i.e. if both Unibus and Massbus drives are present and the total number of drives exceeds 4, then some number of Unibus drives will
not be displayed in favor of the Massbus drives). To force iostat to display specific drives, their names may be supplied on the command
line.
FILES
/dev/kmem
/vmunix
SEE ALSO
vmstat(1)
4th Berkeley Distribution April 29, 1985 IOSTAT(1)