Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
How to find the Swap Space ?
Name: Anand Date: October 7, 2002 at 13:59:24 Pacific OS: RH 7.3 CPU/Ram: 512
Comment:
Hi, What is the command to find how much swap space has been allocated ?
Name: robomop Date: October 7, 2002 at 14:10:21 Pacific
Reply:
I dont think there is one there probable is but i just dont know it or it needs to be installed I also dont know how much space i ave on my / Drive I guess it will be sorta same on how to find out
0
Response Number 2
Name: Jason Date: October 7, 2002 at 14:20:57 Pacific
Reply:
in terminal
type to commmand "top"
it will display all things running and a rundown of other system info -- including the amount of swap space used.
To get out of the program hit CTRL-C
0
Response Number 3
Name: 0nie Date: October 7, 2002 at 15:27:03 Pacific
Reply:
type "df" or "man df" if u want to get complete information
w/ honour..x))
0
Response Number 4
Name: crazymand Date: October 7, 2002 at 16:22:48 Pacific
Reply:
cat /proc/meminfo
0
Response Number 5
Name: arnold Date: October 7, 2002 at 17:50:05 Pacific
Reply:
cat /proc/swaps or swapon -s
Also makewhatis man apropos apropos swap
0
Response Number 6
Name: peter4u Date: October 7, 2002 at 19:10:24 Pacific
Reply:
Look at all your drives and partitions:
fdisk -l /dev/hd?
(assuming you have the typical ide-drives, like most PC's)
See all mounted drives and the space:
df -k
See the allocated swap space:
swapon -s
Ignore the first 3 or 4 responses.
0
Response Number 7
Name: Lawrence Date: October 7, 2002 at 19:11:47 Pacific
Reply:
Wouldn't the command "free" do??? And if you want to know which process is "eating" your memory, then "top" is the option...
Lawrence
0
Response Number 8
Name: dprovenger Date: October 9, 2002 at 14:58:00 Pacific
Reply:
The following command will give you the amount of RAM and SWAP in Megs.
/usr/bin/free -m
You can also cat the /proc/swaps file to see which partition was alocated to SWAP and it will show you the size of SWAP as well as the amount being used.
Summary: Hello plz i have a problem I am preparing a load balancing system in linux for network and I have one problem, that how to find the current CPU load of system using java or linux if any one know then...
Summary: Hi there, I would like to know how to find the available shares on an NT machine... i'm using RH7.2 And even another question when i do a "findsmb" i get all the ip-addresses connected to the lan, but...
Summary: I want to find out how many hard disks my machine has and how to find out information about each of them and the partitions they have. I am not able to locate /dev/rdsk directory as in Solaris or HP. ...