LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Disk Usage (https://www.linuxquestions.org/questions/linux-newbie-8/disk-usage-88858/)

LinuxTiro 09-03-2003 11:38 AM

Disk Usage
 
wat is the command to find out the memory space allocated to each user on a linux machine

DrOzz 09-03-2003 12:49 PM

can you elaborate? i dont know if your talking about quotas, or if your talking about how much memory a user is sucking up from all their processes, or how much space the users files use up, or maybe its none of these.....someone may know what your talking about off hand, but i don't have an idea, so if possible please elaborate...

Skyline 09-03-2003 12:56 PM

I was'nt sure either Oz - I've been thinking of giving him

ps -ef | less

to have a look at the processes ?

or even

ps -aux

?

LinuxTiro 09-03-2003 01:11 PM

im talking abt the memory the user is using up from all his processes.

DrOzz 09-03-2003 01:23 PM

well maybe if you run top in the terminal you will see in one of the leftmost columns who the user is (UID) and then when you look directly across to one of the right most columns you'll see the memory percentage(%MEM) the user is using with a particular program/process, or whatever it may be...

LinuxTiro 09-03-2003 01:59 PM

well i thought if i could find the mem usage of only a single user;
top gives that of all processes

DrOzz 09-03-2003 09:12 PM

well i guess you can issue::
top |grep username


All times are GMT -5. The time now is 12:20 AM.