Difference between revisions of "Swap"

From Linuxintro
imported>ThorstenStaerk
(Created page with "Swapping is when a computer exchanges the location of memory pages between physical RAM and harddisk space. <pre> tweedleburg:~/Downloads # swapon -s Filename ...")
 
imported>ThorstenStaerk
Line 1: Line 1:
 
Swapping is when a computer exchanges the location of memory pages between physical RAM and harddisk space.
 
Swapping is when a computer exchanges the location of memory pages between physical RAM and harddisk space.
  
<pre>
+
tweedleburg:~/Downloads # swapon -s
tweedleburg:~/Downloads # swapon -s
+
Filename                                Type            Size    Used    Priority
Filename                                Type            Size    Used    Priority
+
tweedleburg:~/Downloads # swapon /tmp/swap  
tweedleburg:~/Downloads # swapon /tmp/swap  
+
;Note: This command did not work with Knoppix 7.02.
tweedleburg:~/Downloads # swapon -s
+
tweedleburg:~/Downloads # swapon -s
Filename                                Type            Size    Used    Priority
+
Filename                                Type            Size    Used    Priority
/tmp/swap                              file            1048572 0      -1
+
/tmp/swap                              file            1048572 0      -1
</pre>
 

Revision as of 09:23, 10 June 2012

Swapping is when a computer exchanges the location of memory pages between physical RAM and harddisk space.

tweedleburg:~/Downloads # swapon -s
Filename                                Type            Size    Used    Priority
tweedleburg:~/Downloads # swapon /tmp/swap 
Note
This command did not work with Knoppix 7.02.
tweedleburg:~/Downloads # swapon -s
Filename                                Type            Size    Used    Priority
/tmp/swap                               file            1048572 0       -1