代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/389028/2545040
awk resptime.awk
{
if (NR > 1)
sum += ($3 - $2);
}
END {
if (NR > 1)
print sum/(NR-1);
else
print -1;
}
www.eeworm.com/read/389028/2545041
awk thruput.awk
BEGIN {
s = "";
}
{
if ($1 != "(0,0)->(3,0)") {
sum += $6;
s = sprintf("%s %d", s, $6);
}
}
END {
printf "%s %d", s, sum;
}
www.eeworm.com/read/389028/2545046
awk drop.awk
BEGIN {
fsDrops = 0;
otherDrops = 0;
}
($2 >= startTime && $2 0 && op ==
www.eeworm.com/read/389028/2545047
awk process.awk
#!/usr/local/bin/gawk -f
BEGIN {
erriter = -1;
}
{
iter = $1;
if (iter == erriter)
next;
s = "";
i = 2;
while (index($i,"-")) {
s = sprintf("%s %s", s, $i);
i++;
}
s = sprintf("%s %s
www.eeworm.com/read/389028/2545104
awk seqnos.awk
# This prints the Seqnos, and the fraction of packets with that Seqno.
# Input file:
###########################################
# Distribution of Seqnos, 100 seqnos per bins
# 0 to 99: fraction 0.111
www.eeworm.com/read/389028/2545308
awk rtts.awk
# This prints the RTT in seconds, and the fraction of packets with that RTT.
# Input file:
###########################################
# Distribution of RTTs, 10 ms bins
# 0 to 10 ms: fraction 0.003 n
www.eeworm.com/read/389028/2545561
awk ftp.awk
{
print $2, $4, $1, $5, $6
#print $3, $5, $1, $6, $7
}
www.eeworm.com/read/389028/2545565
awk pkt.awk
{
if ($4 != 0) {
if (($1 == src) && ($2 == dst) && ($4 == size)) {
t=$3-time
if ((t < 0.001) && ($4 > 500)) {
if (($1 != preS) || ($2 != preD)) {
# print $1, $2, $4
print $4
preS=
www.eeworm.com/read/389028/2545576
awk delay.awk
#
# Copyright (C) 2001 by USC/ISI
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplica