Linux: Services

In linux a service is also called a Daemons.
It is started in background in the operating systems.

Starting Of services: 

Service sshd start
Or
systemctl start sshd.service


Status of a service:
Systemctl status sshd.service

Or

Service ssh status

This command will show service status of the service sshd


Stop the daemons/Service:

systemctl stop sshd service
Or
service sshd stop



Start a service at boot time 

systemctl enable sshd.service
This will start the service sshd at the boot time 



--------------------------------------------------------------------------------------------------------------------------

Identifying SystemD Startup services:



#pstree | less
we can see at the very top of the heap sits systemD. From it everything else is spawned







Comments

Popular posts from this blog

SNMP Configuration on Brocade Switches

Netapp Clustered Ontap CLI Pocket Guide

Netapp 7-Mode Architecture