hi, > does it ever get used? do i have to enable something somewhere to make sure > it gets used? here's the output of df: > > Filesystem 1k-blocks Used Available Use% Mounted on > /dev/hda2 7872920 3926616 3546380 53% / > /dev/hda1 51206 13282 35280 28% /boot > /dev/hdc1 78786704 10252240 64532304 14% /home/web > none 30464 0 30464 0% /dev/shm df command does not reveal information regarding swap space usage. instead use the following commands $ free $ cat /proc/swaps (shows the partition info if swap u created) $ cat /proc/meminfo > an additional question: > i'm going to be putting more ram in this box, probably totalling 256 (right > now it's stuck at 64). will i have to devote more hard disc to swap? if > so, how? it depends on the software/resource usage of u're system. if u are planning/running graphical intensive applications then surely u need to increase the swap space to be on the safer front . (usually adopted method is twice the amount of ram) there are 2 methods of creating swaps 1. if u have free unused space u can created a partition using tools such as fdisk. note filesystem should be swap.then create the swap filesystem on the partition using commands like mkswap <partition u just created>. then mount the partition.use the /etc/fstab file for mounting the swap partition /dev/<partition> swap swap defaults 0 0 2. if u donot have free unused space but your root partion or any other partition is quite big to accomodate a file of size say 256MB then create a swap file instead of swap partition. for example $ dd if=/dev/zero of=/extra-swap bs=1024 $ mkswap /extra-swap 262144 and mount this swap file "extra-swap" using /etc/fstab file to check whether the swapfile created is indeed swap use $ cat /proc/swaps
cheers -rk- ------------------------------------------- Ramakrishna | [EMAIL PROTECTED] Exocore Consulting | http://www.exocore.com Bangalore, India | +91 (80) 344-0397 ------------------------------------------- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list