readnsstate.1 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. .TH READNSSTATE 1 "May 13 2016"
  2. .SH NAME
  3. readnsstate \- interpret the contents of cn=replica's nsState value
  4. .B readnsstate
  5. /etc/dirsrv/slapd-INSTANCE/dse.ldif
  6. .PP
  7. .SH DESCRIPTION
  8. Decode and display the content of the nsState attribute from a directory servers cn=replicate object.
  9. .PP
  10. .SH EXAMPLES
  11. .PP
  12. .nf
  13. .RS
  14. sudo /usr/bin/readnsstate /etc/dirsrv/slapd-localhost/dse.ldif
  15. .RE
  16. .fi
  17. .PP
  18. .nf
  19. .RS
  20. For replica cn=replica,cn=dc\3Dexample\2Cdc\3Dcom,cn=mapping tree,cn=config
  21. fmtstr=[H6x3QH6x]
  22. size=40
  23. len of nsstate is 40
  24. CSN generator state:
  25. Replica ID : 5
  26. Sampled Time : 1463100468
  27. Gen as csn : 57352434000000050000
  28. Time as str : Fri May 13 10:47:48 2016
  29. Local Offset : 0
  30. Remote Offset : 276
  31. Seq. num : 0
  32. System time : Fri May 13 14:01:25 2016
  33. Diff in sec. : 11617
  34. Day:sec diff : 0:11617
  35. .RE
  36. .fi
  37. .PP
  38. .SH AUTHOR
  39. readnsstate was written by the 389 Project by richm.
  40. .SH "REPORTING BUGS"
  41. Report bugs to https://fedorahosted.org/389/newticket.
  42. .SH COPYRIGHT
  43. Copyright \(co 2016 Red Hat, Inc.
  44. .br
  45. This manual page was written by William Brown <[email protected]>,
  46. for the 389 Directory Server Project.
  47. .br
  48. This is free software. You may redistribute copies of it under the terms of
  49. the Directory Server license found in the LICENSE file of this
  50. software distribution.