I noticed on Solaris 9 with NetSNMP 5.4 that:

HOST-RESOURCES-MIB::hrSWRunParameters is getting truncated and is
equivalent to the ps -ef output. For example taking a look at process
id: 5026


[EMAIL PROTECTED]:# ps -ef | grep 5026
root  5026  4990  0 14:59:54 ?        0:13 /usr/local/jdk/bin/java
-server -Xms256m -Xmx256m -Dorg.omg.CORBA.ORBClass=org.

[EMAIL PROTECTED]:# snmpwalk -v1 -cpublic localhost
HOST-RESOURCES-MIB::hrSWRunParameters.5026

HOST-RESOURCES-MIB::hrSWRunParameters.5026 = STRING: "-server -Xms256m
-Xmx256m -Dorg.omg.CORBA.ORBClass=org."

[EMAIL PROTECTED]:# /usr/ucb/ps -auxwww | grep 5026
root      5026  0.0  2.1362856121568 ?        S 14:59:54
0:13 /usr/local/jdk/bin/java -server -Xms256m -Xmx256m
-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB
-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton
-classpath 
/usr/local/n2bb/alerts/conf:/usr/local/n2bb/alerts/lib/ojdbc14.jar:/usr/local/n2bb/alerts/lib/alerts.jar:/usr/local/n2bb/3rdparty/log4j-1.2.8.jar:/usr/local/n2bb/3rdparty/commons-collections.jar:/usr/local/n2bb/3rdparty/commons-dbcp.jar:/usr/local/n2bb/3rdparty/commons-pool.jar:/usr/local/n2bb/3rdparty/mail.jar:/usr/local/n2bb/3rdparty/activation.jar:/usr/local/JacORB/lib/jacorb.jar:/usr/local/n2bb/SettingsServer/lib/SSModule.jar:/usr/local/n2bb/lib/N2BBLogging.jar:/usr/local/n2bb/lib/smp.jar
 com.n2bb.AlertsModule.AlertServer 1048576 
corbaloc::NameServer:5000/NameService Alerts 42250

I noticed on Linux hrSWRunParameters populates fully.

So, my question is, is this way the implementation on Sun was designed
to work?

Thanks,
John

-- 
===========================================
John Clinton, Netcool Administrator
Mobile 678.717.8864 Office:  678.689.6589

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to