Hey, nice script. I have a couple of questions:
1. Could you modify this to monitor memory usage instead of CPU?
2. Could you make a version for a specific function call, so that the usage would be:
memorytrack "myexec myarg1 myarg2" [filename]
I guess the question I really have is how to get a PID automatically from a command-line call. =)
Hey, nice script. I have a couple of questions:
1. Could you modify this to monitor memory usage instead of CPU?
2. Could you make a version for a specific function call, so that the usage would be:
memorytrack "myexec myarg1 myarg2" [filename]
I guess the question I really have is how to get a PID automatically from a command-line call. =)