Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disk usage by process?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
duozmo
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2003
Posts: 142
Location: Ketchum, ID

PostPosted: Sun Feb 08, 2004 11:42 am    Post subject: disk usage by process? Reply with quote

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
View user's profile Send private message
David_Escott
l33t
l33t


Joined: 12 Jan 2003
Posts: 952
Location: Boston, MA

PostPosted: Sun Feb 08, 2004 4:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum