66
www.obarun.org

66-info

This command displays information about trees and services.

Interface

Main interface

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

Tree sub interface

	66-info [ -T ] [ -h help ] [ -c | -C ] [ -v verbosity ] [ -l live ] [ -r recurse ] [ -d depth ] tree
	

Service sub interface

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

66-info displays detailed information about a tree or a specific service depending on 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:

   
	               boot           
	Initialized: yes | Current: no
	Contains:       | Enabled: no
	├─(0,Enabled,oneshot) system-hostname
	├─(0,Enabled,oneshot) mount-run
	├─(0,Enabled,oneshot) populate-run
	├─(0,Enabled,oneshot) mount-tmp
	├─(0,Enabled,oneshot) populate-tmp
	├─(0,Enabled,oneshot) mount-proc
	├─(0,Enabled,oneshot) mount-sys
	├─(0,Enabled,oneshot) populate-sys
	├─(0,Enabled,oneshot) mount-dev
	├─(0,Enabled,oneshot) mount-pts
	├─(0,Enabled,oneshot) mount-shm
	├─(0,Enabled,oneshot) populate-dev
	├─(0,Enabled,bundle) 00
	├─(0,Enabled,oneshot) modules-kernel
	├─(490,Enabled,longrun) udevd
	├─(0,Enabled,oneshot) udevadm
	├─(0,Enabled,oneshot) devices-crypttab
	├─(0,Enabled,oneshot) system-hwclock
	├─(0,Enabled,oneshot) system-random
	├─(0,Enabled,oneshot) modules-system
	├─(0,Enabled,oneshot) system-sysctl
	├─(0,Enabled,oneshot) system-fontnkey
	├─(0,Enabled,oneshot) devices-dmraid
	├─(0,Enabled,oneshot) devices-btrfs
	├─(0,Enabled,oneshot) devices-lvm
	├─(0,Enabled,bundle) system-Devices
	├─(0,Enabled,oneshot) system-fsck
	├─(0,Enabled,oneshot) mount-fstab
	├─(0,Enabled,bundle) all-System
	├─(0,Enabled,oneshot) mount-rw
	├─(0,Enabled,oneshot) local-iptables
	├─(0,Enabled,oneshot) local-ip6tables
	├─(0,Enabled,oneshot) local-loop
	├─(0,Enabled,oneshot) local-time
	├─(0,Enabled,oneshot) local-authfiles
	├─(0,Enabled,oneshot) local-tmpfiles
	├─(0,Enabled,oneshot) local-rc
	├─(0,Enabled,oneshot) local-dmesg
	├─(0,Enabled,bundle) all-Local
	├─(0,Enabled,oneshot) mount-cgroups
	├─(0,Enabled,oneshot) mount-swap
	├─(0,Enabled,oneshot) mount-zfs
	├─(0,Enabled,bundle) all-Mount
	├─(0,Enabled,oneshot) all-Runtime
	├─(0,Enabled,bundle) All
	└─(254,Enabled,classic) tty12

	

By default the first service displayed is the first service started, the second one is the second started and so on.

The first line give you the name of the tree, Initialized tells if the tree was initialized with 66-init tool, Current tells if the tree is the current one or not—see 66-tree -c and Enabled reveals the state of the tree—see 66-tree -E. For each service the first number found between '()' bracket is the corresponding pid of the service, the second one is the state of the service, the type of the service is shown next to it. Finally the name of the service is displayed.

By default the dependency graph is rendered in order of execution. In this example the 'classic' tty12 is the last finished service and 'oneshot' filesystem is the first one executed. You can reverse the rendered order with the -r option.

Service output display example

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

	                00                     
	on tree : boot
	status : Enabled, nothing to display
	type : bundle
	description : Set the hostname and mount filesystem
	source : %%service_system%%/boot/mount/
	run at : %%livedir%%/tree/0/boot/servicedirs/00
	             contents                  
	├─(0,Enabled,oneshot) system-hostname
	├─(0,Enabled,oneshot) mount-run
	├─(0,Enabled,oneshot) populate-run
	│ └─(0,Enabled,oneshot) mount-run
	├─(0,Enabled,oneshot) mount-tmp
	├─(0,Enabled,oneshot) populate-tmp
	│ └─(0,Enabled,oneshot) mount-tmp
	├─(0,Enabled,oneshot) mount-proc
	├─(0,Enabled,oneshot) mount-sys
	│ └─(0,Enabled,oneshot) mount-proc
	├─(0,Enabled,oneshot) populate-sys
	│ ├─(0,Enabled,oneshot) mount-proc
	│ └─(0,Enabled,oneshot) mount-sys
	├─(0,Enabled,oneshot) mount-dev
	│ └─(0,Enabled,oneshot) mount-sys
	├─(0,Enabled,oneshot) mount-pts
	│ └─(0,Enabled,oneshot) mount-dev
	├─(0,Enabled,oneshot) mount-shm
	│ └─(0,Enabled,oneshot) mount-dev
	└─(0,Enabled,oneshot) populate-dev
	  └─(0,Enabled,oneshot) mount-dev


	

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

	                ntpd                     
	on tree : root
	status : Disabled, up (pid 786) 2380 seconds
	type : classic
	description : ntpd daemon
	source : %%service_adm%%
	run at : %%livedir%%/scandir/0/ntpd
	            dependencies                 
	└─(785,Disabled,classic) ntpd-log
	              scripts                    
	start script : foreground { mkdir -p  -m 0755 ${dir_run} } 
	execl-cmdline -s { ntpd ${cmd_args} } 
	            environment                  
	dir_run=!/run/openntpd
	cmd_args=!-d -s
	              logger                     
	logger associated : ntpd-log
	log destination : %%system_log%%/ntpd 
	             log file                    	
	2019-03-18 06:50:21.749572500  adjtimex returns frequency of 0.000000ppm
	2019-03-18 06:50:21.764241500  ntp engine ready
	2019-03-18 06:50:21.847440500  adjtimex adjusted frequency by 16.428986ppm
	2019-03-18 06:50:21.847479500  set local clock to Mon Mar 18 06:50:21 +11 2019 (offset 0.000000s)

	

In our case :

Note: 66-info use color to output the informations, the previous examples do not reflect the veritable output concerning the colors.