1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| systemctl start smbd # 启动 smbd
systemctl enable smbd # 加入开机自启动
systemctl status smbd # 查看服务状态
● smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-12-13 11:18:32 CST; 4min 54s ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 12185 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Main PID: 12194 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 5 (limit: 18857)
Memory: 7.8M
CPU: 469ms
CGroup: /system.slice/smbd.service
├─12194 /usr/sbin/smbd --foreground --no-process-group
├─12196 /usr/sbin/smbd --foreground --no-process-group
├─12197 /usr/sbin/smbd --foreground --no-process-group
├─12199 /usr/sbin/smbd --foreground --no-process-group
└─12201 /usr/sbin/smbd --foreground --no-process-group
Dec 13 11:18:32 debian11 systemd[1]: Starting Samba SMB Daemon...
Dec 13 11:18:32 debian11 systemd[1]: Started Samba SMB Daemon.
|