Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- irc_uri='http://irccat.meddius.com:12345/log?'
- irc_dest='#dev'
- workspace=${MEDDIUS_WORKSPACE:-"/User/${USER}/workspace"}
- . "$workspace/meddius-tools/scripts/common.sh"
- for PROC in `ps -eo rss | sed 1d`
- do
- if [ $PROC -gt 204800 ]
- then
- ((count++))
- fi
- done
- echo curl "$irc_uri$( urlencode "$irc_dest [test] $USER has $count process(es) larger than 200MB running." )" | sh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement