Subject: RE: How to get client name ?
From: thomas.riewe (thomas@zeitung-zum-sonntag.de)
Date: Thu Feb 03 2000 - 11:05:20 EST
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
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:29:58 EST