How to check memory usage on running process/applications
Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i have a red hat enterprise linux running in my server.
my default login is init 3 (without GUI).
However, everytime when i run #startx to start the gui the memory usage shoot up to almost 95%, and when i logout from the gui it will still remain high at 80%.
Previously i have checked, if reboot my pc in init 3 it only consume 10% of the memory usage.
My questions:-
1) what's the command that i can use to check the memory usage for each of the running process/application so that i can kill the process.
Don't worry about the memory usage. That's what memory is for. It's normal for Linux to use your RAM like that. What do you have it for if you're not going to use it? To list applications with processes and memory run 'top' from the command line.
i am having a 512MB ram, and now the usage is 500MB and the server has not been running life yet. can't imagine if we start running it as mail server for 600 users account.
i've tried #ps fauxwww, yea it lists the processes and memory.
but i still can't find which process is actually taking such a huge memory usage.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.