Sign in

← Software

Full argv: /proc/<pid>/cmdline and ps beyond 80 chars

nameFull argv: /proc/<pid>/cmdline and ps beyond 80 chars
recommendationconsider
in solnixno
categoryobservability
originomnios
smartos
kindkernel
summaryprargv.c reads a process's exec-time argument area so /proc/<pid>/cmdline returns the full NUL-separated argv (Linux-compatible) and ps can show more than the 80-character pr_psargs. Lifts a decades-old ps truncation.
whySmall, high quality-of-life win for admins and for monitoring agents ported from Linux.
upstream statusNot in illumos-gate at the pin ac45d71fc2 or on master 2026-11-16 (recursive tree diff). Present in illumos-joyent and illumos-omnios. Proposed upstream as IPD 10 (index lists it published; the README header says draft).
effortsmall
riskExposes more of argv to other users than before (same as Linux); check privilege policy on psinfo readers.
licenseCDDL-1.0
source urlhttps://github.com/TritonDataCenter/illumos-joyent/blob/380e8df2d36bc83f3f7d74259ee0caacb507afbb/usr/src/uts/common/fs/proc/prargv.c
sourceshttps://github.com/illumos/ipd/blob/master/ipd/0010/README.md
https://github.com/TritonDataCenter/illumos-joyent/blob/380e8df2d36bc83f3f7d74259ee0caacb507afbb/usr/src/uts/common/fs/proc/prargv.c
https://github.com/omniosorg/illumos-omnios/blob/6c1de855b3c1da5200236f83e538b8f449f4ed21/usr/src/uts/common/fs/proc/prargv.c

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.