Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
177 B
1
Indexable
Never
#!/bin/bash

while true; do
    date +"%Y-%m-%d %H:%M:%S" >> ramLog.txt
    free -m | grep Mem >> ramLog.txt
    echo "------------------------" >> ramLog.txt
    sleep 60
done
Leave a Comment