Unix interview question# Unix - 噫吁兮,危乎高哉
l*t
1 楼
We have a web log from apache httpd server which can be like:
128.249.149.23 - - [19/Mar/2002:17:14:06 -0500] "GET
/entrez/query.fcgi?cmd=Retrieve&db=OMIM&dopt=Detailed&tmpl=dispomimTemplate&list
_uids=602321 HTTP/1.0" 200 12299 1
"http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?SUBMIT=y"
62.219.219.182 - - [19/Mar/2002:17:14:06 -0500] "GET /corehtml/ncbi_test.css
HTTP/1.1" 304 - 0 "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=&DB=PubMed"
62.219.219.182 - - [19/Mar/2002:17:14:21 -0500] "GE
128.249.149.23 - - [19/Mar/2002:17:14:06 -0500] "GET
/entrez/query.fcgi?cmd=Retrieve&db=OMIM&dopt=Detailed&tmpl=dispomimTemplate&list
_uids=602321 HTTP/1.0" 200 12299 1
"http://www.ncbi.nlm.nih.gov:80/entrez/query.fcgi?SUBMIT=y"
62.219.219.182 - - [19/Mar/2002:17:14:06 -0500] "GET /corehtml/ncbi_test.css
HTTP/1.1" 304 - 0 "http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=&DB=PubMed"
62.219.219.182 - - [19/Mar/2002:17:14:21 -0500] "GE