LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2006, 04:09 AM   #1
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Rep: Reputation: 15
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
 
Old 12-29-2006, 04:22 AM   #2
dombrowsky
Member
 
Registered: Dec 2005
Location: New York
Distribution: Debian/GNU
Posts: 235

Rep: Reputation: 31
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]
 
Old 12-29-2006, 05:08 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,051

Rep: Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915Reputation: 1915
"swapon -s" might be easiest.
 
Old 12-29-2006, 07:02 AM   #4
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by syg00
"swapon -s" might be easiest.

thanks.
 
  


Reply

Tags
linux, memory, swap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
swap is not working in Fedora raj_cet04 Fedora 2 05-21-2005 06:44 PM
swap not working djabbot Linux - Hardware 2 01-19-2005 08:23 AM
How do I know that my swap is enabled and working properly? mouse46 Linux - Software 9 10-26-2004 08:32 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Is my swap working? Tyir Slackware 10 12-09-2003 12:21 AM


All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration