diff options
author | green <green@FreeBSD.org> | 2004-01-09 03:19:40 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2004-01-09 03:19:40 +0000 |
commit | ab0602c74b5aee253176583786f487da55d66907 (patch) | |
tree | 4c4e17e615d6080bddf6dd44aa18111fc9acabb9 /usr.sbin/ngctl/main.c | |
parent | 73049104d9f3ffff1a96da1b536274a7e04b6297 (diff) | |
download | FreeBSD-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/main.c')
-rw-r--r-- | usr.sbin/ngctl/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ngctl/main.c b/usr.sbin/ngctl/main.c index 0867193..34373e8 100644 --- a/usr.sbin/ngctl/main.c +++ b/usr.sbin/ngctl/main.c @@ -62,6 +62,7 @@ static const struct ngcmd *const cmds[] = { &config_cmd, &connect_cmd, &debug_cmd, + &dot_cmd, &help_cmd, &list_cmd, &mkpeer_cmd, |