* <code>jobs:list-details()</code> returns information on the currently running job and possibly others:
<pre class="brush:xml">
<job id="job1" type="XQuery" state="running" user="admin" cached="false" duration="PT0.001S">
XQUERY jobs:list-details()
</job>