Manual Reference Pages - NGCTL (8)
- netgraph control utility
utility creates a new netgraph node of type
which can be used to issue netgraph commands.
flag is given, no
command is supplied on the command line, and standard input is a tty,
will enter interactive mode.
will execute the supplied command(s) and exit immediately.
Nodes can be created, removed, joined together, etc.
formatted control messages can be sent to any node if that node
supports binary/ASCII control message conversion.
In interactive mode,
will display any control messages and data packets received by the socket node.
In the case of control messages, the message arguments are displayed in
form if the originating node supports conversion.
The options are as follows:
Read commands from the named file.
A single dash represents the standard input.
Blank lines and lines starting with a
to the newly created netgraph node.
The default name is
where XXX is the process ID number.
Increase the debugging verbosity level.
The currently supported commands in
config get or set configuration of node at <path>
connect Connects hook <peerhook> of the node at <relpath> to <hook>
debug Get/set debugging verbosity level
dot Produce a GraphViz (.dot) of the entire netgraph.
help Show command summary or get more help on a specific command
list Show information about all nodes
mkpeer Create and connect a new node to the node at "path"
msg Send a netgraph control message to the node at "path"
name Assign name <name> to the node at <path>
read Read and execute commands from a file
rmhook Disconnect hook "hook" of the node at "path"
show Show information about the node at <path>
shutdown Shutdown the node at <path>
status Get human readable status information from the node at <path>
types Show information about all installed node types
write Send a data packet down the hook named by "hook".
quit Exit program
Some commands have aliases, e.g.,
is the same as
command displays the available
commands, their usage and aliases, and a brief description.
system was designed and first implemented at Whistle Communications, Inc. in
a version of
customized for the Whistle InterJet.
.An Archie Cobbs Aq firstname.lastname@example.org
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.