Created
February 14, 2017 00:12
-
-
Save ojura/8aeff14627d6570c8f260e89028c10f7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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