代码搜索:awk
找到约 3,459 项符合「awk」的源代码
代码结果 3,459
www.eeworm.com/read/153660/12014161
awk getnoderecv.awk
# getData.awk
BEGIN {
if(step ==0)
step = 10;
base = 0;
start = 0;
bytes = 0;
total_bytes = 0;
max = 0;
calc = 0;
}
$0 ~/^s.* AGT/ {
if (base == 0 && $3 == ("_" src "_")) {
base = $2;
www.eeworm.com/read/153660/12014176
awk getratio.awk
# 初始化设定
BEGIN {
sendLine = 0;
recvLine = 0;
fowardLine = 0;
}
# 应用层收到包
$0 ~/^s.* AGT/ {
sendLine ++ ;
}
# 应用层发送包
$0 ~/^r.* AGT/ {
recvLine ++ ;
}
# 路由层转发包
$0 ~/^f.* R
www.eeworm.com/read/151794/12175743
awk table.awk
#
# convert mnemonic/templates to C structures
#
BEGIN{
print "#include \"table.h\""
print
print "struct tmpl template[] = {"
}
{
if( NF == 0 )
;
else if( NF == 1 ){
www.eeworm.com/read/253409/12225362
awk makeconf.awk
BEGIN {
printf("#include \"apue.h\"\n")
printf("#include \n")
printf("#include \n")
printf("\n")
printf("static void pr_sysconf(char *, int);\n")
printf("static void pr_pathco
www.eeworm.com/read/253409/12225376
awk makeopt.awk
BEGIN {
printf("#include \"apue.h\"\n")
printf("#include \n")
printf("\n")
printf("static void pr_sysconf(char *, int);\n")
printf("static void pr_pathconf(char *, char *, int);\n")
pri
www.eeworm.com/read/338465/12305934
awk rate.awk
(FNR==1){ day_off=$1; t1=$2; o1=$5; f1=$7}
{ t2=($1-day_off)*86400+$2; o2=$5; f2=$7; if (f2!=f1) fwarn=1}
END{
print "delta-t",t2-t1,"seconds"
print "delta-o",o2-o1,"useconds"
if
www.eeworm.com/read/251646/12327766
awk stime.awk
$6 !~ /^ack/ && $5 !~ /[SFR]/ {
# given a tcpdump ftp trace, output one line for each send
# in the form
#
# where is the time packet was sent (in seconds with
www.eeworm.com/read/251646/12327807
awk atime.awk
$6 ~ /^ack/ && $5 !~ /[SFR]/ {
# given a tcpdump ftp trace, output one line for each ack
# in the form
#
# where is the time packet was acked (in seconds with
#