PARGS(1) | User Commands | PARGS(1) |
pargs, penv, pauxv - print process arguments, environment variables, or auxiliary vector
pargs [-aceFlx] [pid | core]... pauxv [-cF] [pid | core]... penv [-cF] [pid | core]...
The pargs utility examines a target process or process core file and prints arguments, environment variables and values, or the process auxiliary vector.
pargs outputs unprintable characters as escaped octal in the format \xxx, unless the character is one of the characters specified in the "Escape Sequences" section of formats(7), in which case the character is printed as specified in that section.
pargs attempts to be sensitive to the locale of the target process. If the target process and the pargs process do not share a common character encoding, pargs attempts to employ the iconv(3C) facility to generate a printable version of the extracted strings. In the event that such a conversion is impossible, strings are displayed as 7-bit ASCII.
The pauxv command is equivalent to running pargs with the -x option.
The penv command is equivalent to running pargs with the -e option.
The following options are supported by pargs. Only the -c and -F options are supported by pauxv and penv:
-a
-c
-e
-F
-l
-x
The following operands are supported:
pid
core
Caution should be exercised when using the -F flag. Imposing two controlling processes on one victim process can lead to chaos. Safety is assured only if the primary controlling process, typically a debugger, has stopped the victim process and the primary controlling process is doing nothing at the moment of application of the proc tool in question.
The following exit values are returned:
0
non-zero
/proc/pid/*
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
proc(1), iconv(3C), proc(5), ascii(7), attributes(7), environ(7), formats(7)
October 5, 2015 | OmniOS |