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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
$ prtconf | head -2
System Configuration: Sun Microsystems sun4u
Memory size: 49152 Megabytes
It has plenty of that memory currently unused:
$ vmstat 1 2
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s3 s3 in sy cs us sy id
0 0 0 46338392 43237520 10 44 7 4 4 0 0 1 1 2 1 327 1638 518 1 0 99
0 0 0 49814392 47284968 0 8 0 0 0 0 0 0 0 0 0 302 328 458 0 0 100
which I can convert to 46176 MB or 45.09 GB.
My laptop is less lucky:
$ prtconf -v | head -2
System Configuration: Sun Microsystems i86pc
Memory size: 511 Megabytes
$ vmstat 1 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 865600 254276 15 97 9 0 0 0 11 2 0 0 0 269 1088 381 9 2 89
0 0 0 837036 221256 0 7 0 0 0 0 0 0 0 0 0 311 2334 534 6 0 94
Incidentally, it is a Good Thing for physical memory to be as full as possible. If there's anything out there that it could contain, then it is advantageous for something to be there.
Linux will naturally use "free" memory for buffers of various sorts .. so-called shared memory. As the system begins to experience memory pressure, that allocation may start to go down, because buffers are a lower-priority use of memory.
The key performance-figure is to observe, not so much "what is the system is doing," but "who is experiencing pain because of it?" How many processes are experiencing substantial involuntary waits due to paging? How many of them are unable to achieve keeping their working-sets (the amount of memory they would like to have right now) in-memory? You need to somewhat-disregard the behavior that an application may experience while it is starting-up, but when it is stable and has been running for a minute or so, you can tell if it's "crying" or not.