Topic 8

Dates: 3/8/2017
Start-up and Run Levels. Scheduled jobs (at, cron)
Linux System Administration


Systemd is the parent of all processes

Systemd is the parent of all processes on the system, it is executed by the kernel and is responsible for starting all other processes; it is the parent of all processes whose natural parents have died and it is responsible for reaping those when they die.

Exercise
Login to console of run01 VM.

virsh console run01
Install package psmisc and run command pstree

sudo -s
apt-get install psmisc
pstree

systemd-+-6*[agetty]
        |-cron
        |-dhclient
        |-login---bash---sudo---bash---pstree 
        |-rsyslogd-+-{in:imklog}
        |          |-{in:imuxsock}
        |          `-{rs:main Q:Reg}
        |-sshd
        |-systemd-journal
        |-systemd-timesyn---{sd-resolve}
        `-systemd-udevd


hostadm@run01:~$ pstree -p -l
shows the process tree with their PID in the long (non-truncated) format. /usr/bin/pstree comes with package psmisc.




Take me to the Course Website