Chapter 9, Developing SMUX peers for SNMP agents
Executing an SMUX peer
Executing an SMUX peer
To execute the peer and start it running as root:
-
Ensure that there is an entry in /etc/snmpd.peers
for the peer.
-
Start the peer running in background with the command:
foosmuxd
replacing the string ``foo'' with the identifying string
you chose for your peer.
To run the peer in foreground with
debugging switched on, type:
foosmuxd -v
When the peer is running in foreground, you can kill it by hitting
the <Del> key. To kill a peer running in background use the
kill command.