代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/414826/2141345
awk nstonam.awk
#!/usr/bin/awk
#
# nam fmt:
# eventCode time src dst size attr type conv id
#
# ns fmt:
# eventCode time src dst pktType size flags class src.sport dst.dport
# seqno uid
#
$2 ~ /testName/ {
next;
www.eeworm.com/read/414826/2141346
awk pkts.awk
#
# pkts.awk
# awk script to parse the output of a ns trace file,
# and produce seqno vs time XY data file
#
# Usage:
# awk -f pkts.awk OP= [args] tracefile
#
# [args] can be:
# FID=
www.eeworm.com/read/414826/2141354
awk bw.awk
#
# bw.awk
# awk script to parse the output of a ns trace file,
# and produce mean bandwidth vs time-interval
#
# Usage:
# awk -f bw.awk OP= [args] tracefile
#
# [a
www.eeworm.com/read/414826/2141366
awk avgpktdrop.awk
BEGIN {drops=0; arr=0}
{drops += $16; arr += $12}
END {print "drops = " drops; print "arrivals = " arr; print "avg pkt drop % = " drops/arr}
www.eeworm.com/read/414826/2141464
awk seq.awk
{
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 == "tcp" && !((saddr, sport, daddr, dpor
www.eeworm.com/read/414826/2141465
awk tcp.awk
{
time = $2;
saddr = $4;
sport = $6;
daddr = $8;
dport = $10;
hiack = $14;
cwnd = $18;
ssthresh = $20;
srtt = $26;
rttvar = $28;
if (!((saddr, sport, daddr, dport) in starttime)) {
starttime[saddr,
www.eeworm.com/read/413789/2159360
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/413789/2159373
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) '