Which one is PID1: /sbin/init or systemd

Viewed 9015

I'm using Arch Linux. I have read about systemd, and as I understand it, systemd is the first process, and it starts the rest of the processes. But when I use:

ps -aux

The result shows that /sbin/init has PID 1. And when I use:

pstree -Apn

The result shows that systemd has PID 1. Which is correct? Is /sbin/init starting systemd?

1 Answers
Related