I did this way:

# dtrace -s key.d
dtrace: script 'key.d' matched 6 probes
CPU     ID                    FUNCTION:NAME
 7   7957                key_attach:return 0
 7   7969               key_sendup0:return 0
 7   7969               key_sendup0:return 55
 7  24402           key_sendup_mbuf:return 55
 7  11197                 key_parse:return 55
^C


Best regards,
Misak Khachatryan


On Thu, Feb 22, 2018 at 4:09 PM, Misak Khachatryan <kmi...@gmail.com> wrote:
> I'm getting this:
>
> # ./key.d
> : No such file or directory
> # which dtrace
> /usr/sbin/dtrace
>
> Best regards,
> Misak Khachatryan
>
>
> On Thu, Feb 22, 2018 at 3:42 PM, Andrey V. Elsukov <bu7c...@yandex.ru> wrote:
>> On 22.02.2018 12:08, Misak Khachatryan wrote:
>>> That didn help.
>>>
>>> Best regards,
>>> Misak Khachatryan
>>
>> Can you stop racoon and use the following commands and then show the output?
>>
>> # kldload dtraceall
>> # chmod +x ./key.d
>> # ./key.d
>>
>> and from another console run `setkey -x`, show what key.d will print out.
>>
>> --
>> WBR, Andrey V. Elsukov
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to