List all valet-plus process's
#!/usr/bin/env bash | |
#styles | |
VP_NONE='\033[00m' | |
VP_RED='\033[01;31m' | |
VP_GREEN='\033[01;32m' | |
VP_YELLOW='\033[01;33m' | |
VP_PURPLE='\033[01;35m' | |
VP_CYAN='\033[01;36m' | |
VP_WHITE='\033[01;37m' | |
VP_BOLD='\033[1m' | |
VP_UNDERLINE='\033[4m' | |
clear | |
echo " " | |
echo -e "${VP_GREEN}${VP_BOLD}user brew services list to see if any services are running${VP_NONE}" | |
brew services list | |
echo " " | |
echo -e "${VP_GREEN}${VP_BOLD}use ps to see if any process's are running${VP_NONE}" | |
ps aux | grep DesktopServer.app | grep -v grep| head -1 | |
ps aux | grep "Local by Flywheel.app" | grep -v grep| head -1 | |
ps aux | grep -i "xamp" | grep -v grep| head -1 | |
ps aux | grep -i "mamp" | grep -v grep| head -1 | |
ps aux | grep dnsmasq | grep -v grep| head -1 | |
ps aux | grep nginx | grep -v grep| head -1 | |
ps aux | grep php | grep -v grep| head -1 | |
ps aux | grep mysql | grep -v grep| head -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment