Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
is there a way to monitor everything about one process?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
jprobichaud
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2009
Posts: 81
Location: Montreal, Qc

PostPosted: Sat Jan 08, 2011 3:43 am    Post subject: is there a way to monitor everything about one process? Reply with quote

Yes, I know that ps, top, iotop, nettop, iostat & dstat exist!

dstat gives you a lot of indicators, but from a global system point of view. The other tells you a lot about each processes, but with a specific focus: either the cpu/mem or the disk io or the network io.

What I would really like would be to understand what happens in 2 specific processes across all these indicators: cpu/mem/io/net-io/paging, etc...

Is there such a tool? If I could mix dstat with the "ps -C cmd1,cmd2", I would have exactly what I want...

Does something like that exist?
Back to top
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2390
Location: Wisconsin (USA)

PostPosted: Sat Jan 08, 2011 9:47 pm    Post subject: Reply with quote

i don't know of an all inclusive utility like that but strace may help you debug i/o and kernel calls.

good luck!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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