Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Sigar

Use pstat_getcommandline on HP-UX 11iv2

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.6.3, 1.7.0
  • Component/s: None
  • Environment:
    HP-UX
  • Case Links:
    none

Description

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://forums.hyperic.com/jiveforums/thread.jspa?threadID=6710

Activity

Hide
Doug MacEachern added a comment -

sigar_proc_args_get now uses pstat_getcommandline if available (commit 2fc550c)

Show
Doug MacEachern added a comment - sigar_proc_args_get now uses pstat_getcommandline if available (commit 2fc550c)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    6 years, 2 weeks, 1 day ago