PDA

View Full Version : AzboxHD swapfile creat



kanber_kav
26-07-2009, 11:20 AM
hdb1 hdd

azbox$ dd if=/dev/zero of=/DATA/hdb1/swapfile bs=1024 count=102400

100mb swapfile current

azbox$ mkswap /DATA/hdb1/swapfile
azbox$ swapon /DATA/hdb1/swapfile


Or


16 mb swapfile cread Download folder



azbox$ dd if=/dev/zero of=/Download/swapfile bs=1024 count=16384

16 mb swapfile current

azbox$ mkswap /Download/swapfile
azbox$ swapon /Download/swapfile

MemTotal: 101500 kB
MemFree: 3764 kB
Buffers: 920 kB
Cached: 32812 kB
SwapCached: 0 kB
Active: 67696 kB
Inactive: 10060 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 101500 kB
LowFree: 3764 kB
SwapTotal: 16168 kB
SwapFree: 16168 kB
Dirty: 8 kB
Writeback: 0 kB
Mapped: 54556 kB
Slab: 14616 kB
CommitLimit: 66916 kB
Committed_AS: 95908 kB
PageTables: 668 kB
VmallocTotal: 1048560 kB
VmallocUsed: 143228 kB
VmallocChunk: 903100 kB

hanswurscht
26-07-2009, 07:26 PM
thx, it works without cleaning the Data on HDD?