summaryrefslogtreecommitdiffstats
path: root/share/dtrace
diff options
context:
space:
mode:
authorgnn <gnn@FreeBSD.org>2015-03-07 21:28:37 +0000
committergnn <gnn@FreeBSD.org>2015-03-07 21:28:37 +0000
commit8bd004971b95dbc091f147216f9268ecaebe85c8 (patch)
tree1cacdce2be4deaf361abeece897f55ea458b8ed5 /share/dtrace
parent4982c87ae2efec410c569397b8bc02e721cd1020 (diff)
downloadFreeBSD-src-8bd004971b95dbc091f147216f9268ecaebe85c8.zip
FreeBSD-src-8bd004971b95dbc091f147216f9268ecaebe85c8.tar.gz
Add execute bits to tcpstate script.
Diffstat (limited to 'share/dtrace')
-rw-r--r--share/dtrace/tcpstate2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/dtrace/tcpstate b/share/dtrace/tcpstate
index 4528bd7..0af68ae 100644
--- a/share/dtrace/tcpstate
+++ b/share/dtrace/tcpstate
@@ -41,6 +41,6 @@ tcp:kernel::state-change
{
newstate = args[3]->tcps_state;
oldstate = args[5]->tcps_state;
- printf("%s\t\t%s\n", tcp_state_string[oldstate],
+ printf("%d %s\t\t%s\n", args[1]->pid, tcp_state_string[oldstate],
tcp_state_string[newstate]);
}
OpenPOWER on IntegriCloud