netfmt.1m (2010 09)
n
netfmt(1M) netfmt(1M)
filter connection node2:ftp 192.6.1.3:1198
6. Format all logged events for subsystem
ip. No other events are formatted. (By default, all
events are formatted):
filter subsystem ip event *
7. Format only event
5003 for subsystem ip. Format all events except
3000 for subsystem
tcp. No other events are formatted.
filter subsystem ip event 5003
filter subsystem tcp event *,!3000
8. Format only events
5003, 5004, 5005, and 5006 for subsystem ip. Format all events except
events
3000, 3002, and 3003 for subsystem
tcp. No other events are formatted:
filter subsystem ip event 5003-5006
filter subsystem tcp event *,!3000,!3002-3003
9. Format only those records containing message IDs
9973 and 9974 for subsystem session
and those not containing message ID 9974 for subsystem
transport. All records from other
subsystems are formatted:
ots session msgid !*
ots session msgid 9973
ots session msgid 9974
ots transport msgid !9974
10. Combine LAN and general filtering options into one configuration file. Format 15 minutes of
pduin and pduout data starting at 3:00 PM on 2 April 1990.
formatter filter kind 0x30000000
formatter filter time_from 15:00:00 04/02/90
formatter filter time_through 15:15:00 04/02/90
AUTHOR
netfmt was developed by HP.
FILES
/etc/nettlgen.conf
default subsystem configuration file
/var/adm/conslog.opts
default console logging options filter file
$HOME/.netfmtrc default filter configuration file if the
-c config_file option is not
used on the command line.
SEE ALSO
nettl(1M), nettlconf(1M), nettlgen.conf(4), strlog(7).
HP-UX 11i Version 3: September 2010 − 9 − Hewlett-Packard Company 9