Command Line: ksh ${SCRIPT}
-----------------------------------------------
#!/usr/bin/ksh
#set -x
status=`ps -ef | grep Profiler_Agent | grep -v grep`
if [[ x$status = x ]]; then
echo "\nStatistic: 1"
else
echo "\nStatistic: 0"
fi
Command Line: ksh ${SCRIPT}
-----------------------------------------------
#!/usr/bin/ksh
#set -x
status=`ps -ef | grep Profiler_Agent | grep -v grep`
if [[ x$status = x ]]; then
echo "\nStatistic: 1"
else
echo "\nStatistic: 0"
fi
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.