This article will guide you steps on how you stop, start, or restart a #service in #Ubuntu 20.04.
service operates on the files in /etc/init. d and was used in conjunction with the old init system. #systemctl operates on the files in /lib/systemd . If there is a file for your service in /lib/systemd it will use that first and if not it will fall back to the file in /etc/init.
To list all loaded services on your system (whether active; running, exited or failed, use the list-units subcommand and --type switch with a value of service.
To Check running process in #Linux:
1. Open the #terminal #window on Linux.
2. For remote Linux server use the ssh command for log in purpose.
3. Type the ps aux command to see all running process in Linux.
4. Alternatively, you can issue the top command or htop command to view running process in Linux.