memory-monitor-cli
To install:
$ pip3 install memory-monitor-cli
Monitor the memory with a time window of 1
minute (m
) and refresh each second (60
times per minute):
$ mm-cli run --time-window 1 --time-unit m --frequency 60
Streaming to a file...
$ mm-cli run --time-window 1 --time-unit m --frequency 60 --stream-to-file memory-usage.gz
and (maybe later) show the stream:
$ mm-cli show --stream-from-file memory-usage.gz