--- layout: default title: usr/share/doc/sysbox/html/tool/readlog.html --- Sysbox: readlog

Sysbox: readlog

Usage: readlog [OPTION]...

Read the system log. The tool can dump the contents of the system log (from the syslog service) to the standard output. The displayed times in the first column is in thousand kernel ticks (in practice in seconds) since boot.

Options:

Examples:

$ readlog -s 500 
[        1.843] [devman] starting target "httpd"
[        1.859] [devman] starting target "telnetd"
[        1.872] [devman] starting target "ftpd"
[        1.886] [devman] starting device "eth0"
[        3.028] [devman] starting target "pci.done"
[        6.028] [prot_dhcp] eth0: sending request
[        6.029] [prot_dhcp] eth0: allocated address: 192.168.0.16, lease time: 86399
[       25.455] [telnetd] Connection accepted from (192.168.0.44, 44412)
$
$ readlog -h -s 500
   1.808] [devman] starting target "sysbox"
[        1.843] [devman] starting target "httpd"
[        1.859] [devman] starting target "telnetd"
[        1.872] [devman] starting target "ftpd"
[        1.886] [devman] starting device "eth0"
[        3.028] [devman] starting target "pci.done"
[        6.028] [prot_dhcp] eth0: sending request
[        6.029] [prot_dhcp] eth0: allocated address: 192.168.0.16, lease time: 86399
[       25.455] [telnetd] Connection accepted from (192.168.0.44, 44412)
$