Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10259

cmdline parameter severely limited for proc.num, proc.mem, proc.cpu.util on Solaris

XMLWordPrintable

      On Solaris we get the process's command line from /proc/pid/psinfo as struct psinfo. There are several issues with this approach.

      1. pr_psargs member is only 80 bytes. Longer command lines are truncated by kernel.
      2. The buffer contains the command line as it was when the process was started. It is not updated with up-to-date status information as set by zabbix_agentd, postgres and other long-running daemons.

      /usr/ucb/ps looks directly at the process' memory to get up-to-date process titles.

      Not sure if this is the approach that we want to take in Zabbix. We should document these limitations though.

            Unassigned Unassigned
            sandis.neilands Sandis Neilands (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: