[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wierd 'ps ax' output



On Wed, Feb 20, 2002 at 09:46:37PM +0000, Jonathan Matthews wrote:
> Can anyone help me work out what this entry in the
> process list is:
> 
> 
>   PID TTY      STAT   TIME COMMAND
> [snip]
>   186 ?        S      0:00 /usr/sbin/cron
> [snip]
> 16891 ?        S      0:00 /USR/SBIN/CRON
> 16892 ?        S      0:00 /bin/sh -c   if [ -x /usr/sbin/exim -a -f /etc/exim/exim.conf ]; then /usr/sbin/exim -q ; fi
> 16893 ?        S      0:00 /usr/sbin/exim -q
> 18318 ?        S      0:00 /usr/sbin/exim -q
> 18319 ?        S      0:00 /usr/sbin/exim -q
> 18320 ?        S      0:00 /usr/bin/procmail
> 18321 ?        S      0:00 /usr/sbin/exim -q
> 
> I'm fine with #186, but why have I got #16891 there?
> According to pstree, it's the parent of the subsequent exim and
> procmail processes, but there's nothing in my /etc/crontab to
> suggest that anything should be going on around now.
> 
> Does this smell fishy to anyone, or am I getting needlessly
> worried?

Needlessly worried.  16891 is a child of 186; you can tell because the
process name is in all caps (you could also tell if you did "ps
fax").

16892 is the child of 16891; it's the script listed in
/etc/cron.d/exim, which runs every 15 minutes.

Cheers,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Ltd.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgpLIUQw0REM2.pgp
Description: PGP signature


Reply to: