579 B
Executable File
579 B
Executable File
tags | title | created | modified | |
---|---|---|---|---|
|
Services and process management | 2021-11-24T23:37:56.443Z | 2021-12-09T21:40:19.872Z |
Services and process management
PS command
ps aux
- display all running services (snapshot) ex.ps aux | grep "ssh"
sudo kill <pid>
- kill process with provided pid, provided byps
commandpkill <process-name>
- kill process by name 😎
on systemd u can also
systemctl | grep <service_name>
- display all running services or grep onesudo systemctl is-enabled ssh
- check if service is enabled