User Tools

Site Tools


process_start_date_and_time

Process start date and time

# ps -eo pid,lstart,cmd

Example Output:
  PID                  STARTED CMD
  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
process_start_date_and_time.txt · Last modified: 2012/09/07 08:43 by root