Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2023 14:50:57 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        Juraj Lutter <otis@FreeBSD.org>, Mateusz Guzik <mjguzik@gmail.com>
Cc:        FreeBSD-CURRENT <freebsd-current@freebsd.org>
Subject:   Re: kernel 100% CPU
Message-ID:  <fd1120f1-71f4-85a1-23ee-181d4c4316de@gmail.com>
In-Reply-To: <79A8D994-65F0-4E5C-9713-8A1B6122DB00@FreeBSD.org>
References:  <95e9f65b-58c4-ef3a-a5d1-b794179e4252@gmail.com> <CAGudoHG%2B4wT-MCP=zE4VqdJYJwTKSLf8GfARvQbGwKZw%2Bz8F_g@mail.gmail.com> <d2e5951a-7c6c-f450-eacc-d8e4f6446118@gmail.com> <CAGudoHEhNG2e2J7Cb2w0EKZ7p_cdq0hie_s67AHCj7x8hfw8SA@mail.gmail.com> <79114b6f-9fe1-2e76-55be-a27cf8c178bf@gmail.com> <79A8D994-65F0-4E5C-9713-8A1B6122DB00@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 03/09/2023 09:01, Juraj Lutter wrote:
> … The script mjg@ provided is not a shell script.
>
> The script filename is “script.d” where you should put the
> above-mentioned DTrace script (without the "dtrace -s script.d -o out” line).


Thanks, I guess that I'm still doing something wrong:


root@mowa219-gjp4-8570p-freebsd:/home/grahamperrin/Documents/IT/BSD/FreeBSD/kernel-cpu 
# time dtrace -s script.d -o /tmp/out
dtrace: script 'script.d' matched 4 probes
^C0.246u 4.049s 27:25.70 0.2%   14+91k 261+0io 274pf+0w
root@mowa219-gjp4-8570p-freebsd:/home/grahamperrin/Documents/IT/BSD/FreeBSD/kernel-cpu 
# cat /tmp/out

CPU     ID                    FUNCTION:NAME
   3      2                             :END

root@mowa219-gjp4-8570p-freebsd:/home/grahamperrin/Documents/IT/BSD/FreeBSD/kernel-cpu 
#




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd1120f1-71f4-85a1-23ee-181d4c4316de>