not really nice, but works as a bash script for me (as root)

---cut---
echo
echo "                          NetATalk"
echo "                          --------"
ps axuw|grep atalkd|grep root|grep -v grep|sort|cut -c
1-15,42-51,59,70-160
ps axuw|grep afp|grep root|grep -v grep|sort|cut -c 1-15,42-51,59,70-160
ps axuw|grep papd|grep root|grep -v grep|sort|cut -c 1-15,42-51,59,70-160
echo "                "
echo "Clients    PID Sta. Start Binary"
echo "
---------------------------------------------------------------------"
ps axuw|grep afp|grep -v root|sort|cut -c 1-15,42-51,59,70-160
echo
---cut---

well one should fill in the paths ...

hth,
thomas

Reply via email to