blob: bb28f3f53c1e6c154eb253a87fe05e2d9c1e92ad [file] [log] [blame]
#/bin/sh
TMPLINE=`ps|grep -s "[[:digit:]]\+:[[:digit:]]\+ \(/.*/\)*$1\>"`
if [ -z "${TMPLINE}" ]; then
echo "nono"
exit 127
else
echo "${TMPLINE}"|awk '{print $1}'
exit 0
fi