Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Actually, you need to enable the sar service and allow it to collect before data before displaying them with the sar command.
You can run sar interactively against the running system. If you do that it acts like vmstat and iostat combined. Or you can use sar interactively to interpret sar data files that were collected by a sar daemon.
Distribution: Solaris 10, Solaris Express Community Edition
Check the docs (man page) or the Advanced administration guide:
sar -r reports the number of memory pages and swap-file disk blocks that are currently unused.
freemem The average number of memory pages that are available to user processes over the intervals sampled by the command. Page size is machine-dependent.
freeswap The number of 512-byte disk blocks that are available for page swapping.