48 How to check is samba is running?

smbclient -L localhost if it asks for password, type it. It is then running.