Christopher> I have students and postdocs that write software as part
Christopher> of their research and occasionally they want to answer
Christopher> questions like:

Christopher> - How much memory does this take?
Christopher> - How much time does this take?
Christopher> - What does CPU utilization look like?

Christopher> To add to the list above, I would love to see I/O
Christopher> statistics as well. Any suggestions on a command line
Christopher> profiling tool for linux that will do this? While most of
Christopher> my users are savy enough to use the command line, I would
Christopher> like to see something where you don't have to understand
Christopher> a whole lot of details to get some basic info.

I just recently fired up and learned to use valgrind and kcachegrind
to find some bottlenecks in some software I was playing around with
that suddently slowed down as the number of items being manipulated
grew past a certain point.  

While it wasn't quite so perfect, it did show me where the hot spots
in the code were and let me work around them.  If I was actually
writing code, using some sort of profiler so I'd know where top spend
my energy is invaluable.  Go for the low hanging fruit first!

You might also look at gprof as well, though I admit I tried it and
didn't care for it.  But I'm not a programmer by trade... so valgrind
and the KDE based viewer might just bethe thing you want.  

John
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to