<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rcs.ucalgary.ca/index.php?action=history&amp;feed=atom&amp;title=How_to_generate_a_usage_report_from_SLURM</id>
	<title>How to generate a usage report from SLURM - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rcs.ucalgary.ca/index.php?action=history&amp;feed=atom&amp;title=How_to_generate_a_usage_report_from_SLURM"/>
	<link rel="alternate" type="text/html" href="https://rcs.ucalgary.ca/index.php?title=How_to_generate_a_usage_report_from_SLURM&amp;action=history"/>
	<updated>2026-05-08T09:02:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>https://rcs.ucalgary.ca/index.php?title=How_to_generate_a_usage_report_from_SLURM&amp;diff=2768&amp;oldid=prev</id>
		<title>Lleung: Added navbox</title>
		<link rel="alternate" type="text/html" href="https://rcs.ucalgary.ca/index.php?title=How_to_generate_a_usage_report_from_SLURM&amp;diff=2768&amp;oldid=prev"/>
		<updated>2023-09-21T20:27:37Z</updated>

		<summary type="html">&lt;p&gt;Added navbox&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:27, 21 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l27&quot;&gt;Line 27:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 27:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Guides]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:How-Tos]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:How-Tos]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Navbox Guides}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lleung</name></author>
	</entry>
	<entry>
		<id>https://rcs.ucalgary.ca/index.php?title=How_to_generate_a_usage_report_from_SLURM&amp;diff=2660&amp;oldid=prev</id>
		<title>Lleung: Added categories</title>
		<link rel="alternate" type="text/html" href="https://rcs.ucalgary.ca/index.php?title=How_to_generate_a_usage_report_from_SLURM&amp;diff=2660&amp;oldid=prev"/>
		<updated>2023-09-20T21:57:25Z</updated>

		<summary type="html">&lt;p&gt;Added categories&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:57, 20 September 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For all users, do not specify the list of users:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For all users, do not specify the list of users:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ sreport cluster AccountUtilizationByUser -t Hours Start=2022-01-01&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ sreport cluster AccountUtilizationByUser -t Hours Start=2022-01-01&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Guides]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:How-Tos]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lleung</name></author>
	</entry>
	<entry>
		<id>https://rcs.ucalgary.ca/index.php?title=How_to_generate_a_usage_report_from_SLURM&amp;diff=2071&amp;oldid=prev</id>
		<title>Dmitri: Created page with &quot;= General  =  SLURM provides the &lt;code&gt;sreport&lt;/code&gt; command to generate reports.  = Use cases =  == Getting usage report for specific users ==  The default usage is given in...&quot;</title>
		<link rel="alternate" type="text/html" href="https://rcs.ucalgary.ca/index.php?title=How_to_generate_a_usage_report_from_SLURM&amp;diff=2071&amp;oldid=prev"/>
		<updated>2022-08-19T20:11:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= General  =  SLURM provides the &amp;lt;code&amp;gt;sreport&amp;lt;/code&amp;gt; command to generate reports.  = Use cases =  == Getting usage report for specific users ==  The default usage is given in...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= General  =&lt;br /&gt;
&lt;br /&gt;
SLURM provides the &amp;lt;code&amp;gt;sreport&amp;lt;/code&amp;gt; command to generate reports.&lt;br /&gt;
&lt;br /&gt;
= Use cases =&lt;br /&gt;
&lt;br /&gt;
== Getting usage report for specific users ==&lt;br /&gt;
&lt;br /&gt;
The default usage is given in minutes, to get it in hours use the &amp;lt;code&amp;gt;-t Hours&amp;lt;/code&amp;gt; option.&lt;br /&gt;
&lt;br /&gt;
For &amp;#039;&amp;#039;&amp;#039;user1&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;user2&amp;#039;&amp;#039;&amp;#039;, starting from Jan 1st, 2022 until now:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ sreport cluster AccountUtilizationByUser -t Hours Users=user1,user2 Start=2022-01-01&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
Cluster/Account/User Utilization 2022-01-01T00:00:00 - 2022-08-18T23:59:59 (19868400 secs)&lt;br /&gt;
Usage reported in CPU Hours&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
  Cluster         Account     Login     Proper Name       Used   Energy &lt;br /&gt;
--------- --------------- --------- --------------- ---------- -------- &lt;br /&gt;
arc-admin             all     user1           user1     545651        0 &lt;br /&gt;
arc-admin             all     user2           user2     264997        0 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For all users, do not specify the list of users:&lt;br /&gt;
 $ sreport cluster AccountUtilizationByUser -t Hours Start=2022-01-01&lt;/div&gt;</summary>
		<author><name>Dmitri</name></author>
	</entry>
</feed>