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