[Hejes-devel] [886] addoutput
hejes-devel at nytud.hu
hejes-devel at nytud.hu
Fri Aug 2 14:13:40 CEST 2013
Revision: 886
Author: mittelholcz
Date: 2013-08-02 14:13:40 +0200 (Fri, 02 Aug 2013)
Log Message:
-----------
addoutput
Modified Paths:
--------------
trunk/misc/log/Makefile
Modified: trunk/misc/log/Makefile
===================================================================
--- trunk/misc/log/Makefile 2013-08-02 08:28:14 UTC (rev 885)
+++ trunk/misc/log/Makefile 2013-08-02 12:13:40 UTC (rev 886)
@@ -21,4 +21,10 @@
echo Re-archiving...
gzip ./helyes.access.log*
gunzip ./helyes.access.log.gz
- gunzip ./helyes.access.log.tsv.gz
\ No newline at end of file
+ gunzip ./helyes.access.log.tsv.gz
+
+# generate new tsv (freq, module, query, output) from log.tsv (stdin)
+addoutput:
+ cut -f 4,5 | sort | uniq -c | sort -nr | ./add_output.py
+ #cut -f 4,5 | sort | uniq -c | sort -nr > a.tmp
+ #cat a.tmp | ./add_output.py
More information about the Hejes-devel
mailing list