Skip to content

Instantly share code, notes, and snippets.

@delucas
Created November 14, 2012 18:24
Show Gist options
  • Save delucas/4073838 to your computer and use it in GitHub Desktop.
Save delucas/4073838 to your computer and use it in GitHub Desktop.
Monitoreo, v 1.0
#!/bin/bash
pipo=`ps aux | grep pipo | wc -l`
if [ "$pipo" = "1" ]
then
echo "yeah!";
else
echo "ouch!";
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment