Results 1 to 6 of 6
Dear reader,
atm I use a centos VPS with 1gb memory and enough space and brandwidth (if this info is off any use). I am using this ded for fun ...
- 09-25-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 8
[SOLVED] Where is my CPU/MEM going?
Dear reader,
atm I use a centos VPS with 1gb memory and enough space and brandwidth (if this info is off any use). I am using this ded for fun (to date with linux
) and to host some gameservers.
Now I am running 1 gameserver and 1 teamspeak (voice talk) server. This should be together (when not in use) maximal; 300mb.
So now I did top as the root to check my memory and CPU and this is what came out;
Without the gameserver and voiceserver running:Code:top - 09:51:00 up 3 days, 20:17, 2 users, load average: 0.00, 0.00, 0.00 Tasks: 87 total, 1 running, 86 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.2%hi, 0.2%si, 0.0%st Mem: 1026960k total, 992576k used, 34384k free, 55548k buffers Swap: 2064376k total, 84k used, 2064292k free, 558920k cached
Code:top - 09:57:57 up 3 days, 20:24, 3 users, load average: 0.00, 0.00, 0.00 Tasks: 89 total, 1 running, 88 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.5%id, 0.0%wa, 0.3%hi, 0.0%si, 0.0%st Mem: 1026960k total, 692996k used, 333964k free, 56012k buffers Swap: 2064376k total, 84k used, 2064292k free, 559332k cached
As you can see, I am using way too much of the 1gb but I dont understand where its going to. Can you sort in top on the processes using the most memory? And is there any thing I should know as a linux user what would less the memory much?
Its not the purpose to use my swap memory.
Greetings, Guido
- 09-25-2010 #2
Linux doesn't handle Memory the way Windows OS does. Actual used memory might be much less than listed in the output because Linux cache a large chunk of memory as cached memory to load most used packages faster and manage buffers.
Post the output of this
Code:free -h
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-25-2010 #3
casper, I think you made typo or were thinking about df command
should befor seeing true available/used memoryCode:free -m
also, you are looking at 99.5% IDLE CPU
- 09-25-2010 #4
It doesn't really matter how much RAM you put in your machine, Linux is set to fill it all up. The philosophy is that unused RAM is wasted RAM. This speeds the machine up considerably.
When your RAM is completely filled up and you launch another app then other RAM is freed again. It only starts swapping when no more RAM can be freed up anymore.Can't tell an OS by it's GUI
- 09-25-2010 #5It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 09-26-2010 #6Just Joined!
- Join Date
- Sep 2010
- Posts
- 8



