swap
( )
.
swap 1*RAM - 2*RAM ,
X-Windows, 3*RAM.
swap
. ,
swapping. : 20 Mb-
dd if=/dev/zero of=/var/swapfile bs=1k count=20480
swap ,
/etc/fstab - - :
---------------------------------------------------------------
# device mountpoint type flags
/dev/hdb2 none swap sw
---------------------------------------------------------------
swap :
swap -a /dev/rdsk/m328_c2d0s0 0 0 #
swap -a /var/swapfile 0 40960 #
# - 512-
# ,
# partition ID == 82 "Linux-swap"
fdisk /dev/hda
# Swap- Linux __ /dev/
dd if=/dev/zero of=/dev/swapfile bs=1k count=40000
# swap :
mkswap /dev/hda2 40000 ; sync #
swapon /dev/hda2 # swap-
free #
swapoff /dev/swapfile # swap-
/etc/fstab :
---------------------------------------------------------------
/dev/hdb2 none swap sw
---------------------------------------------------------------
HP-UX SAM.
: swap
"File system swap",
, swap-, "
", .
HP-UX swap- -
swap
Primary-swap ,
/etc/fstab
swapon #
swapinfo #
swap -l #
swap -s #
mkfile 40m swap-file # 40
swap -a swap-file # .
/etc/vfstab:
/swap/file - - swap - no -
Last-modified: Fri, 11 Aug 2000 16:47:11 GMT