SunScreen 3.2 Administrator's Overview

Examples: logdump Command

To process (piped-in) records from the standard input:


admin% ssadm -r Screen log get | ssadm logdump -i- [output args] [filter args]

To process local file log record input:


admin% ssadm logdump -i local_log_file[output args] [filter args]

logdump fundamentally outputs either a stream of log records or readable text in various formats (after applying specified filters).

The presence of the -o option causes (binary) log records to be produced:


admin%ssadm logdump -i input arg -o local_log_file [filter args] 

Omit the -o option to output readable text.

The formatting options for readable text are common to snoop; these are -v, -V, -t[r|a|d], and -xoffset[,length]. For more information, see snoop(1M) man page.