Author: Unknown
Email:
Date Submitted: April 16, 1998
Edited By: Ray Curtis <ray@clark.net>
Status: New Entry
Releases: All
Platform: All
Category: Common Problems with Linux\Unix Commands
Category Listing: Memory and Swap space, How-to
ISSUE:
How do I find the avialable amount of memory and create a swap partition ?
RESPONSE:
cat /proc/meminfo
dd if=/dev/zero of=/var/swap bs=1024 count=32768
mkswap /var/swap 32768
sync
swapon /var/swap
(this is not the best solution because the "dd" command takes a long time)
REFERENCES: