--- net-snmp-5.9.4/net-snmp-create-v3-user.in.orig
+++ net-snmp-5.9.4/net-snmp-create-v3-user.in
@@ -3,7 +3,7 @@
 # this shell script is designed to add new SNMPv3 users
 # to Net-SNMP config file.
 
-if @PSCMD@ | @EGREP@ ' snmpd *$' > /dev/null 2>&1 ; then
+if " /usr/bin/ps -z `zonename` | egrep ' snmpd *$' " > /dev/null 2>&1 ; then
     echo "Apparently at least one snmpd daemon is already running."
     echo "You must stop them in order to use this command."
     exit 1