softflowctl.8 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. .\" $Id: softflowctl.8,v 1.2 2006/03/16 08:24:19 djm Exp $
  2. .\"
  3. .\" Copyright (c) 2002 Damien Miller. All rights reserved.
  4. .\"
  5. .\" Redistribution and use in source and binary forms, with or without
  6. .\" modification, are permitted provided that the following conditions
  7. .\" are met:
  8. .\" 1. Redistributions of source code must retain the above copyright
  9. .\" notice, this list of conditions and the following disclaimer.
  10. .\" 2. Redistributions in binary form must reproduce the above copyright
  11. .\" notice, this list of conditions and the following disclaimer in the
  12. .\" documentation and/or other materials provided with the distribution.
  13. .\"
  14. .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  15. .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  16. .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
  17. .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
  18. .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
  19. .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  20. .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  21. .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  22. .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  23. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  24. .\"
  25. .Dd October 18, 2002
  26. .Dt SOFTFLOWCTL 8
  27. .Os
  28. .Sh NAME
  29. .Nm softflowctl
  30. .Nd Remote control program for softflowd
  31. .Sh SYNOPSIS
  32. .Nm softflowctl
  33. .Op Fl h
  34. .Op Fl c Ar ctl_sock
  35. .Ar command
  36. .Sh DESCRIPTION
  37. .Nm
  38. is a remote control program used to control a running
  39. .Xr softflowd 8
  40. daemon.
  41. .Pp
  42. The command-line options are as follows:
  43. .Bl -tag -width Ds
  44. .It Fl c Ar ctlsock
  45. Specify an alternate location for the remote control socket.
  46. Default is
  47. .Pa /var/run/softflowd.ctl
  48. .It Fl h
  49. Displays commandline usage information.
  50. .El
  51. .Pp
  52. .Sh COMMANDS
  53. .Bl -tag -width Ds
  54. .It Pa shutdown
  55. Ask
  56. .Xr softflowd 8
  57. to gracefully exit. This is equivalent to sending it a
  58. .Dv SIGTERM
  59. or
  60. .Dv SIGINT .
  61. .It Pa exit
  62. Ask
  63. .Xr softflowd 8
  64. to immediately exit. No flow expiry processing or data export is performed.
  65. .It Pa expire-all
  66. Immediately expire all tracked flows.
  67. .It Pa delete-all
  68. Immediately delete all tracked flows. No flow expiry processing or data
  69. export is performed.
  70. .It Pa statistics
  71. Return statistics collected by
  72. .Xr softflowd 8
  73. on expired flows.
  74. .It Pa debug+
  75. Increase the debugging level of
  76. .Xr softflowd 8
  77. .It Pa debug-
  78. Decrease the debugging level.
  79. .It Pa stop-gather
  80. Stops network data collection by
  81. .Xr softflowd 8 .
  82. .It Pa start-gather
  83. Resumes network data collection.
  84. .It Pa dump-flows
  85. Return information on all tracked flows.
  86. .It Pa timeouts
  87. Print information on flow timeout parameters.
  88. .It Pa send-template
  89. Resend a NetFlow v.9 template record before the next flow export.
  90. Has no effect for other flow export versions.
  91. .El
  92. .Sh AUTHORS
  93. Damien Miller <djm@mindrot.org>
  94. .Sh SEE ALSO
  95. .Xr softflowd 8