Annotation of 43BSDReno/contrib/isode-beta/snmp/gawk-2.11/READ-ME-FIRST, revision 1.1

1.1     ! root        1: [ READ-ME-FIRST - Thu Mar  8 00:09:46 1990 - notes on SNMP+gawk - /mtr ]
        !             2: 
        !             3: 
        !             4: 0.   You should already have installed the 4BSD/ISODE SNMP software.
        !             5: 
        !             6: 1.   Get a copy of GNU Awk 2.11 Beta.  Extract the gawk-2.11/ hierarchy
        !             7:      into this directory.
        !             8: 
        !             9: 2.   Apply the patches to the sources by
        !            10: 
        !            11:        % patch -p < GAWK-PATCHES
        !            12: 
        !            13: 3.   Follow the instructions in the README file to configure gawk.
        !            14: 
        !            15: 4.   If your $(INCDIR) is not /usr/include, then add
        !            16: 
        !            17:        -I$(INCDIR)
        !            18: 
        !            19:      to the "FLAGS=" definition in the Makefile.
        !            20: 
        !            21: 5.   Type 
        !            22: 
        !            23:        % make
        !            24: 
        !            25:      to generate gawk.
        !            26: 
        !            27: 6.   As the super-user copy gawk to $(BINDIR) and create the directory
        !            28:      /usr/local/lib/awk.
        !            29: 
        !            30: 7.   At this point you should be able to do a trivial test:
        !            31: 
        !            32:        % gawk -f s-netstat/mib.system
        !            33: 
        !            34:      which will contact your local SNMP agent using the default
        !            35:      community and ask for information from the system group.  The
        !            36:      output looks something like this:
        !            37: 
        !            38:        agent cheetah.nyser.net
        !            39:           running: 4BSD/ISODE SNMP
        !            40:                    (1.3.6.1.4.1.4.1.2.1)
        !            41:          services: applications, end-to-end
        !            42:          location: upstairs machine room
        !            43:           contact: Marshall Rose <[email protected]>
        !            44:            uptime: 5 days, 17 hours, 24 minutes, 37.69 seconds
        !            45: 
        !            46: 8.   Now you can install the one application supplied, s-netstat.  You
        !            47:      might want to call it some other name.  To install it:
        !            48: 
        !            49:        # cp s-netstat/s-netstat.sh $(BINDIR)s-netstat
        !            50:        # cp s-netstat/mib.* /usr/local/lib/awk
        !            51: 
        !            52:      The s-netstat application is like the netstat program, but uses the
        !            53:      SNMP rather than kmem to get information.  The following switches
        !            54:      are implemented:
        !            55: 
        !            56:        -a      show all connections
        !            57:        -s      show statistical information
        !            58:        -m      show mbuf information
        !            59:        -i      show interface information
        !            60:        -r      show routing information
        !            61: 
        !            62:      Here are new switches:
        !            63: 
        !            64:        -z      show address translation (ARP) information
        !            65: 
        !            66:        -Z      show system information
        !            67: 
        !            68:        -e      show EGP information
        !            69: 
        !            70:        -o      show OSI information in addition to Internet information
        !            71:                (this modifies the -i, -s, -r, and -z switches)
        !            72: 
        !            73:      As you might imagine, the syntax is:
        !            74: 
        !            75:        s-netstat [switches] [agent [community]]

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.