PROCMON - Process Monitor
LA-CC 03-070, C-03,066
Source
Source
Documentation
Documentation
Executive Summary
This software provides a (relatively?) easy way to get process
information (currently memory use and CPU usage) that is
independent (?) of UNIX the architecture.
Information is printed much like that for a ps command. The tool
procmon_plot.pl can be used to graph the output. The following
show examples of different types of programs.
-
procmon_parallel_leak.pdf
4 Process MPI run where all processes loop through allocating space
and all processes except process 0 free their memory. Note how when the
machine memory is used up, the cpu usage becomes erratic. The executable
continued to run until terminated by the operating system.
By calling the process monitor instrumentation library manually,
one could detect that the process size was becoming too large and
terminate gracefully.
- procmon_io.pdf
4 Process MPI run where processes are testing reading/writing files
to disk. Note CPU usage is erratic when doing lots of file io.
- procmon_gs.pdf
4 Process MPI run where processes are testing interprocess
communication. Note CPU usage is nearly maintained at 100%.
- procmon_methods.pdf
Serial runs of code that loops over allocating. The 4 lines per plot
represent the 4 different methods that can be used to access process
information:
- Command Line Tool
- Run Time Linker Environment Variable
- Re-Link of the Executable
- Manual Instrumentation via libprocmon_info.a