Services status comparison Linux V/s Windows
Linux V/s Windows
- Running Running
- Exited Stop
- Disable Manula
- Enable Automatic
Command Syntax :- systemctl option(start,status,restart) servicename(httpd)
- Show all service which is installed on operating Linux operating system.
# systemctl list-units --type=service
Practical
We will install httpd service on Linux then check above service status.
#yum install httpd
#systemctl status httpd
#systemctl start httpd
#systemctl status httpd
You can check below service running
# reboot (server will reboot) :- When server restart then we manual start the services.
#uptime
#systemctl status httpd
No comments:
Post a Comment