HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)
n
nislog(1M) nislog(1M)
NAME
nislog - display the contents of the NIS+ transaction log
SYNOPSIS
/usr/sbin/nislog
[ -h num | -t num ][
-v ][directory ... ]
DESCRIPTION
nislog displays the contents of the NIS+ server transaction log on the standard output. This command
can be used to track changes in the namespace. The
/var/nis/hostname.log file contains the tran-
saction log maintained by the NIS+ server. hostname is the string returned by
uname -n. When
updates occur, they are logged to this file and then propagated to replicas as log transactions. When the
log is checkpointed, updates that have been propagated to the replicas are removed.
The
nislog command can only be run on an NIS+ server by superuser. It displays the log entries for
that server only.
If directory is not specified, the entire log is searched. Otherwise, only those log entries that correspond
to the specified directories are displayed.
Options
-h [num]Displaynum transactions from the ‘‘head’’ of the log. If the numeric parameter is omitted, it
is assumed to be
1. If the numeric parameter is 0, only the log header is displayed.
-t [num]Displaynum transactions from the ‘‘tail’’ of the log. If the numeric parameter is omitted, it
is assumed to be 1. If the numeric parameter is 0, only the log header is displayed.
-v Verbose mode.
WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported.
LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming ser-
vices based on LDAP.
FILES
/var/nis/hostname.log
transaction log
AUTHOR
nislog was developed by Sun Microsystems, Inc.
SEE ALSO
nis+(1), uname(1), rpc.nisd(1M), nisfiles(4).
Section 1M−−550 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003