Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command to monitor connections... 1

Status
Not open for further replies.

MattWray

Technical User
Nov 2, 2001
2,332
US
Hello,
I have a RH file server running Samba. Is there a command I can use to see if there are any current connections or open files? And to see who is connected, and possible send them a message that I will be shutting down the server in 5 minutes? Thanks,

Matt Wray
 
Not too sure, but try looking for the log file you want in /var/log/samba/. If you do find the log file that you were looking for, then do a:

'tail -vf /var/log/samba/nameoffile.log'
 

# smbstatus

# smbclient -M "message" Not sure if you can send to everyone.

Cheers Henrik Morsing
Certified AIX 4.3 Systems Administration
& p690 Technical Support
 
have you typing "top" at a command prompt to see all the current processes on your system?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top