cancel
Showing results for 
Search instead for 
Did you mean: 
Trevor
Starfighter Starfighter
Starfighter
  • 382 Views

Which init System?

Systemd is the init system used by the great majority of modern Linux 
distributions - certainly is the case with Red Hat Enterprise Linux (RHEL).

There are various ways (commands) to discover if systemd is the init
system being used on a RHEL system.  So commands that will display 
that information are:

ps  -p  1  -o  comm=                ->  I really like this one

pstree  -p  1

cat   /proc/1/comm

systemctl  --version


Are there any other COMMANDS that will show that systemd is the
init system being used on the system?

 

Trevor "Red Hat Evangelist" Chandler
Labels (2)
3 Replies
Chetan_Tiwary_
Community Manager
Community Manager
  • 369 Views

@Trevor you have given the most frequently used ones. Anyways, trying to do the same from reverse engineering method :

Chetan_Tiwary__0-1728938817249.pngChetan_Tiwary__1-1728938915702.pngChetan_Tiwary__2-1728939003525.png

Chetan_Tiwary__3-1728939304481.png

Chetan_Tiwary_
Community Manager
Community Manager
  • 369 Views

one more : from /sbin/init itself :)D

Chetan_Tiwary__4-1728939460380.png

and ofcourse TOP command :

Chetan_Tiwary__0-1728939673308.png

 

Trevor
Starfighter Starfighter
Starfighter
  • 362 Views

I'll disclose even one more on Wednesday - if no one delivers before then!

 

Trevor "Red Hat Evangelist" Chandler
Join the discussion
You must log in to join this conversation.