NetBSD-Users archive

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

Re: top(1) behavior



On Thu, Aug 10, 2023 at 02:13:12PM -0700, Kevin Bowling wrote:
> When running something heavy yet ephemeral like a parallel make, I can
> see expected CPU usage in the summary or per-cpu view.  However, I
> rarely see the process(es) consuming the CPU momentarily during the
> update intervals reflected accordingly in the per process view below.
> I find the behavior somewhat surprising compared to FreeBSD top(1) and
> am wondering what the difference is.

You mean you often don't see the process with STATE CPU/0 (or some other
cpu)?

Maybe FreeBSD uses a different default sort - you could try experimenting
if you get similar display with something like "top -o ..." and various
sort fields.

Martin


Home | Main Index | Thread Index | Old Index