Skip to content

Instantly share code, notes, and snippets.

@ojura
Created February 14, 2017 00:12
Show Gist options
  • Save ojura/8aeff14627d6570c8f260e89028c10f7 to your computer and use it in GitHub Desktop.
Save ojura/8aeff14627d6570c8f260e89028c10f7 to your computer and use it in GitHub Desktop.
# print a CASU firmware status message if in login shell
if shopt -q login_shell
then
watch -n0.1 "
date
echo 'PIDs of CASU firmware loaded on $HOSTNAME:'
pgrep casu
echo 'Press CTRL-C to dismiss'
"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment