LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how do i know if my swap is working? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-know-if-my-swap-is-working-514542/)

binary_0011 12-29-2006 03:09 AM

how do i know if my swap is working?
 
i just rebuilding my linux box, this time i created the partition/fulesystem manually.

i managed to boot up the sytem already, how can I ensure my swap is working?


Thanks

dombrowsky 12-29-2006 03:22 AM

two ways:

1) open up 836547253 programs and see if your hard drive starts getting throttled.

or

2) look for the swapper kernel process. on my system its kswapd:

$ ps wuax | grep kswapd
root 78 0.0 0.0 0 0 ? S Dec26 0:06 [kswapd0]

syg00 12-29-2006 04:08 AM

"swapon -s" might be easiest.

binary_0011 12-29-2006 06:02 AM

Quote:

Originally Posted by syg00
"swapon -s" might be easiest.


thanks.;) ;) ;)


All times are GMT -5. The time now is 11:12 AM.