Under SuSE, (Mem: 31908592k total, 31421504k used,) how do i know which process or program using my memory?
The standard (command-line) program for checking cpu/memory usage for processes is
After opening top, clicking
EDIT - 4-12
For clarity I decided to expand on the sorting. Here is a typical
The column that interests you most is
In order to sort by a column you hit
as you can see, hitting
At the table view, hitting lowercase
Note: I played around with sorting columns so the columns are shuffled from the first image.
Like a lot of unix/linux command line utilities there are many little tricks and things and hidden features - top is a very powerful tool. For instance, you can show multiple tables at the same time (say the top 5 instead of top 20 but for 4-5 different parameters)- how? I don't know, but I accidentally got to that when taking the screenshots. A full chapter of a good book on *nix can be devoted to
This will ouput pmem & rss longs of processes, worth to try.
I'll add to crasic's response (not enough rep to comment) that if you run top, then press "z" key then "x" key top will highlight the sorted column (descending order). Then, you can then use '<' and '>' to change the sorted column (to switch between %cpu and %mem for example). hth
Expanding on previous suggestions. Hopes this helps you and others.
In no particular order:
ps -ef > process-listing
(or the ps command options of your choice; see risyasin's suggestion above)