logconv.pl.1 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. .\" Hey, EMACS: -*- nroff -*-
  2. .\" First parameter, NAME, should be all caps
  3. .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
  4. .\" other parameters are allowed: see man(7), man(1)
  5. .TH LOGCONV.PL 1 "May 18, 2008"
  6. .\" Please adjust this date whenever revising the manpage.
  7. .\"
  8. .\" Some roff macros, for reference:
  9. .\" .nh disable hyphenation
  10. .\" .hy enable hyphenation
  11. .\" .ad l left justify
  12. .\" .ad b justify to both left and right margins
  13. .\" .nf disable filling
  14. .\" .fi enable filling
  15. .\" .br insert line break
  16. .\" .sp <n> insert n+1 empty lines
  17. .\" for manpage-specific macros, see man(7)
  18. .SH NAME
  19. logconv.pl \- analyzes Directory Server access log files
  20. .SH SYNOPSIS
  21. .B logconv.pl
  22. [\fI\-h\fR] [\fI\-d <rootDN>\fR] [\fI\-s <size limit>\fR] [\fI\-v\fR] [\fI\-V\fR]
  23. [\fI\-S <start time>\fR] [\fI\-E <end time>\fR]
  24. [\fI\-efcibaltnxgju\fR] [\fI access log ... ... \fR]
  25. .PP
  26. .SH DESCRIPTION
  27. Analyzes Directory Server access log files for specific information defined on the command
  28. line
  29. .SH OPTIONS
  30. A summary of options is included below:
  31. .TP
  32. .B \fB\-h\fR
  33. help/usage
  34. .TP
  35. .B \fB\-d\fR <Directory Managers DN>
  36. DEFAULT \-> cn=directory manager
  37. .TP
  38. .B \fB\-s\fR <Number of results to return per category>
  39. DEFAULT \-> 20
  40. .TP
  41. .B \fB\-X\fR <IP address to exclude from connection stats>
  42. E.g. Load balancers
  43. .TP
  44. .B \fB\-v\fR show version of tool
  45. Print version of the tool
  46. .TP
  47. .B \fB\-S\fR <time to begin analyzing logfile from>
  48. Time to begin analyzing logfile from
  49. E.g. [28/Mar/2002:13:14:22 \fB\-0800]\fR
  50. .TP
  51. .B \fB\-E\fR <time to stop analyzing logfile>
  52. Time to stop analyzing logfile from
  53. E.g. [28/Mar/2002:13:24:62 \fB\-0800]\fR
  54. .TP
  55. \fB\-V\fR <enable verbose output \- includes all stats listed below>
  56. Verbose output
  57. .TP
  58. .B \fB\-[efcibaltnxgju]\fR
  59. .br
  60. \fBe\fR Error Code stats
  61. .br
  62. \fBf\fR Failed Login Stats
  63. .br
  64. \fBc\fR Connection Code Stats
  65. .br
  66. \fBi\fR Client Stats
  67. .br
  68. \fBb\fR Bind Stats
  69. .br
  70. \fBa\fR Search Base Stats
  71. .br
  72. \fBl\fR Search Filter Stats
  73. .br
  74. \fBt\fR Etime Stats
  75. .br
  76. \fBn\fR Nentries Stats
  77. .br
  78. \fBx\fR Extended Operations
  79. .br
  80. \fBr\fR Most Requested Attribute Stats
  81. .br
  82. \fBg\fR Abandoned Operation Stats
  83. .br
  84. \fBj\fR Recommendations
  85. .br
  86. \fBu\fR Unindexed Search Stats
  87. .br
  88. \fBy\fR Connection Latency Stats
  89. .br
  90. \fBp\fR Open Connection ID Stats
  91. .PP
  92. .SH USAGE
  93. Examples:
  94. .IP
  95. logconv.pl \fB\-s\fR 10 \fB\-V\fR access
  96. .IP
  97. logconv.pl \fB\-d\fR "cn=directory manager" /export/server4/slapd\-host/logs/access*
  98. .IP
  99. logconv.pl \fB\-s\fR 50 \fB\-ibgju\fR access*
  100. .IP
  101. logconv.pl \fB\-S\fR "[28/Mar/2002:13:14:22 \fB\-0800]\fR" \fB\-E\fR "[28/Mar/2002:13:50:05 \fB\-0800]\fR" \fB\-e\fR access
  102. .br
  103. .SH AUTHOR
  104. logconv.pl was written by the 389 Project.
  105. .SH "REPORTING BUGS"
  106. Report bugs to http://bugzilla.redhat.com.
  107. .SH COPYRIGHT
  108. Copyright \(co 2001 Sun Microsystems, Inc. Used by permission.
  109. .br
  110. Copyright \(co 2008 Red Hat, Inc.
  111. .br
  112. This manual page was written by Michele Baldessari <[email protected]>,
  113. for the Debian project (but may be used by others).
  114. .br
  115. This is free software. You may redistribute copies of it under the terms of
  116. the Directory Server license found in the LICENSE file of this
  117. software distribution. This license is essentially the GNU General Public
  118. License version 2 with an exception for plug-in distribution.