From a0de4566ffeffcae42e6d01501ff54345320aa81 Mon Sep 17 00:00:00 2001
From: Branislav Jansik <branislav.jansik@vsb.cz>
Date: Wed, 6 Sep 2017 15:53:58 +0200
Subject: [PATCH] Update resources-allocation-policy.md

---
 .../anselm/resources-allocation-policy.md     | 22 +++----------------
 1 file changed, 3 insertions(+), 19 deletions(-)

diff --git a/docs.it4i/anselm/resources-allocation-policy.md b/docs.it4i/anselm/resources-allocation-policy.md
index e4e6bfeaf..618db10ef 100644
--- a/docs.it4i/anselm/resources-allocation-policy.md
+++ b/docs.it4i/anselm/resources-allocation-policy.md
@@ -1,4 +1,4 @@
-# Resources Allocation Policy
+## Resources Allocation Policy
 
 ## Introduction
 
@@ -106,24 +106,8 @@ Options:
   --incl-finished       Include finished jobs
 ```
 
-## Resources Accounting Policy
+---8<--- "resource_accounting.md"
 
-### Core-Hours
 
-The resources that are currently subject to accounting are the core-hours. The core-hours are accounted on the wall clock basis. The accounting runs whenever the computational cores are allocated or blocked via the PBS Pro workload manager (the qsub command), regardless of whether the cores are actually used for any calculation. 1 core-hour is defined as 1 processor core allocated for 1 hour of wall clock time. Allocating a full node (16 cores) for 1 hour accounts to 16 core-hours. See example in the  [Job submission and execution](job-submission-and-execution/) section.
+---8<--- "mathjax.md"
 
-### Check Consumed Resources
-
-!!! note
-    The **it4ifree** command is a part of it4i.portal.clients package, located here: <https://pypi.python.org/pypi/it4i.portal.clients>
-
-User may check at any time, how many core-hours have been consumed by himself/herself and his/her projects. The command is available on clusters' login nodes.
-
-```console
-$ it4ifree
-Password:
-     PID    Total   Used   ...by me Free
-   -------- ------- ------ -------- -------
-   OPEN-0-0 1500000 400644   225265 1099356
-   DD-13-1    10000   2606     2606    7394
-```
-- 
GitLab