Commit 7512f75e authored by Locatelli's avatar Locatelli
Browse files

add a tool for checking memory

parent b5acd127
#!/bin/bash
while true
do
PID=`pidof $1`
if [ -z "$PID" ]; then
break
fi
top -n 1 -p $PID | sed 1,7d
sleep 1
done
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment