shithub: netgraph


branches: front

Clone

clone: git://shithub.us/sirjofri/netgraph gits://shithub.us/sirjofri/netgraph
push: hjgit://shithub.us/sirjofri/netgraph

Last commit

737387ee – sirjofri <sirjofri@sirjofri.de> authored on 2025/08/31 06:47
adds man page

About


     NETGRAPH(1)                                           NETGRAPH(1)

     NAME
          netgraph - generate a network graph of the Plan 9 system

     SYNOPSIS
          netgraph [ -ip ] [ -s systuples ] [ -n ipnettuples ]

     DESCRIPTION
          Netgraph generates a network graph of the Plan 9 system
          based on all data found by the connection service.

          It reads requests from stdin.  Each line has to be one
          request tuple in the format type=what, for example
          sys=cirno. Currently valid requests are:

          for systems:
               sys, ip, dom, ipgw.

          for ipnets:
               ipnet.

          Netgraph will try to find relevant fields for each system
          and ipnet.  You can use the -s and -n parameters to adjust
          the default list of fields.

          In addition to that, netgraph supports the following parame-
          ters:

          -i   By default, netgraph hides fields that are derived from
               the ipnet in the system visualization.  This flag can
               be used to include all relevant ipnet values.

          -p   Netgraph outputs a PostScript file by default.  This
               flag pipes that output through ps2pdf with the proper
               parameters set to have the correct page size.  The out-
               put format will be PDF.

          -s systuples
               The user can adjust the relevant fields to search for
               by providing a comma separated list of field names.

          -n ipnettuples
               This is analog to -s, but for ipnets.

     EXAMPLE
     SOURCE
     SEE ALSO
          ndb(8), ps2pdf(1)

     BUGS
          Sure. Send patches.