singtel22
08-19-2002, 10:40 PM
I have a dedicated server with 1GB RAM but when I SSH into one of my accounts (I did not restrict the usage), it shows the following:
Mem: 1029432K av, 1015612K used, 13820K free, 0K shrd, 99684K buff
Swap: 522072K av, 0K used, 522072K free 762112K cached
What happened to my 1GB RAM? Is there a way to check? Thanks.
amaroq
08-19-2002, 10:46 PM
Originally posted by singtel22
I have a dedicated server with 1GB RAM but when I SSH into one of my accounts (I did not restrict the usage), it shows the following:
Mem: 1029432K av, 1015612K used, 13820K free, 0K shrd, 99684K buff
Swap: 522072K av, 0K used, 522072K free 762112K cached
What happened to my 1GB RAM? Is there a way to check? Thanks.
It's still there, and free to be used. The '762112K cached' indicates that 762,112kB of your memory is being used as a filesystem cache -- this is what the Linux kernel does with free memory, rather than just leaving it free. The kernel will free it up automatically when it's needed.
So in reality, you're only using about 250MB of RAM -- if the machine is being used for hosting or something, that's probably not too bad.