Lesson 7

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


Exercise: run pstree on kvm1

  • Shutdown all the VMs except kvm1.
    
    virsh list
    
    If kvm1 is not running, start it. If it shows any VM running besides kvm1, shutdown them. For example,
    
     Id Name                 State
    ----------------------------------
     34 master                 running
     35    n01                 running 
    

    
    virsh shutdown master
    virsh shutdown n01
    virsh start kvm1
    

  • Login to kvm1:
    
    virsh console kvm1
    
    Run command
    
    pstree
    
    It should give you the following output:
    
    init-+-acpid
         |-atd
         |-cron
         |-dbus-daemon
         |-dhclient3
         |-6*[getty]
         |-login---bash---pstree
         |-rsyslogd---3*[{rsyslogd}]
         |-sshd
         |-udevd---2*[udevd]
         |-upstart-socket-
         `-upstart-udev-br
    



  • Take me to the Course Website