The nislog command displays the contents of the transaction log.
nislog [ -h num | -t num ] [ -v ] [directory]...
The nislog command displays the contents of the transaction log.
Each transaction consists of two parts: the particulars of the transaction and a copy of an object definition.
Here is an example that shows the transaction log entry that was made when the wiz.com. directory was first created. XID refers to the transaction ID.
rootmaster# /usr/sbin/nislog -h 1
NIS Log printing facility.
NIS Log dump:
Log state : STABLE
Number of updates : 48
Current XID : 39
Size of log in bytes : 18432
***UPDATES***@@@@@@@@@@@@@@TRANSACTION@@@@@@@@@@@@@@#00000,
XID : 1
Time : Wed Nov 25 10:50:59 1992
Directory : wiz.com.
Entry type : ADD Name
Entry timestamp : Wed Nov 25 10:50:59 1992
Principal : rootmaster.wiz.com.
Object name : org_dir.wiz.com.
...................Object......................
Object Name : org_dir
Owner : rootmaster.wiz.com.
Group : admin.wiz.com.
Domain : wiz.com.
Access Rights : r---rmcdr---r---
Time to Live : 24:0:0
Object Type : DIRECTORY
Name : `org_dir.wiz.com.'
Type: NIS
Master Server : rootmaster.wiz.com.
.
.
................................................
@@@@@@@@@@@@@@TRANSACTION@@@@@@@@@@@@@@
#00000, XID : 2