> In the last episode (Nov 23), Forrest Aldrich said:
> > Why does ps not show the full path on 4.0 as in 3.3? (for non-root
> > users)
> > 
> > 4.0> ps -ax
> > 
> >    134  v2  Is+    0:00.00  (getty)
> >    135  v3  Is+    0:00.00  (getty)
> >    136  v4  Is+    0:00.00  (getty)
> >    137  v5  Is+    0:00.00  (getty)
> > 
> > 3.3> ps -ax
> > 
> >    312  v0  Is+    0:00.01 /usr/libexec/getty Pc ttyv0
> >    313  v1  Is+    0:00.01 /usr/libexec/getty Pc ttyv1
> >    314  v2  Is+    0:00.01 /usr/libexec/getty Pc ttyv2
> 
> That just means that on your 4.0 box, the gettys have been swapped out. 
> ps will not swap the process back in just to get the processname unless
> you give it the -f flag (and are root).

$ ps jtva
USER   PID  PPID  PGID   SESS JOBC STAT  TT       TIME COMMAND
root   222     1   222 9dac40    0 Is+   va    0:00.01  (getty)
$ ps fjtva
USER   PID  PPID  PGID   SESS JOBC STAT  TT       TIME COMMAND
root   222     1   222 9dac40    0 Is+   va    0:00.01  (getty)
$ sudo ps jtva
USER   PID  PPID  PGID   SESS JOBC STAT  TT       TIME COMMAND
root   222     1   222 9dac40    0 Is+   va    0:00.01 /usr/libexec/getty Pc tt
$ sudo ps fjtva
USER   PID  PPID  PGID   SESS JOBC STAT  TT       TIME COMMAND
root   222     1   222 9dac40    0 Is+   va    0:00.01 /usr/libexec/getty Pc tt
$ head -1 /etc/motd
FreeBSD 4.0-CURRENT (HAK) #9: Mon Nov 22 01:09:55 GMT 1999

This looks a bit wrong....

> -- 
>       Dan Nelson
>       [EMAIL PROTECTED]

-- 
Brian <[EMAIL PROTECTED]>                        <[EMAIL PROTECTED]>
      <http://www.Awfulhak.org>                   <[EMAIL PROTECTED]>
Don't _EVER_ lose your sense of humour !          <[EMAIL PROTECTED]>




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to