This shows you the differences between two versions of the page.
|
process_start_date_and_time [2012/09/07 07:56] root created |
process_start_date_and_time [2012/09/07 08:43] (current) root |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| PID STARTED CMD | PID STARTED CMD | ||
| 1 Wed Dec 28 16:30:48 2011 init [3] | 1 Wed Dec 28 16:30:48 2011 init [3] | ||
| + | | ||
| + | ====== Process environment variable ====== | ||
| + | |||
| + | # (cat /proc/<PID>/environ; echo) | tr "\000" "\n" | ||
| + | | ||
| + | Example output: | ||
| + | (cat /proc/27704/environ; echo) | tr "\000" "\n" | ||
| + | TERM=xterm | ||
| + | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
| + | PWD=/ | ||
| + | LANG=en_US.UTF-8 | ||
| + | SHLVL=2 | ||
| + | _=/usr/sbin/yum-updatesd | ||
| + | | ||
| + | ====== Process commandline parameters ====== | ||
| + | |||
| + | # (cat /proc/<PID>/cmdline | ||
| + | | ||
| + | Example output: | ||
| + | # cat /proc/27704/cmdline;echo | ||
| + | /usr/bin/python-tt/usr/sbin/yum-updatesd | ||
| + | |||
| + | |||