HP-UX Reference (11i v2 07/12) - 1 User Commands N-Z (vol 2)
s
samlog_viewer(1) samlog_viewer(1)
samlog_viewer -s 060508001994 -e 081422001994 -lC -u tom
Noninteractively read data from stdin, timestamp it, and save the result in a file called
stdin.out:
cat datafile | samlog_viewer -t -o stdin.out -
Do the same as above, but instead have the data appear on stdout:
cat datafile | samlog_viewer -t -o - -
or
cat datafile | samlog_viewer -tn -
FILES
/var/sam/log/samlog
SAM logfile.
/var/sam/log/samlog.old
Archived version of
samlog, created when the logfile is automatically
trimmed by SAM when its size becomes too large. Its contents are
included in the log entries read by
samlog_viewer
.
/tmp/LFV_pid Temporary files used by samlog_viewer
.
/tmp/LFV_RUN pid
244 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: December 2007 Update