number of processes reported by top versus ps

Christian Walther cptsalek at
Thu Feb 15 08:43:06 UTC 2007

On 15/02/07, Dan Mahoney, System Admin <danm at> wrote:
> Hey all,
> I'm getting about a hundred more processes reported by ps aux|wc -l versus
> the total number of processes in top.  Is this a "normal" thing?  My
> system's been under some heavy load in the past couple days, but it's all
> presumably stable now.

ps -aux and top hide different processes by default. Use top -S to
show all system processes, too. This is the same as doing a ps -auxH

Read the manpages of both commands for more information of what all
these options do.

> -Dan


More information about the freebsd-questions mailing list