Sample Header Ad - 728x90

Measuring peak memory usage of many processes

5 votes
2 answers
1887 views
I have a bash script that calls various other scripts, one of which has a bunch of commands that launch scripts inside a screen session like this: screen -S $SESSION_NAME -p $f -X stuff "$CMD\n" Will running my top script with /usr/bin/time -v capture the peak memory usage everything? I want to have this script run as a cron job but I need to know how much memory it will take before I cause problems for other users on the machine. Thanks
Asked by Matt Feldman (51 rep)
Oct 10, 2016, 05:33 PM
Last activity: Jul 2, 2025, 08:44 AM