Measuring peak memory usage: equivalent of /usr/bin/time -v including child/forked processes

1

I have been making use of the /usr/bin/time -v construct for a while now in order to determine the peak RAM usage of programs that I create.

Lately I have been making some python programs that make use of multiprocessing which basically makes a fork of the parent process. The RAM usage of these forked processes is seemingly not captured by /usr/bin/time.

Is there a similar tool to measure peak RAM usage, but combined over all forked processes / child processes of the parent?

Rboreal_Frippery

Posted 2019-10-02T14:45:54.977

Reputation: 123

No answers