sreeharsha.t |
03-25-2010 08:18 AM |
The following is the top o/p from my desktop:
Quote:
top - 18:42:39 up 5:33, 2 users, load average: 0.18, 0.17, 0.17
Tasks: 165 total, 3 running, 162 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.8%us, 2.5%sy, 0.0%ni, 94.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1914008k total, 1571400k used, 342608k free, 50984k buffers
Swap: 2047992k total, 27292k used, 2020700k free, 845296k cached
|
Here you can see that from the last line of the above quoted message that some part of the swap space is in use.
You can dynamically increase/decrease swap size. To increase
Code:
swapon /dev/<harddisk_partition>
To decrease:
Code:
swapoff /dev/<harddisk_partition>
Be careful while manually turning on the swap space as you may accidentally give some other hard disk partition which may corrupt all the data on that partition
|