3 Replies Latest reply: Jul 8, 2009 6:04 PM by RSS

    [JIRA] Created: (SIGAR-130) Use pstat_getcommandline on HP-UX 11iv2

      Use pstat_getcommandline on HP-UX 11iv2
      ---------------------------------------

                       Key: SIGAR-130
                       URL: http://jira.hyperic.com/browse/SIGAR-130
                   Project: Sigar
                Issue Type: Improvement
               Environment: HP-UX
                  Reporter: Doug MacEachern
                  Assignee: Doug MacEachern


      The HP-UX sigar_proc_args_get implementation uses the pst_status.pst_cmd field which is limited to 64 characters.
      There is a pstat_getcommandline function that has a larger 1k limit, but according to the this thread:
      http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=349348
      "A patched ps on 11i v1 uses pstat_getcommandline(). That is not available as a documented and supported interface until 11i v1.6 or 11i v2."

      Patch posted to the hyperic bugs forum from Tony Ashburner:
      http://communities.vmware.com/thread/352710


      --
      This message is automatically generated by JIRA.
      -
      If you think it was sent incorrectly contact one of the administrators: http://jira.hyperic.com/secure/Administrators.jspa
      -
      For more information on JIRA, see: http://www.atlassian.com/software/jira