From 3079c3e25fc98a7c0f66b48b72932230f96ec2de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Roman=20Sl=C3=ADva?= <roman.sliva@vsb.cz>
Date: Wed, 28 Feb 2024 13:13:02 +0100
Subject: [PATCH] Update job-priority.md - sprio

---
 docs.it4i/general/job-priority.md | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs.it4i/general/job-priority.md b/docs.it4i/general/job-priority.md
index 22a991ebf..3936a7664 100644
--- a/docs.it4i/general/job-priority.md
+++ b/docs.it4i/general/job-priority.md
@@ -55,7 +55,15 @@ Specifying more accurate walltime enables better scheduling, better execution ti
 
 ---8<--- "mathjax.md"
 
+## Inspecting Job Priority
+
+One can inspect job priority using `sprio` command. Job priority is in the field PRIORITY and it comprises of PARTITION, FAIRSHARE and AGE priorities.
+
+```
+$ sprio -l -j 894782
+          JOBID PARTITION     USER  ACCOUNT   PRIORITY       SITE        AGE      ASSOC  FAIRSHARE    JOBSIZE  PARTITION    QOSNAME        QOS        NICE                 TRES
+         894782 qgpu         user1  service  300026688          0         17          0      26671          0  300000000     normal          0           0
+```
 
-[1]: job-submission-and-execution.md#advanced-job-placement
 
 [a]: https://extranet.it4i.cz/rsweb/karolina/queues
-- 
GitLab