代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/429717/1946453
awk seq.awk
BEGIN {
if (dir == "")
dir = ".";
}
{
if ($1 == "-" && ($5 == "tcp" || $5 == "ack")) {
split($9,a,"\.");
saddr = a[1];
sport = a[2];
split($10,a,"\.");
daddr = a[1];
dport = a[2];
if ($5
www.eeworm.com/read/429717/1946454
awk tcp.awk
BEGIN {
if (dir == "")
dir = ".";
}
{
time = $2;
saddr = $4;
sport = $6;
daddr = $8;
dport = $10;
hiack = $14;
cwnd = $18;
ssthresh = $20;
srtt = $26;
rttvar = $28;
ownd = $34;
owndcorr = $36;
nr
www.eeworm.com/read/429717/1946460
awk resptime.awk
{
if (NR > 1)
sum += ($3 - $2);
}
END {
if (NR > 1)
print sum/(NR-1);
else
print -1;
}
www.eeworm.com/read/429717/1946461
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/429717/1946466
awk drop.awk
BEGIN {
fsDrops = 0;
otherDrops = 0;
}
($2 >= startTime && $2 0 && op ==
www.eeworm.com/read/429717/1946467
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/428747/1955789
scr awk.scr
/.*\(0x3da.*/||/.*\(0x3ba.*/ {
if (v_3da != 1) print "_v_retrace_";
v_3da = 1;
next;
}
/.*\(0x42.*/||/.*\(0x43.*/ {
if (v_4x != 1) print "_timer_";
www.eeworm.com/read/428543/1959154
awk genrec.awk
END {
srand();
USER_INFO="user_info.ctl";
printf("load data\ninfile *\nappend\ninto table user_info\nfields terminated by '|'\n(\n\tloginname\t\tchar(12),\n\tcreate_ts\tdate(14) 'YYYYMMDD
www.eeworm.com/read/428543/1959170
awk genlog.awk
END {
srand();
outfile="user_log.ctl";
printf("load data\ninfile *\nappend\ninto table user_log\nfields terminated by '|'\n(\n\tlog_id\t\tinteger external,\n\tcreate_ts\tdate(14) 'YYYYMMDD
www.eeworm.com/read/428543/1959183
awk genlog.awk
END {
srand();
CHARGE_FEE="charge_fee.ctl";
printf("load data\ninfile *\nappend\ninto table charge_fee\nfields terminated by '|'\n(\n\tfee_id\t\tinteger external,\n\tcreate_ts\tdate(14) '