-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/19/2012 05:34 AM, Christopher R Webber wrote:
> All,
> 
> I have students and postdocs that write software as part of their
> research and occasionally they want to answer questions like: - How
> much memory does this take? - How much time does this take? - What
> does CPU utilization look like?
> 
> To add to the list above, I would love to see I/O statistics as
> well. Any suggestions on a command line profiling tool for linux
> that will do this? While most of my users are savy enough to use
> the command line, I would like to see something where you don't
> have to understand a whole lot of details to get some basic info.
> 
> Ideas?

There's a few tools I'll use:

* "strace -c" - quick & dirty histogram of system calls, providing
number of calls and time spent in each one
* "ltrace -c" - Same as "strace -c", but for library calls
* /proc/<pid> - Lots of information available here, including I/O
statistics, scheduler and memory information, and CPU usage
* gprof - Useful if you have the source code or if the binary is
already built with profiling ("-pg" if you're using gcc), this will
give a call graph and other profiling information

Skylar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/hAbMACgkQsc4yyULgN4bfmwCgoKzMkOqnQrTIkOjHc5AKzse9
pjcAnAp/fqeGPaIMokYZYp7xf3deL9qR
=R16J
-----END PGP SIGNATURE-----
_______________________________________________
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