Solaris commands for process management - ps

ps - print process information and status. In Solaris exist SYSV and BSD variants, respectively /usr/bin/ps and /usr/ucb/ps

bash-3.2# /usr/bin/ps
   PID TTY         TIME CMD
   866 pts/3       0:00 bash
   786 pts/3       0:00 sh
  1007 pts/3       0:00 ps
 

 bash-3.2# /usr/ucb/ps
   PID TT       S  TIME COMMAND
   362 console  S  0:00 /usr/lib/saf/ttymon -g -d /dev/console -l console -T sun-color -m l
   707 pts/2    S  0:00 /usr/dt/bin/sdt_shell -c      unset DT;     DISPLAY=:0;       /usr/
   709 pts/2    S  0:00 -sh -c      unset DT;     DISPLAY=:0;       /usr/dt/bin/dtsession_r
   721 pts/2    S  0:00 /bin/ksh /usr/dt/config/Xsession2.jds
   723 pts/2    S  0:00 /usr/bin/gnome-session
   786 pts/3    S  0:00 sh
   866 pts/3    S  0:00 bash
  1008 pts/3    O  0:00 /usr/ucb/ps

No comments:

Post a Comment

Compressed tar archive

There are some cases when you want to create compressed tar archive but you do not have enough disk space to keep original files and tar arc...