From e480761883fbc0fc0b249db6cf58f31a6cbe0718 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Posp=C3=AD=C5=A1il?= Date: Mon, 1 Sep 2008 08:29:21 +0000 Subject: [PATCH] added HTML and text interface section --- org.glite.lb.doc/src/LBUG-Tools.tex | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/org.glite.lb.doc/src/LBUG-Tools.tex b/org.glite.lb.doc/src/LBUG-Tools.tex index fbe8e90..0f06391 100644 --- a/org.glite.lb.doc/src/LBUG-Tools.tex +++ b/org.glite.lb.doc/src/LBUG-Tools.tex @@ -57,7 +57,31 @@ where verbosity level can be from 0 to 3. \subsection{HTML and plain text interface} -\TODO{fila neco je jenom in \LBnew only} +Since the gLite jobId has the form of a unique URL, it is possible to cut and paste it directly +to the web browser to view the information about the job (esp. its status), e.g. +\begin{verbatim} + firefox https://pelargir.ics.muni.cz:9000/1234567890 +\end{verbatim} +To list all user's jobs, it is possible to query only the \LB server address, e.g. +\begin{verbatim} + firefox https://pelargir.ics.muni.cz:9000 +\end{verbatim} +In all cases it is necessary to have the user certificate installed in the browser. + + +Since \LBnew, it is also possible to obtain the above results in a machine readable +\verb'key=value' form by adding a suffix \verb'text' to the above URLs. For example +\begin{verbatim} + curl -3 --key $X509_USER_KEY --cert $X509_USER_CERT \ + --capath /etc/grid-security/certificates \ + https://pelargir.ics.muni.cz:9000/text +\end{verbatim} +or +\begin{verbatim} + curl -3 --key $X509_USER_KEY --cert $X509_USER_CERT \ + --capath /etc/grid-security/certificates \ + https://pelargir.ics.muni.cz:9000/1234567890/text +\end{verbatim} \subsection{Other useful tools} -- 1.8.2.3