Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nis(1)

uname(1)

rpc.nisd(1M)

nislog(1M)

NAME

nislog − display the contents of the NIS+ transaction log

SYNOPSIS

/usr/sbin/nislog [ −h | −t num ] [ −v ] directory...

AVAILABILITY

SUNWnisu

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 transaction 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 root.  It displays the log entries for that server only. 

If directory is not specified, the entire log is searched.  Otherwise, only those logs entries that correspond to the specified directories are displayed. 

OPTIONS

−h [ num ] Display num 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 ] Display num 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. 

FILES

/var/nis/hostname.log
transaction log

SEE ALSO

nis(1), uname(1), rpc.nisd(1M)

SunOS 5.2  —  Last change: 22 Feb 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026