 |
|
Oracle Tips by Burleson |
Paging and Swapping Devices
Linux uses a swap disk as a repository for memory frames that
are paged-out from physical RAM. The Linux default is to set
the size of the swap disk to twice the size of physical RAM
installed in the server.
Linux stores information about devices used for system paging
and swapping activities in a file called /proc/swaps. To display
information regarding swap devices you can either display the
file using the cat command or use the swapon command with the
-s option. As seen below, the results are the same using either
method.
$ cat /proc/swaps
Filename Type Size
Used Priority
/dev/hdf2 partition
524152 0 -1
# swapon -s
Filename Type Size
Used Priority
/dev/hdf2 partition
524152 0 -1
The above book excerpt is from:
Easy Linux
Commands
Working Examples of Linux Command Syntax
ISBN:
0-9759135-0-6
Terry Clark
http://www.rampant-books.com/book_2005_1_linux_commands.htm |