66
www.obarun.org

66-info

This command display information of trees and services.

Interface

Main interface

	66-info [ -h help ] [ -T tree ] [ -S service ]
	

Tree sub interface

	66-info [ -T ] [ -h help ] [ -v verbosity ] [ -r recurse ] [ -d depth ] tree
	

Service sub interface

	66-info [ -S ] [ -h help ] [ -v verbosity ] [ -l live ] [ -p n lines ] [ -r recurse ] [ -d depth ] service
	

66-info displays information about the tree or a specific service depending of the options passed.

Main Options

Tree sub options

Service sub options

Tree output display example

The command 66-info -T boot as root user on the Obarun default system displays the following where boot is the tree used to properly boot the machine:

   
   [Name:boot,Current:no,Enabled:no]
    ├─All  :bundle
    ├─boot-extra  :oneshot
    ├─all-Rwfs  :bundle
    ├─rwfs-tmpfiles  :oneshot
    ├─rwfs-66local  :oneshot
    ├─rwfs-dmesglog  :oneshot
    ├─rwfs-end  :oneshot
    ├─rwfs-logfiles  :oneshot
    ├─rwfs-random  :oneshot
    ├─rwfs-localtime  :oneshot
    ├─rwfs-nofilesystem  :oneshot
    ├─rwfs-loopback  :oneshot
    ├─rwfs-ip6tables  :oneshot
    ├─rwfs-iptables  :oneshot
    ├─rwfs-tmpdir  :oneshot
    ├─rwfs-fsrw  :oneshot
    ├─all-Rofs  :bundle
    ├─rofs-kernruntime  :oneshot
    ├─rofs-swap  :oneshot
    ├─rofs-modules  :oneshot
    ├─rofs-Checkfs  :bundle
    ├─checkfs-fscheck  :oneshot
    |─checkfs-lvm  :oneshot
    ├─checkfs-btrfs  :oneshot
    ├─checkfs-dmraid  :oneshot
    ├─rofs-hardclock  :oneshot
    ├─rofs-console  :oneshot
    ├─rofs-Udevd  :bundle
    ├─udevd-udevadm  :oneshot
    ├─udevd-udev  :longrun
    ├─rofs-kernmod  :oneshot
    ├─rofs-cgroups  :oneshot
    ├─00  :bundle
    ├─hostname  :oneshot
    ├─conf  :oneshot
    ├─filesystem  :oneshot
    └─tty12  :classic
	

The first line give you usefull information about the tree itself where Name is the name of the tree, Current if the tree is the current one or not—see 66-tree -c option, Enabled the state of the tree—see 66-tree -E option. In front of each service name, the type of the service is displayed.

By default the service dependencies graph is displayed by finished order of execution. In our case the 'bundle' All is the last finished service and so, 'classic' tty12 is the first one executed.

Service output display example

The command sudo 66-info -S -d3 00 displays the following where 00 is the name of the service:

    [00]
    tree : boot
    status : nothing to display
    type : bundle
    description : mount filesystem, parse the 66.conf file, set the hostname
    contents :
     └─00  :bundle
       ├─filesystem  :oneshot
       ├─conf  :oneshot
       │  └─filesystem  :oneshot
       └─hostname  :oneshot
         └─conf  :oneshot
	

Let's take an another example, the command sudo 66-info -S -p5 ntpd displays the following:

    [ntpd]
    tree : root
    status : up (pid 11458) 30 seconds
    type : classic
    description : ntpd daemon
    logger at : /var/log/66/ntpd 
    2018-12-14 17:56:11.876483500  peer 43.245.48.27 now valid
    2018-12-14 17:56:11.876508500  reply from 43.245.48.27: offset -0.000546 delay 0.035899, next query 5s
    2018-12-14 17:56:12.946922500  reply from 103.106.66.123: offset 0.018069 delay 0.069026, next query 8s
    2018-12-14 17:56:12.947754500  reply from 103.239.8.22: offset 0.001671 delay 0.069848, next query 6s