How to monitor peak memory usage?# Unix - 噫吁兮,危乎高哉
s*e
1 楼
Currently I use "top". However, is there any way to
capture it into a file so that I can read it later.
This is because I need to run a batch of jobs by a script.
I can't monitor all of them. I want to have a program
do it automatically and write the peak memory usage for
each of the job to a file.
Thanks.
capture it into a file so that I can read it later.
This is because I need to run a batch of jobs by a script.
I can't monitor all of them. I want to have a program
do it automatically and write the peak memory usage for
each of the job to a file.
Thanks.