User Tools

Site Tools


processes-and-jobs

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
processes-and-jobs [2019/04/12 11:21]
Miroslav Bernát
processes-and-jobs [2019/04/12 19:58] (current)
Miroslav Bernát
Line 2: Line 2:
 \\ \\
 ^ PROCESSES ^ ^ ^ PROCESSES ^ ^
-| **chkconfig** <​service>​ <​status>​ | sets the service ​availibility ​on all runlevels, **--list** / **--list** <​service>​ lists all services / specified service and their/its status (**off**/​**on**) on all runlevels, **--add** <​service>​ adds a new service under chkconfig management, **--del** <​service>​ removes a service, **--level** <​runlevel>​ <​service>​ <​status>​ sets the runlevel for a service\\ ''#​ chkconfig httpd on''​\\ ''#​ chkconfig –level 12 qemu off''​\\ ''​$ chkconfig --list | egrep -i "​rexec|rlogin|rsh"''​ |+| **chkconfig** <​service>​ <​status>​ | sets the service ​availability ​on all runlevels, **--list** / **--list** <​service>​ lists all services / specified service and their/its status (**off**/​**on**) on all runlevels, **--add** <​service>​ adds a new service under chkconfig management, **--del** <​service>​ removes a service, **--level** <​runlevel>​ <​service>​ <​status>​ sets the runlevel for a service\\ ''#​ chkconfig httpd on''​\\ ''#​ chkconfig –level 12 qemu off''​\\ ''​$ chkconfig --list | egrep -i "​rexec|rlogin|rsh"''​ |
 | **systemctl** <​status>​ <​service>​\\ (implemented in Red Hat Enterprise Linux 7) | according to the given status (**enable**,​ **disable**,​ **status**) enables / disables / shows status of a service („service unit“)\\ ''#​ systemctl enable httpd(.service)''​\\ ''#​ systemctl list-unit-files --type service''​\\ (lists all services and their status) | | **systemctl** <​status>​ <​service>​\\ (implemented in Red Hat Enterprise Linux 7) | according to the given status (**enable**,​ **disable**,​ **status**) enables / disables / shows status of a service („service unit“)\\ ''#​ systemctl enable httpd(.service)''​\\ ''#​ systemctl list-unit-files --type service''​\\ (lists all services and their status) |
 | **service** <​service>​ <​action>​ | according to the given action (**start**, **stop**, **restart**,​ **reload**, **status**) starts / stops / restarts / reloads configuration file / shows status of a service\\ ''#​ service crond restart''​\\ ''#​ /​etc/​init.d/​crond restart''​\\ ''#​ service --status-all''​\\ (shows the status of all services) | | **service** <​service>​ <​action>​ | according to the given action (**start**, **stop**, **restart**,​ **reload**, **status**) starts / stops / restarts / reloads configuration file / shows status of a service\\ ''#​ service crond restart''​\\ ''#​ /​etc/​init.d/​crond restart''​\\ ''#​ service --status-all''​\\ (shows the status of all services) |
Last modified: 2019/04/12 19:58 by Miroslav Bernát

visits: