Skip to content

vbraun/GraphPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphPG

Resource Usage of a Process Group

This tool adds up CPU and RSS (actually used RAM, as opposed to virtual allocations) of all processes of a group of processes. The intended use case is to visualize parallel compilation runs, and how they use CPU and RAM.

Usage

Using the program simply amounts to checking out the git repo and running:

/path/to/graphpg [command]

This then executes the command, samples resource usage about once every second, and then draws a plot when the command is finished.

Example

For example, rebuilding the SageMath library:

/path/to/graphpg sage -ba

yields the following graph on a quad-core machine:

Sage Build Output

Links

Dependencies

About

Graph resource usage (CPU and RSS) of a process group

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages