To run the SNMP agent in background, you must add an ampersand (&) to the command and the issuer of the command must be in z/OS® UNIX superuser mode. For a detailed explanation of the parameters, see z/OS Communications Server: IP Configuration Reference.
osnmpd -c abc -d 255 -p 761
In
this example, the agent will use port 761 to accept requests, community
name 'abc' will be added to the list of community names supported
by the agent, and all agent traces will be activated. For more information
on tracing, see z/OS Communications Server: IP Diagnosis Guide.