Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can prstat or something similar tell me how many reads/writes a process is doing similar to how Task Manager on Windows can show I/O Reads, I/O Writes and many other I/O columns per process?

I'm using SunOS 5.10, but feel free to post other Unix flavours too.

share|improve this question

2 Answers 2

For a modern Linux utility check out iotop. Unfortunately it requires Python >= 2.4 and Linux >= 2.6.20 so it won't be much help to you on Sun OS.

For SunOS 5.10 you can use DTrace. There's some scripts on this Top Ten DTrace Scripts page that are an example of what you can do. Of course you can tune them to your liking. I don't know of anything that will give you a nice out-of-the box utility though.

share|improve this answer
    
Download the DTrace Toolkit (brendangregg.com/dtrace.html#DTraceToolkit). it contains a number of DTrace scripts relating to IO - iotop, iohog, iosnoop etc. That should get you going in the right direction. –  Shaun Dewberry May 24 '11 at 14:36

You should take a look at sar and see if it does what you're looking for.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.