Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Who can explain me about "swapon -s" two points?

jackunix
Occasional Visitor

Who can explain me about "swapon -s" two points?

I issue "swapon -s" command,and then output like this:

Swap partition /dev/rz10b (default swap):
Allocated space: 103680 pages (810MB)
In-use space: 8079 pages ( 7%)
Free space: 95601 pages ( 92%)
Total swap allocation:
Allocated space: 103680 pages (810MB)
Reserved space: 73533 pages ( 70%)
In-use space: 8079 pages ( 7%)
Available space: 30147 pages ( 29%)

1ã Why the sum of all the percentage is over 100 percent?
2ã Which percentage can be describe system memory is low,and the value is
3 REPLIES
Ravi_8
Honored Contributor

Re: Who can explain me about "swapon -s" two points?

Hi
1. sum exceeded 100% only at that instant(when you issued the command),if you had issued the same command next instant, it may or may not be the same(usually it never exceed)

2.Available space
never give up
Michael Schulte zur Sur
Honored Contributor

Re: Who can explain me about "swapon -s" two points?

Hi,

I does not exeed 100%. From the 70% that are reserved, 7% are actually in use, so you would calculate 70%+29%~100%

greetings,

Michael
Ralf Puchner
Honored Contributor

Re: Who can explain me about "swapon -s" two points?

In-use space: 8079 pages ( 7%)
Free space: 95601 pages ( 92%)
=====
99%

Total swap allocation:
Reserved space: 73533 pages ( 70%)
Available space: 30147 pages ( 29%)
======
99%
In-use space: 8079 pages ( 7%)
was explained by michael

Have also a look inside the admin guide explaining some more basics....
Help() { FirstReadManual(urgently); Go_to_it;; }