Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../.././../../../usr/demo/dtrace/tcpconnlat.d
Real path: /usr/demo/dtrace/tcpconnlat.d
Zurück
#!/usr/sbin/dtrace -s /* * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. * * This D script is used as an example in the Oracle Solaris 11.4 * Dynamic Tracing Guide in the "tcp Provider" Chapter. * * On machines that have DTrace installed, this script is available as * tcpconnlat.d in /usr/demo/dtrace, a directory that contains all D scripts * used in the Solaris Dynamic Tracing Guide. A table of the scripts and their * corresponding chapters may be found here: * * file:///usr/demo/dtrace/index.html */ tcp:::connect-request { start[args[1]->cs_cid] = timestamp; } tcp:::connect-established /start[args[1]->cs_cid] / { @latency["Connect Latency (ns)", args[3]->tcps_raddr] = quantize(timestamp - start[args[1]->cs_cid]); start[args[1]->cs_cid] = 0; }