1755396 Members
3234 Online
108832 Solutions
New Discussion юеВ

swapinfo shown 0% usage

 
Kenn Chen_1
Advisor

swapinfo shown 0% usage

Dear all,

My system always shown 0% usage of swap space eventhough my system was highly busy and experience hanged. Below is the output..

# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 16384000 0 16384000 0% 0 - 1 /dev/vg00/lvswap
reserve - 19116284 -19116284
6 REPLIES 6
Dennis Handly
Acclaimed Contributor

Re: swapinfo shown 0% usage

Please always use "swapinfo -mt" and repost the results.
Kenn Chen_1
Advisor

Re: swapinfo shown 0% usage

# swapinfo -mt
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
dev 16000 0 16000 0% 0 - 1 /dev/vg00/lvswap
reserve - 18575 -18575
total 20096 18575 1521 92% - 0 -

Dennis Handly
Acclaimed Contributor

Re: swapinfo shown 0% usage

Hmm, perhaps you need -mta to get memory. Or you need to set the kernel parm swapmem_on to 1.

It seems you don't have any swap usage because it is all in memory. That 92% shows that.

Re: swapinfo shown 0% usage

do swapon -a and post the result.

Good Luck !

- Vivek
Reshma Malusare
Trusted Contributor

Re: swapinfo shown 0% usage

hi Kenn,
First use
Swapon -a
Read following document for more details:
http://docs.hp.com/en/B2355-60130/swapon.2.html

Then do swapinfo once again.
i hope this will solve your purpose.
Thanks & Regards
Reshma
Jaime Bolanos Rojas.
Honored Contributor

Re: swapinfo shown 0% usage

Kenn,

In your swapinfo -tam I can see clearly that you are using 92% of your swap space.
You are even close to 100 hundret which might be risky on a system.

Please be aware of the different between using swap space and paging out, you defenetly do not want to page out.

Regards,

Jaime.
Work hard when the need comes out.