Prtdiag can be pretty expensive in terms of resources and returns a lot of
irrelevant stuff.  Unfortunately, I haven't found the API's to deliver it
any other way, but I'm still looking.  I found another clue today.
Prtconf delivers stuff available in HOST-RESOURCES-MIB and UCD-SNMP-MIB.
Ps-au delivers stuff available in HOST-RESOURCES-MIB.

>exec .1.3.6.1.4.1.2021.50 prtdiag /usr/platform/sun4u/sbin/prtdiag -v
>exec .1.3.6.1.4.1.2021.51 prtconf /usr/sbin/prtconf -pv
>exec .1.3.6.1.4.1.2021.52 ps /usr/bin/ps -ae -o user,pid,ppid,args

Given all three are extremely verbose, perhaps workaround could be found for
them and only query on the stuff you absolutely have to have using execs.


This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to