Lesson 7

Dates: 3/5/2014
Start-up and Run Levels. Scheduled jobs (at, cron)
Linux for Engineering and IT Applications


Init is the parent of all processes

init 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.

hostadm@kvm1:~$ pstree

init-+-acpid
     |-atd
     |-cron
     |-dbus-daemon
     |-dhclient3
     |-6*[getty]
     |-login---bash---pstree 
     |-rsyslogd---3*[{rsyslogd}]
     |-sshd
     |-udevd---2*[udevd]
     |-upstart-socket-
     `-upstart-udev-br



hostadm@kvm1:~$ 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