systemctl
/usr/lib/systemdfind /usr/lib/systemd -name "*.target"find /usr/lib/systemd -name "*.service"systemctlsystemctl status systemd-timesyncd
● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/usr/lib/systemd/system/systemd-timesyncd.service; enabled; preset: enabled)
Active: active (running) since Tue 2026-02-17 12:41:43 CET; 1 day 1h ago
Invocation: 8d240ea8c6ce4394bc10d0d6dd970ed0
Docs: man:systemd-timesyncd.service(8)
Main PID: 513 (systemd-timesyn)
Status: "Contacted time server 193.123.56.220:123 (0.debian.pool.ntp.org)."
Tasks: 2 (limit: 74026)
Memory: 2.6M (peak: 3.6M)
CPU: 447ms
CGroup: /system.slice/systemd-timesyncd.service
└─513 /usr/lib/systemd/systemd-timesyncd
Warning: some journal files were not opened due to insufficient permissions.
sudo systemctl list-units
sudo systemctl start <daemon>
Installeer de SSH-server
sudo apt-get install openssh-server
Speel met de status van de SSH-server
sudo systemctl status ssh
sudo systemctl stop ssh
sudo systemctl status ssh
sudo systemctl start ssh
sudo systemctl status ssh
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/usr/lib/systemd/system/ssh.service; enabled; preset: enabled)
Active: active (running) since Mon 2026-02-23 08:31:55 CET; 2 weeks 0 days ago
Invocation: b0ef6827822f4761b22baf0d64555073
Docs: man:sshd(8)
man:sshd_config(5)
Process: 1276 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 1305 (sshd)
Tasks: 1 (limit: 74026)
Memory: 5M (peak: 5.7M)
CPU: 25ms
CGroup: /system.slice/ssh.service
└─1305 "sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups"
Warning: some journal files were not opened due to insufficient permissions.
systemctl -l --state active --type service
Lists alle services die actief zijn.
systemctl -l --state failed --type service
systemctl -l --state active --type target
systemd de basis is voor een Linux systeemsystemctl om services te stoppen en starten