User Tools

Site Tools


linux:centos7_services

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:centos7_services [2019/06/18 13:30]
admin
linux:centos7_services [2019/06/18 13:51] (current)
admin
Line 16: Line 16:
 ===== Check status of service with systemd ===== ===== Check status of service with systemd =====
  
-1. systemd service units correspond to system services. Use the following command to display detailed information about a service unit. This example displays information about the ntpd.service service unit. You can omit the .service extension if you want.+  - systemd service units correspond to system services.Use the following command to display detailed information about a service unit. This example displays information about the ntpd.service service unit. You can omit the .service extension if you want.
  
 <code bash> <code bash>
Line 41: Line 41:
  
 The most recent log entries are displayed if the command is executed by the root user. The most recent log entries are displayed if the command is executed by the root user.
- 
 You would see the status of the service in green (if running) or in red (if stopped) as shown below. You would see the status of the service in green (if running) or in red (if stopped) as shown below.
  
-service status check in RHEL CentOS ​7+{{ :linux:service-status-check-in-rhel-centos-7.png |}} 
  
-2. To list the status of all services:+  - To list the status of all services:
  
 <code bash> <code bash>
Line 65: Line 65:
 You should see the service in disabled mode highlighted with red color and the service in enabled mode highlighted with green color as show below. You should see the service in disabled mode highlighted with red color and the service in enabled mode highlighted with green color as show below.
  
-centOS RHEL 7 find service status+{{ :​linux:​centos-rhel-7-find-service-status.png |}}
  
 ===== Other commands to check the status of service ===== ===== Other commands to check the status of service =====
linux/centos7_services.1560857419.txt.gz · Last modified: 2019/06/18 13:30 by admin