<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.antiperfect.org/index.php?action=history&amp;feed=atom&amp;title=Resources</id>
	<title>Resources - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.antiperfect.org/index.php?action=history&amp;feed=atom&amp;title=Resources"/>
	<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=Resources&amp;action=history"/>
	<updated>2026-10-18T01:20:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.antiperfect.org/index.php?title=Resources&amp;diff=1243&amp;oldid=prev</id>
		<title>Hdridder: Created page with &quot;Category:Python  The resources modules provides information about the current process.  &lt;syntaxhighlight lang=python&gt; import resource resource.getrusage(resource.RUSAGE_SE...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.antiperfect.org/index.php?title=Resources&amp;diff=1243&amp;oldid=prev"/>
		<updated>2022-01-11T14:11:26Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/index.php?title=Category:Python&quot; title=&quot;Category:Python&quot;&gt;Category:Python&lt;/a&gt;  The resources modules provides information about the current process.  &amp;lt;syntaxhighlight lang=python&amp;gt; import resource resource.getrusage(resource.RUSAGE_SE...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Python]]&lt;br /&gt;
&lt;br /&gt;
The resources modules provides information about the current process.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=python&amp;gt;&lt;br /&gt;
import resource&lt;br /&gt;
resource.getrusage(resource.RUSAGE_SELF)&lt;br /&gt;
&lt;br /&gt;
resource.struct_rusage(ru_utime=0.008208, ru_stime=0.013339, ru_maxrss=5164, ru_ixrss=0, ru_idrss=0, ru_isrss=0, ru_minflt=1420, ru_majflt=2, ru_nswap=0, ru_inblock=1520, ru_oublock=0, ru_msgsnd=0, ru_msgrcv=0, ru_nsignals=0, ru_nvcsw=92, ru_nivcsw=1)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can address the individual items as e.g &amp;lt;code&amp;gt;resource.getrusage(resource.RUSAGE_SELF).ru_maxrss&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Hdridder</name></author>
	</entry>
</feed>