Re: kernel 100% CPU
- Reply: Graham Perrin : "Re: kernel 100% CPU"
- In reply to: Graham Perrin : "Re: kernel 100% CPU"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Sep 2023 14:02:56 UTC
On 9/3/23, Graham Perrin <grahamperrin@gmail.com> wrote: > 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 > The script is intended to run when you have git executing for a long time. -- Mateusz Guzik <mjguzik gmail.com>