Adam Thornton wrote:
Carey Tyler Schug wrote:
Don't smoke your cigar yet.

At least on Ubuntu, which is derived from Debian, ps --forest only
shows
the tree back as far as the last shell, which comes AFTER the
script, so
it doesn't show the script process.


Mine shows me back as far as the login shell:


Last login: Mon Oct 22 08:46:58 2007 from 192.168.1.79
<adam> services:~ $ bash -l
<adam> services:~ $ bash -l
<adam> services:~ $ bash -l
<adam> services:~ $ ps --forest
  PID TTY          TIME CMD
32268 pts/0    00:00:00 bash
32270 pts/0    00:00:00  \_ bash
32272 pts/0    00:00:00      \_ bash
32273 pts/0    00:00:00          \_ bash
32276 pts/0    00:00:00              \_ ps
<adam> services:~ $ ps --version
procps version 3.2.1

For a different view...
[EMAIL PROTECTED] ~]# ps --forest
  PID TTY          TIME CMD
 4824 pts/9    00:00:00 bash
 5186 pts/9    00:00:00  \_ ps
[EMAIL PROTECTED] ~]# ps -H
  PID TTY          TIME CMD
 4824 pts/9    00:00:00 bash
 5189 pts/9    00:00:00   ps
[EMAIL PROTECTED] ~]#


--

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]

Please do not reply off-list

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to