Something
public text v1 · immutableprocs=75;
if [ $# -eq 1 ]; then
procs=$1
fi
TOTALPROC=`ps -ef | grep -c /`
if [ "$TOTALPROC" -gt "$procs" ] ; then
echo "ERROR MESSAGE - # processes > the arguement"
else
echo "# processes < the arguement"
fi
echo "The total number of process is " $TOTALPROC