LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 08-12-2008, 04:01 AM   #16
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 35

As documentation says, it's a machine-dependent value. You could check with the /usr/bin/pagesize command.
 
Old 08-12-2008, 05:16 AM   #17
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,502

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Instead of fiddling with sar output, you can use the vmstat command which shows these very same columns in user-fiendlier units (kilobytes).

Code:
$ sar -r 2 2

SunOS m3 5.11 snv_94 i86pc    08/12/2008

12:12:18 freemem freeswap
12:12:20  269250  3776976
12:12:22  269250  3776976

Average   269250  3776976
$ vmstat 2 2
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr cd s0 -- --   in   sy   cs us sy id
 0 0 0 1894128 1091184 11 76 0  0  0  0 23  3  0  0  0  548 2171  619 21  6 74
 0 0 0 1889152 1077580 6 19  0  0  0  0  0  0  0  0  0  561  688  434  7  3 90
$ pagesize
4096
$ expr 3776976 / 2
1888488
$ expr 269250 \* 4
1077000
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sar manoj.linux AIX 1 01-03-2008 07:52 AM
About sar satimis Linux - Software 2 06-14-2006 04:35 AM
sar command rsuks Linux - General 2 03-25-2006 03:53 AM
Sar sathish80 Linux - Newbie 1 01-16-2006 06:57 AM
monitoring I/O with sar command juanb Linux - Hardware 1 04-13-2005 11:43 AM


All times are GMT -5. The time now is 01:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration