Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vmstat versus sar (scan rate)

Status
Not open for further replies.

mdet

Technical User
Jun 11, 2001
53
DE
I would like to know the units in which "sar" and "vmstat" respectively display the scan rate (column "sr" in vmstat's output). In infodoc# 14136 on the SunSolve Online site it's pointed out that vmstat's "sr" column shouldn't be above 200 for a while.
While "sar" shows up the scan rate in "pages per second" on the other hand "vmstat" does it's measurement depending on the last two given integer parameters which give the interval (in seconds) and the number of measurements to be taken respectively.
So if you enter vmstat 1 10 (nine measurements with 1 second interval) you can directly compare the "sr" column with the "scan rate" values of sar. If you enter "vmstat 2 10" you would take one half of the shown value. Right?
Well, then I cannot follow the above let's say "200 rule". Just imagine entering "vmstat 1000 2".

Anybody out there who can make this clear to me?
 
"Adrian Cockcroft" Sun performance guru, says about "vmstat sr":
page -sr, scan rate.
High continuous activity indicates you are short of memory
(ie., over 200 pages/second averaged over 30 seconds).

Regards,

Carlos Almeida
 
Carlos,
obviously my question is not clear enough. In short form:
Does vmstat's output in column [tt]sr[/tt] show up the scan rate in units of pages per second (as [tt]sar -g[/tt] does) or is it the cumulative value depending on the parameters [tt]interval[/tt] and [tt]count[/tt]?

Michael.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top