PDA

Bekijk de volledige versie : swap on? ...or?



NTAdmin
31-07-2005, 09:36
Hi,
I have a question. How can I see how much swap space is used and if it is on or not. I have typed swapon /dev/scsi...... and nothing has changed. How do I know if it's active or not?

NTAdmin
31-07-2005, 10:53
nevermind, /proc/meminfo has the necessary information.

kdudl
31-07-2005, 20:09
Hi,
I have a question. How can I see how much swap space is used and if it is on or not. I have typed swapon /dev/scsi...... and nothing has changed. How do I know if it's active or not?

Another way to know the status of swap and the amount of memory use is simply to enter
free
at telnet prompt.
You will get the amount of used and free swap and main memory as well as the total values.