LinHES Forums
http://forum.linhes.org/

Verifying Samba process is running
http://forum.linhes.org/viewtopic.php?f=5&t=15463
Page 1 of 1

Author:  gatorback [ Sat Jun 02, 2007 5:46 pm ]
Post subject:  Verifying Samba process is running

Is this the command that I want to use to verify that Samba is running?

Code:
root@mythtvhost:~# ps -e | grep smbd
 3419 ?        00:00:00 smbd
 3437 ?        00:00:00 smbd
 4879 ?        00:00:00 smbd
14725 ?        00:00:08 smbd


I ask because there seems to be more than one instance.

Author:  imstr8trippin [ Sat Jun 02, 2007 8:15 pm ]
Post subject: 

there will be an instance for every connection that is active.

you can look at /var/run/samba/smbd.pid to see which one is the daemon listening for connections.

you can also check that your box is listening on the correct ports:

Code:
netstat -ln | egrep "445|139"

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/