I'm often exposed to various GNU/Linux systems including CentOS, SLES and Debian.
I want to know: what is the recommended method of checking all running services across these systems?
I am aware of service --status-all
and chkconfig
but they are not always available.
Please advise.
Best Answer
Since you are aware of
chkconfig
,service
, and may bentsysv
,rcconf
,but you can check using below command which almost work in all flavor
What is S* ?
the traditional init style makes symlinks that start with S, or K. those with S means "start", and they are run with the "start" parameter when that runlevel is entered. Those with K means "kill", those services are run with the "stop" parameter when that runlevel is entered
Full details:
Output: