> From owner-freebsd-questi...@freebsd.org Sun Feb 19 04:35:10 2012 > To: freebsd-questions@freebsd.org > From: jb <jb.1234a...@gmail.com> > Date: Sun, 19 Feb 2012 10:28:29 +0000 (UTC) > Subject: ps output > > Hi, > > It's fb9-release. > > Why the other ps entries do not display cron ?
Add a 'ww' -- yes, -two- 'w' characters -- to the ps switches, and see what happens. Now append the pid, '1877' to the end of the ps switches, and try the various ps commands with and without 'ww' specified. Enlightenment will follow. > > $ top > ... > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 1897 root 1 20 0 9644K 1208K nanslp 0 0:03 0.00% cron > ... > > $ ps -ax |grep cron > 1897 ?? Is 0:03.16 /usr/sbin/cron -s > 62278 1 S+ 0:00.01 grep cron > $ ps -a |grep cron > 62337 1 S+ 0:00.00 grep cron > $ ps -aux |grep cron > > man ps > -x When displaying processes matched by other options, include pro- > cesses which do not have a controlling terminal. > > jb > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"