<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Hoffman2%3AMonitoring_Jobs</id>
	<title>Hoffman2:Monitoring Jobs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.ccn.ucla.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Hoffman2%3AMonitoring_Jobs"/>
	<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;action=history"/>
	<updated>2026-04-20T06:06:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=3503&amp;oldid=prev</id>
		<title>Dmargolis: /* l33t tip */</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=3503&amp;oldid=prev"/>
		<updated>2017-11-14T21:32:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;l33t tip&lt;/span&gt;&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:32, 14 November 2017&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-l89&quot;&gt;Line 89:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 89:&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;br&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;br&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;br&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;l33t tip&lt;/del&gt;===&lt;/div&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;myjobs&lt;/ins&gt;===&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;Use the command&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;Use the command&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;  $ myjobs&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;  $ myjobs&lt;/div&gt;&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-l95&quot;&gt;Line 95:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 95:&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;  $ qstat -u MYUSERNAME&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;  $ qstat -u MYUSERNAME&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;with less typing.&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;with less typing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;br&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;br&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;==qhold==&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;==qhold==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dmargolis</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=873&amp;oldid=prev</id>
		<title>Ccn admin: 2 revisions</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=873&amp;oldid=prev"/>
		<updated>2014-01-16T03:14:58Z</updated>

		<summary type="html">&lt;p&gt;2 revisions&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:14, 16 January 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ccn admin</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=872&amp;oldid=prev</id>
		<title>Elau at 21:36, 20 March 2012</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=872&amp;oldid=prev"/>
		<updated>2012-03-20T21:36:10Z</updated>

		<summary type="html">&lt;p&gt;&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:36, 20 March 2012&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-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&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;br&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;br&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;You&amp;#039;ve submitted jobs to the queue, but you have no idea how they are doing.  There are some great tools you need to get familiar with:&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;You&amp;#039;ve submitted jobs to the queue, but you have no idea how they are doing.  There are some great tools you need to get familiar with:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* qstat&lt;/div&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;* qstat &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/ins&gt;Status updates about jobs.  More interesting than Facebook?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*: &lt;/del&gt;Status updates about jobs.  More interesting than Facebook?&lt;/div&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;* qhold &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/ins&gt;Put that job on hold so others can cut in line.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* qhold&lt;/div&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;* qrls &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/ins&gt;Release a job from hold, things have to get done.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*: &lt;/del&gt;Put that job on hold so others can cut in line.&lt;/div&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;* qdel &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;- &lt;/ins&gt;Delete a job when it starts misbehaving or you realize you made a typo in your script.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* qrls&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*: &lt;/del&gt;Release a job from hold, things have to get done.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* qdel&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*: &lt;/del&gt;Delete a job when it starts misbehaving or you realize you made a typo in your script.&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;br&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;br&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;br&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Elau</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=871&amp;oldid=prev</id>
		<title>Elau: Created page with &quot;Back to all things Hoffman2  You&#039;ve submitted jobs to the queue, but you have no idea how they are doing.  There are some great tools you need to get familiar with: ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Monitoring_Jobs&amp;diff=871&amp;oldid=prev"/>
		<updated>2012-03-20T21:35:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php/Hoffman2&quot; title=&quot;Hoffman2&quot;&gt;Back to all things Hoffman2&lt;/a&gt;  You&amp;#039;ve submitted jobs to the queue, but you have no idea how they are doing.  There are some great tools you need to get familiar with: ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Hoffman2|Back to all things Hoffman2]]&lt;br /&gt;
&lt;br /&gt;
You&amp;#039;ve submitted jobs to the queue, but you have no idea how they are doing.  There are some great tools you need to get familiar with:&lt;br /&gt;
* qstat&lt;br /&gt;
*: Status updates about jobs.  More interesting than Facebook?&lt;br /&gt;
* qhold&lt;br /&gt;
*: Put that job on hold so others can cut in line.&lt;br /&gt;
* qrls&lt;br /&gt;
*: Release a job from hold, things have to get done.&lt;br /&gt;
* qdel&lt;br /&gt;
*: Delete a job when it starts misbehaving or you realize you made a typo in your script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==qstat==&lt;br /&gt;
Say the name slowly, and you&amp;#039;ll understand immediately what it does.  It gives you the status of the queue...the whole queue.  We don&amp;#039;t recommend running qstat without any flags because it will spit out a firehose of information, feel free to try though.&lt;br /&gt;
&lt;br /&gt;
Instead, it should usually be run as&lt;br /&gt;
 $ qstat -u USER&lt;br /&gt;
where you replace USER with your username.  This instructs qstat to only return the jobs that belong to USER.  If there are no such jobs, nothing will be returned.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
An example output of qstat is shown below&lt;br /&gt;
 job-ID  prior   name       user         state submit/start at     queue                          slots ja-task-ID &lt;br /&gt;
 -----------------------------------------------------------------------------------------------------------------&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/17/2012 15:44:26 mscohen_idre.q@n130                1 77&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 00:27:28 mscohen_idre.q@n129                1 90&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 08:08:56 mscohen_idre.q@n132                1 97&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 13:21:11 mscohen_idre.q@n131                1 102&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 17:43:23 mscohen_idre.q@n130                1 107&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 18:09:55 mscohen_idre.q@n127                1 109&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 18:11:50 mscohen_idre.q@n130                1 110&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 18:14:41 mscohen_idre.q@n129                1 111&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 18:30:59 mscohen_idre.q@n132                1 113&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 18:49:04 mscohen_idre.q@n128                1 115&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 19:05:59 mscohen_idre.q@n132                1 116&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 19:58:29 mscohen_idre.q@n129                1 118&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 20:15:08 mscohen_idre.q@n127                1 120&lt;br /&gt;
 1887245 0.50088 FQt3.cmd   kerr         r     03/18/2012 20:48:27 mscohen_idre.q@n132                1 121&lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s break down each column&lt;br /&gt;
;&amp;lt;code&amp;gt;job-ID&amp;lt;/code&amp;gt;&lt;br /&gt;
: This is the unique numerical identifier given to each job.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;prior&amp;lt;/code&amp;gt;&lt;br /&gt;
: The priority rating given to a job, values range from 0 to 1.  Zero priority means it isn&amp;#039;t running.  Priority at about 0.5 is typical while your job is running.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&lt;br /&gt;
: The name of the job.  Remember you can set this to clever text by [[Hoffman2:Submitting Jobs#Example 2|using the &amp;#039;&amp;#039;-N&amp;#039;&amp;#039; flag in qsub]].&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt;&lt;br /&gt;
: The user to whom the job belongs.  If you used the &amp;#039;&amp;#039;-u&amp;#039;&amp;#039; flag, only one user should be showing up in this column for the whole output of qstat.  But if you ran it without that flag, you will see all sorts of usernames here.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;state&amp;lt;/code&amp;gt;&lt;br /&gt;
: What state is the job in.  There are (at least) four options to choose from:&lt;br /&gt;
:* w&lt;br /&gt;
:*: waiting in line, so execution hasn&amp;#039;t started yet&lt;br /&gt;
:* r&lt;br /&gt;
:*: running, yay!&lt;br /&gt;
:* E&lt;br /&gt;
:*: error...error...your job isn&amp;#039;t working and should be deleted soon&lt;br /&gt;
:* h&lt;br /&gt;
:*: hold, meaning somehow your job has been held up either in line or while running so that no progress is being made.  You may have intentionally held some of your jobs to let other ones you have submitted jump ahead in the queue.  [[Hoffman2:Monitoring Jobs#qhold|How and why would I do this?]]&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;submit/start at&amp;lt;/code&amp;gt;&lt;br /&gt;
: The date when the job was submitted or started running.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;queue&amp;lt;/code&amp;gt;&lt;br /&gt;
: Which queue is this job in.  Some possible values include:&lt;br /&gt;
:* idre.q&lt;br /&gt;
:*: General IDRE queue&lt;br /&gt;
:* msa.q&lt;br /&gt;
:*: General IDRE queue in the Math Sciences data center&lt;br /&gt;
:* pod.q&lt;br /&gt;
:*: General IDRE queue in the [http://www.ats.ucla.edu/news/spotlight.htm#pod POD data center]&lt;br /&gt;
:* express.q&lt;br /&gt;
:*: This is the [http://www.ats.ucla.edu/clusters/hoffman2/computing/batch/policies.htm#express express queue] which has a maximum computing time of 2 hours.&lt;br /&gt;
:* mscohen_idre.q&lt;br /&gt;
:*: These are the nodes that belong to the mscohen resource group.  If you are in that resource group, you can use these computing nodes to [http://www.ats.ucla.edu/clusters/hoffman2/computing/batch/policies.htm#highp run jobs as long as 14 days].&lt;br /&gt;
:* inter_ext.q&lt;br /&gt;
:* eeskin_test.q&lt;br /&gt;
:* hadoop.q&lt;br /&gt;
:* hadoopdev.q&lt;br /&gt;
:*: other generally available queues (as of March 2012)&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;slots&amp;lt;/code&amp;gt;&lt;br /&gt;
: There are multiple &amp;#039;&amp;#039;slots&amp;#039;&amp;#039; available on a given computing node.  These represent individual CPUs.  You generally only need one, but can request more just remember that requesting more resources generally means it will take longer for your job to begin running.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;code&amp;gt;ja-task-ID&amp;lt;/code&amp;gt;&lt;br /&gt;
: There are things called [http://www.ats.ucla.edu/clusters/common/computing/batch/running.htm#array job arrays] which let you run a bunch of parallel jobs using the same script but changing one number each time.  If you submit a job array, that changing number will show up in this column for each of the parallel jobs.  See our tutorial about there [[Hoffman2:Submitting Job Arrays|here]].&lt;br /&gt;
&lt;br /&gt;
The [[Hoffman2:UNIX Tutorial#Learning to Fish or The Man Pages|Man page]] is your friend if you want to learn about other option flags, like how to get the output in XML format, or how to get extended information about resource requirements for each job.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===l33t tip===&lt;br /&gt;
Use the command&lt;br /&gt;
 $ myjobs&lt;br /&gt;
to achieve the same thing as&lt;br /&gt;
 $ qstat -u MYUSERNAME&lt;br /&gt;
with less typing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==qhold==&lt;br /&gt;
Let&amp;#039;s say you submitted 1000 jobs that will take a while to run and are waiting in the queue, but then all of a sudden need to run a single job immediately.  If you submit that single job now, it will have to wait behind all those other jobs.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you could hold the 1000 jobs so that your new single job can cut them in line.  It&amp;#039;s like having friends go ahead of you to the movie premier to save you a spot in line.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
Using the output of [[Hoffman2:Monitoring Jobs#qstat|qstat]], you can know the Job-ID of a particular computing job.  Let&amp;#039;s say you have a job with ID=1234567.  To hold it execute&lt;br /&gt;
 $ qhold 1234567&lt;br /&gt;
&lt;br /&gt;
To hold all of your jobs, you could execute&lt;br /&gt;
 $ qhold -u USERNAME&lt;br /&gt;
where you replace USERNAME with your username.&lt;br /&gt;
&lt;br /&gt;
The [[Hoffman2:UNIX Tutorial#Learning to Fish or The Man Pages|Man page]] is your friend if you want to learn about other option flags.&lt;br /&gt;
&lt;br /&gt;
Now that you held all those jobs to let your new one cut in line, how do you release them so they can run?  Keep reading...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==qrls==&lt;br /&gt;
This tool lets you release jobs from holds so they may continue running.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
If you had previously held job 1234567, execute&lt;br /&gt;
 $ qrls 1234567&lt;br /&gt;
to release it so it may run.&lt;br /&gt;
&lt;br /&gt;
Or to release all of your jobs, execute&lt;br /&gt;
 $ qrls -u USERNAME&lt;br /&gt;
where you replace USERNAME with your username.&lt;br /&gt;
&lt;br /&gt;
The [[Hoffman2:UNIX Tutorial#Learning to Fish or The Man Pages|Man page]] is your friend if you want to learn about other option flags.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==qdel==&lt;br /&gt;
The tool for that moment when you realize the job you submitted will actually delete all your data instead of preprocess it (don&amp;#039;t laugh, it can happen).  This is very similar to qhold and qrls.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
To delete job 1234567, execute&lt;br /&gt;
 $ qdel 1234567&lt;br /&gt;
and it will stop in its tracks.&lt;br /&gt;
&lt;br /&gt;
To delete all the jobs belonging to you, execute&lt;br /&gt;
 $ qdel -u USERNAME&lt;br /&gt;
where you replace USERNAME with your username.&lt;br /&gt;
&lt;br /&gt;
The [[Hoffman2:UNIX Tutorial#Learning to Fish or The Man Pages|Man page]] is your friend if you want to learn about other option flags.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
*[http://www.ats.ucla.edu/clusters/common/computing/batch/sge.htm Commonly used SGE commands]&lt;/div&gt;</summary>
		<author><name>Elau</name></author>
	</entry>
</feed>