Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Swap Partition, Is It ON??< Next Oldest | Next Newest >
steings Offline





Group: Members
Posts: 5
Joined: July 2006
Posted: Sep. 19 2008,13:03 QUOTE

I did a HD install of DSL 4.4 on my old laptop.  I created 2 partitions:  
/dev/hda1 = Swap  530 MB
/dev/hda2 = /  3.5 Gig

I have never seen the Swap monitor that is on the desktop move or indicate any activity.  I only have 192 MD of Ram.  Is there  a way to check to make sure Swap is active? I typed the Free command and it says I have a Swap partition.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 19 2008,13:07 QUOTE

Code Sample
cat /proc/swaps

if nothing is displayed, try
Code Sample
sudo swapon /dev/hda1


It's more likely that your swap is active, but just not needed yet.  Unlike Windows, which uses its paging file constanly, Linux uses swap only when physical ram is limited (EDIT: at least that's my belief; not necessarily fact).


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
steings Offline





Group: Members
Posts: 5
Joined: July 2006
Posted: Sep. 20 2008,02:14 QUOTE

I ran the command and it showed my swap file.  Thanks
Back to top
Profile PM 
stunix*com Offline





Group: Members
Posts: 64
Joined: July 2006
Posted: Sep. 21 2008,17:41 QUOTE

you can also use
sudo free
or
sudo swapon -s
to see the swap space status.
Back to top
Profile PM 
sankarv Offline





Group: Members
Posts: 190
Joined: Mar. 2006
Posted: Sep. 30 2008,05:38 QUOTE

hi...


i was doing a huge copy operation from my hard disk to usb drive  and since it was too slow (i found a difference with DSL linux speed(which is known for that) itself in fact ).

i checked my swap space with free command but swap was not at all utilized.

What may be the reason for that?


By the way i have 512 MB ram with celeron 1.7 ghz processor and 1.1 GB of swap space.

Also the data's total size is 4.0 GB.


--------------
Think before you do anything...
Back to top
Profile PM 
9 replies since Sep. 19 2008,13:03 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Swap Partition

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code