Skip to content

Instantly share code, notes, and snippets.

@van-knowmad
van-knowmad / wreconsole_mon.sh
Created October 12, 2012 18:17
wreconsole_mon.sh
#!/bin/sh
# Checks to see whether WRE Console is running; this is a major security risk.
host=`uname -n`
if ps ax | grep -v 'grep' | grep 'wreconsole.pl' > /dev/null
then
echo "WRE Console is running on $host."
else