ps problem

Marsh Gosnell mkg at whuxlm.UUCP
Wed Jan 30 13:50:35 AEST 1985


The reason "nohup ps &" produces no output (it just prints the header
line) is that ps with no args defaults to the "current" tty.  The name
of the"current" tty is derived via a ttyname() call which, since stderr is
redirected into a file by nohup does not yield the desired result.
  Marsh Gosnell  whuxlk!mkg  AT&T Bell Laboratories



More information about the Comp.unix mailing list