On Thu, 2004-10-21 at 16:32, Sanjay Darisi wrote: > > > I want to know how many open connections exist to a samba share in > Linux. In other words, how many users/computers are connected to this > share? Is it possible to know the number of open connections to a > samba share? Like if I say lsof pid then I get all the open files > associated with it. Similarly, can i get all the open connections or > atleast no of open connections to a samba share?? ---- as Bryce indicated, smbstatus but you can obviously take it farther... smbstatus | grep SHARE_NAME to get a list of users actively using a particular share then of course, there is webmin which isn't at all anything like an interactive command line but it is an awesome swiss army knife - there is a samba module which can give you a listing of any share or all open connections and do it from the comfort of a gui (actually web browser). Craig --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change you mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss