History log of /freebsd-current/usr.sbin/ngctl/dot.c
Revision Date Author Comments
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 8073c947 04-Oct-2020 Kyle Evans <kevans@FreeBSD.org>

ngctl: add -c (compact output) for the dot command

The output of "ngctl dot" is suitable for small netgraph networks. Even
moderate complex netgraph setups (about a dozen nodes) are hard to
understand from the .dot output, because each node and each hook are shown
as a full blown structure.

This patch allows to generate much more compact output and graphs by
omitting the extra structures for the individual hooks. Instead the names of
the hooks are labels to the edges.

Submitted by: Lutz Donnerhacke <lutz_donnerhacke.de>
Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D21965


# 2889bad8 21-Sep-2015 Conrad Meyer <cem@FreeBSD.org>

ngctl dot: Drop invalid trailing semi-colon

PR: 203257
Submitted by: Daniel O'Connor
Sponsored by: EMC / Isilon Storage Division


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# 9c20ad30 06-Feb-2007 Kevin Lo <kevlo@FreeBSD.org>

getopt(3) returns -1, not EOF.


# 78cdd8ed 24-May-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Unnest includes before forthcoming editing.


# 9fe5fada 27-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Get rid of all (but one in write.c) static size buffers.


# 723c1c2e 26-Jan-2004 Ruslan Ermilov <ru@FreeBSD.org>

Make this WARNS=3 clean.


# bbd6d60a 08-Jan-2004 Brian Feldman <green@FreeBSD.org>

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.