Hi,

I learned from Vishesh a few days ago that in order to see the running queries 
in virtuoso,
one can use isql-vt and type status();

However this has issues.

First problem: giving it the port number where virtuoso-t is running. This can 
be automated
using a script like this: http://www.davidfaure.fr/kde/virtuoso_isql_debug (at 
least on OpenSUSE).

Second problem: the queries are shown truncated. This can be fixed by applying 
the
attached patch to virtuoso.

http://kdeatopensuse.wordpress.com/2011/11/09/debugging-nepomukvirtuosos-cpu-usage/
seems to have other hints, including getting the current query from 
nepomukserver using dbus,
which is an alternative solution.

-- 
David Faure, [email protected], http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. KDE Frameworks 5
--- libsrc/Wi/srvstat.c.orig	2012-07-04 08:46:22.956035001 +0200
+++ libsrc/Wi/srvstat.c	2012-07-04 08:59:04.972055406 +0200
@@ -1085,7 +1085,7 @@ status_report (const char * mode, query_
 	{
 	  if (DV_TYPE_OF (data) == DV_C_STRING)
 
-	    rep_printf ("%.80s\n", data);
+	    rep_printf ("%s\n", data);
 	  else
 	    rep_printf ("%12ld ", unbox (data));
 	  dk_free_box (data);
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk

Reply via email to