Dave Shield wrote: > > #if _SLASH_PROC_METHOD_ > #include <procfs.h> > #endif > > add the line > > #undef _SLASH_PROC_METHOD_ > > > Then recompile the agent, re-run it and try retrieving the hrSWRunParameters > value again. > > What does that display? Anything different? > > Unfortunately I do not think that will help, because in both cases you will get a field that can store at maximum PSARGSZ characters (which is 80 in OpenSolaris). There is a tool (pargs) that can be used to get all arguments, but it does it in a rather heavy-handed way (and it appears to be using a private kernel interface.)
Anders ------------------------------------------------------------------------- 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
