summaryrefslogtreecommitdiff
path: root/bin/searchprofiling
diff options
context:
space:
mode:
authororbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-04-24 21:31:07 +0000
committerorbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542>2008-04-24 21:31:07 +0000
commit724bbdf9b242fb3043f9617679d2cbf4133776f9 (patch)
treed4eec273ed1a0040f26b0eeb1dbe790bdcb81114 /bin/searchprofiling
parentb9a2a2d28799e8891ccef72741a780da11de4703 (diff)
refactoring of RSS reader
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4736 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'bin/searchprofiling')
-rwxr-xr-xbin/searchprofiling15
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/searchprofiling b/bin/searchprofiling
index cc08608b6..2f1ea673d 100755
--- a/bin/searchprofiling
+++ b/bin/searchprofiling
@@ -1,12 +1,27 @@
touch /tmp/yp$$.dump
+echo "cleaning search buffer"
curl -s --user $1:$2 http://localhost:8080/Ranking_p.html > /dev/null
+echo "start search for $4"
curl -s -o /tmp/yp$$.query "http://localhost:8080/yacysearch.rss?maximumRecords=10&resource=local&query=$4" &
+curl -s --user $1:$2 http://localhost:8080/Status.html > /dev/null &
+curl -s --user $1:$2 http://localhost:8080/Status.html > /dev/null &
+curl -s --user $1:$2 http://localhost:8080/Status.html > /dev/null &
+curl -s --user $1:$2 http://localhost:8080/Status.html > /dev/null &
+curl -s --user $1:$2 http://localhost:8080/Status.html > /dev/null &
+echo "search started"
curl -s --user $1:$2 "http://localhost:8080/Threaddump_p.html?sleep=0&createThreaddump=&plain=true" >> /tmp/yp$$.dump
+echo "thread dump 1 ready"
curl -s --user $1:$2 "http://localhost:8080/Threaddump_p.html?sleep=$3&createThreaddump=&plain=true" >> /tmp/yp$$.dump
+echo "thread dump 2 ready"
curl -s --user $1:$2 "http://localhost:8080/Threaddump_p.html?sleep=$3&createThreaddump=&plain=true" >> /tmp/yp$$.dump
+echo "thread dump 3 ready"
curl -s --user $1:$2 "http://localhost:8080/Threaddump_p.html?sleep=$3&createThreaddump=&plain=true" >> /tmp/yp$$.dump
+echo "thread dump 4 ready"
curl -s --user $1:$2 "http://localhost:8080/Threaddump_p.html?sleep=$3&createThreaddump=&plain=true" >> /tmp/yp$$.dump
+echo "thread dump 5 ready"
curl -s --user $1:$2 "http://localhost:8080/Threaddump_p.html?sleep=$3&createThreaddump=&plain=true" >> /tmp/yp$$.dump
+echo "thread dump 6 ready"
curl -s --user $1:$2 "http://localhost:8080/Threaddump_p.html?sleep=$3&createThreaddump=&plain=true" >> /tmp/yp$$.dump
+echo "thread dump 7 ready"
cat /tmp/yp$$.dump
rm -f /tmp/yp$$.dump