Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh -x
- while [ 1 ]; do
- for f in /proc/*
- do
- if [ -e $f/statm ]; then
- echo "$f"
- cat $f/statm
- fi
- done
- echo "---- $(date)"
- ps
- echo "======="
- top -b -n1
- echo "+++++++"
- sleep 600
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement