User Tools

Site Tools


samba:check_samba_is_running

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
samba:check_samba_is_running [2016/07/10 08:54] – created petersamba:check_samba_is_running [2019/12/04 18:58] (current) – removed peter
Line 1: Line 1:
-====== Samba - Check Samba is running ====== 
- 
-===== Check the Samba Server is running ===== 
- 
-<code bash> 
-ps -ef | grep smbd 
-</code> 
- 
-Result: 
- 
-<code> 
-root       3380      1  0 Jun30 ?        00:00:01 /usr/sbin/smbd -D 
-root       3381   3380  0 Jun30 ?        00:00:04 /usr/sbin/smbd -D 
-root       3383   3380  0 Jun30 ?        00:00:01 /usr/sbin/smbd -D 
-root       5978   3380  0 Jul08 ?        00:00:00 /usr/sbin/smbd -D 
-root       5980   3380  0 Jul08 ?        00:00:00 /usr/sbin/smbd -D 
-root       5982   3380  0 Jul08 ?        00:00:00 /usr/sbin/smbd -D 
-root      88308  87793  0 09:49 pts/0    00:00:00 grep --color=auto smbd 
-</code> 
- 
- 
-===== Check the Samba Client is running ===== 
- 
-<code bash> 
-smbclient -L ShareWiz -N 
-</code> 
- 
-Result: 
- 
-<code> 
-WARNING: The "syslog" option is deprecated 
-Domain=[SHAREWIZ] OS=[Windows 6.1] Server=[Samba 4.3.9-Ubuntu] 
- 
- Sharename       Type      Comment 
- ---------       ----      ------- 
- print$          Disk      Printer Drivers 
- open            Disk      ShareWiz File Server Open 
- share           Disk      ShareWiz File Server Share 
- secureshare     Disk      ShareWiz File Server Secure Share 
- IPC$            IPC       IPC Service (server1 server (Samba, Ubuntu)) 
-Domain=[SHAREWIZ] OS=[Windows 6.1] Server=[Samba 4.3.9-Ubuntu] 
- 
- Server               Comment 
- ---------            ------- 
- SERVER1              server1 server (Samba, Ubuntu) 
- 
- Workgroup            Master 
- ---------            ------- 
- SHAREWIZ             SERVER1 
-</code> 
  
samba/check_samba_is_running.1468140853.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki