Simple question about vmstat


 
Thread Tools Search this Thread
Operating Systems Solaris Simple question about vmstat
# 8  
Old 07-27-2011
its always advisable to take the
Code:
vmstat 5 5

or even with longer interval..as it gives a stable o/p for the last 4 intervals..The 1st interrogation denotes the average value for the m/c since it was rebooted..However the subsequent values show the current status...Hence alwyas try to notice o/p from a longer interval and for a relatively larger number of interrogations

Last edited by DukeNuke2; 07-27-2011 at 12:57 PM..
# 9  
Old 07-27-2011
@rahul_switch: my suggestion was wrong, please run:

Code:
prstat -a 1 1 | tail -1

and post its output.
# 10  
Old 07-28-2011
Hi,

Please find both output.

Code:
/var/home/oracle: > vmstat 5 5
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr m1 m1 m1 m3 in sy cs us sy id
1 513 0 5240680 5790352 2486 2198 17895 5 4 0 0 1 0 5 1 666 1168 856 53 12 35
0 858993228 0 1695848 1657176 2620 2345 20271 2 0 0 0 15 2 20 15 2333 21471 8521 19 10 71
0 858993228 0 1659504 1613320 1849 4123 20977 6 2 0 0 0 0 3 0 1918 22161 7849 22 9 69
0 858993227 0 1622512 1597896 1758 573 21758 3 3 0 0 0 0 2 0 2109 20968 8415 17 6 77
0 858993227 0 1622352 1577920 2091 278 24043 0 0 0 0 0 0 0 0 2314 21192 8796 19 7 74
/var/home/oracle: > prstat -a 1 1 | tail -1
Total: 191 processes, 1403 lwps, load averages: 2.71, 2.53, 2.34
/var/home/oracle: >

(kindly note given output is from live production server)

Thanks and regards,
Rahul

Last edited by DukeNuke2; 07-28-2011 at 10:10 AM..
# 11  
Old 07-28-2011
looks like your hardware is a little bit out of league... what hardware do you use?
# 12  
Old 07-28-2011
There are 1403 lwps (i.e. threads) on your system so there can't be 858993228 of them in the wait queue.
# 13  
Old 07-29-2011
Hi,
It is Sun Sparc 5.8 Generic 108528-29. I don't know more about same.

Thanks and regards,
Rahul
# 14  
Old 07-29-2011
You OS hasn't been patched for 6 years. No surprise if a bug shows up. Nothing to worry about vmstat output, probably a 32 bit counter that overflowed.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Question on r-queue from vmstat out

On our prod system we found sometime runqueue goes back to 0 as below. Whereas on test server even with very very less work the r-queue never dropped to 0. Under what conditions r-queue drops to 0? Does it mean something unusual? EG: kthr memory page faults ... (1 Reply)
Discussion started by: aixusrsys
1 Replies

2. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies

3. UNIX for Dummies Questions & Answers

Red Hat Linux question on top and vmstat outputs

RHEL 5.4 Our Linux machine seemed to be running slow. So, I ran the top and vmstat commands. Question1. I can see the process 11517 consuming 100% CPU . But that just means that this process totally utilizes one of the cores in a mult-core CPU. Right ? This machine apparently has two... (2 Replies)
Discussion started by: kraljic
2 Replies

4. Shell Programming and Scripting

Very simple question 2

Hey , another question is below: Administrator@fe038390aa60482 ~/Frank/20130509 $ c=`ls -ls` Administrator@fe038390aa60482 ~/Frank/20130509 $ echo $c Total 4 1 -rwxr--r-- 1 Administrator None 482 May 9 11:07 do_increment 1 -rwxr --r-- 1 Administrator None 272 May 9 11:32 do_square 1... (2 Replies)
Discussion started by: franksunnn
2 Replies

5. Shell Programming and Scripting

Very simple question

Hi, guys, I'm a new comer here. I'm studying Unix Shell and I met a problem confusing me a lot. Here it is : script 1: #!/bin/sh # scriptname : do_increment increment(){ sum=`expr $1 + 1` return $sum # Return the value of sum to the script. } echo -n "The sum is " increment $1 # Call... (2 Replies)
Discussion started by: franksunnn
2 Replies

6. HP-UX

vmstat question

if I have a two CPU when I run vmstat command to check cpu usage it only one row procs memory page faults cpu r b w avm free re at pi po fr de sr in sy cs us sy id 1 ... (1 Reply)
Discussion started by: alert0919
1 Replies

7. Shell Programming and Scripting

Simple ls question

i am doing ls -la in the out put , first line is as total 41621 What is this total? (2 Replies)
Discussion started by: Saurabh78
2 Replies

8. Programming

Simple C question... Hopefully it's simple

Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies

9. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

10. UNIX for Dummies Questions & Answers

vmstat question

Hello all, I have the folowing question: I have an E450 with Solaris 2.6 running in a cluster environment. The primary node runs Oracle 8.1.5. My problem is: every time the Oracle Database is shutdown, the "w"colum in vmstat command jumps to "30". In man page for vmstat command, the "w" colum... (1 Reply)
Discussion started by: htsubamoto
1 Replies
Login or Register to Ask a Question