View previous topic :: View next topic |
Author |
Message |
duozmo Tux's lil' helper


Joined: 05 Oct 2003 Posts: 142 Location: Ketchum, ID
|
Posted: Sun Feb 08, 2004 11:42 am Post subject: disk usage by process? |
|
|
is there any way to find out disk usage by process?
looked around, no one seemed to know.
i'm having this problem and i thought maybe this could help me figure it out |
|
Back to top |
|
 |
David_Escott l33t

Joined: 12 Jan 2003 Posts: 952 Location: Boston, MA
|
Posted: Sun Feb 08, 2004 4:36 pm Post subject: |
|
|
Its not really a meaningful or useful question which is why you probably aren't getting many answers. You can use lsof to look at the open filehandles that are held by each process. Combine that with some pipe awk and ls magic and you can get file size of those associated files. Thing is you will probably only find a few megs hear and there with something like a music player having the most (just by virtue of holding one or two large documents). Most disk usage is from persistent data, a process will more likely hold data in RAM. |
|
Back to top |
|
 |
|