summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl/ngctl.8
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2004-01-09 03:19:40 +0000
committergreen <green@FreeBSD.org>2004-01-09 03:19:40 +0000
commitab0602c74b5aee253176583786f487da55d66907 (patch)
tree4c4e17e615d6080bddf6dd44aa18111fc9acabb9 /usr.sbin/ngctl/ngctl.8
parent73049104d9f3ffff1a96da1b536274a7e04b6297 (diff)
downloadFreeBSD-src-ab0602c74b5aee253176583786f487da55d66907.zip
FreeBSD-src-ab0602c74b5aee253176583786f487da55d66907.tar.gz
Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
very useful .dot files of your netgraph(4) to quickly visualize the nodes, hooks and edges. An example of this can be found here: http://people.freebsd.org/~green/sample-netgraph-dot.ps If anyone would like to refine the output further, please do so.
Diffstat (limited to 'usr.sbin/ngctl/ngctl.8')
-rw-r--r--usr.sbin/ngctl/ngctl.822
1 files changed, 12 insertions, 10 deletions
diff --git a/usr.sbin/ngctl/ngctl.8 b/usr.sbin/ngctl/ngctl.8
index 5680c98..b98d507 100644
--- a/usr.sbin/ngctl/ngctl.8
+++ b/usr.sbin/ngctl/ngctl.8
@@ -97,19 +97,21 @@ The currently supported commands in
are:
.Pp
.Bd -literal -offset indent -compact
-connect Connects two nodes
+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
-help Show command summary or get help on a command
+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 an existing node
-msg Send an ASCII formatted message to a node
-name Assign a name to a node
+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 a node's hook
-show Show information about a node
-shutdown Shutdown a node
-status Get human readable status from a node
-types Show all installed node types
+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
.Ed
OpenPOWER on IntegriCloud