1

I want to determine if my application is IO or CPU bounded. Is there such a tool to determine how much of your application's run time is spent on CPU wait/IO wait/running on CPU etc.? I am running my application from terminal. I have heard there is such a tool for linux actually but I don't what is it.

burhan
  • 924
  • 4
  • 11

3 Answers3

1

You can use a combination of mpstat and iostat (I don't believe the former is available for OS X).

matt b
  • 138,234
  • 66
  • 282
  • 345
  • I think the tittle is a little misleading, sorry about that. I actually want to monitor a certain program. 'mpstat' and 'iostat' gives system wide stats. I want to know how much of an application's run time is spent on CPU wait/IO wait/running on CPU etc.? – burhan Sep 13 '12 at 19:00
0

Here is a list of the top 5 monitoring tools for ubuntu. You can collect quite a bit of info.

SASS_Shooter
  • 2,186
  • 19
  • 30
0

I think you can try the nmon.It can be used in most Linux environment.

miting
  • 1