<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ps on Cheat Sheet</title><link>/tags/ps/</link><description>Recent content in Ps on Cheat Sheet</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 24 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="/tags/ps/index.xml" rel="self" type="application/rss+xml"/><item><title>ps</title><link>/linux/cli/ps/</link><pubDate>Sun, 24 May 2026 00:00:00 +0000</pubDate><guid>/linux/cli/ps/</guid><description>&lt;h1 id="ps"&gt;&lt;code&gt;ps&lt;/code&gt;&lt;a class="anchor" href="#ps"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;P&lt;/strong&gt;rocess &lt;strong&gt;S&lt;/strong&gt;tatus&lt;/p&gt;
&lt;h2 id="styles"&gt;Styles&lt;a class="anchor" href="#styles"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;h3 id="bsd-style-aux"&gt;BSD Style (&lt;code&gt;aux&lt;/code&gt;)&lt;a class="anchor" href="#bsd-style-aux"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Does not use a dash before options.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;a&lt;/code&gt;&lt;/strong&gt;: Show processes for all users.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;u&lt;/code&gt;&lt;/strong&gt;: Display the process&amp;rsquo;s user/owner and detailed info, eg. CPU, Memory.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;x&lt;/code&gt;&lt;/strong&gt;: Show processes not attached to a terminal TTY.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;w&lt;/code&gt;&lt;/strong&gt;: Wide output. Use twice (&lt;code&gt;-ww&lt;/code&gt;) for unlimited width.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;p&lt;/code&gt;&lt;/strong&gt;: Select by process ID PID.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="dash-style--ef"&gt;Dash Style (&lt;code&gt;-ef&lt;/code&gt;)&lt;a class="anchor" href="#dash-style--ef"&gt;#&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;Standard UNIX options.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;-e&lt;/code&gt;&lt;/strong&gt;: Select all processes.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;-f&lt;/code&gt;&lt;/strong&gt;: Full-format listing.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;-o&lt;/code&gt;&lt;/strong&gt;: User-defined format.
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;comm&lt;/code&gt;: Command name only.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;args&lt;/code&gt;: Command with all its arguments.&lt;/li&gt;
&lt;li&gt;eg. &lt;code&gt;ps -ef -o pid,comm,args&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;-w&lt;/code&gt;&lt;/strong&gt;: Wide output.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;-ww&lt;/code&gt;&lt;/strong&gt;: Unlimited width.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;code&gt;-p&lt;/code&gt;&lt;/strong&gt;: Select by PID.&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>