<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Processes on Daniel Corneschi</title><link>https://blog.corneschi.ro/tags/processes/</link><description>Recent content in Processes on Daniel Corneschi</description><generator>Hugo</generator><language>en</language><copyright>Daniel Corneschi</copyright><lastBuildDate>Sat, 10 Oct 2026 16:22:15 +0300</lastBuildDate><atom:link href="https://blog.corneschi.ro/tags/processes/index.xml" rel="self" type="application/rss+xml"/><item><title>Linux Processes and Signals Cheatsheet</title><link>https://blog.corneschi.ro/cheatsheet/ps/</link><pubDate>Sat, 10 Oct 2026 00:00:00 +0000</pubDate><guid>https://blog.corneschi.ro/cheatsheet/ps/</guid><description>&lt;h2 id="syntax-styles"&gt;Syntax Styles&lt;/h2&gt;&#10;&lt;p&gt;&lt;code&gt;ps&lt;/code&gt; supports three styles of options that can be mixed but behave differently:&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Style&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Syntax&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Example&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;UNIX&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Single dash&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;ps -ef&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;BSD&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;No dash&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;ps aux&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;strong&gt;GNU long&lt;/strong&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Double dash&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;ps --forest&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Mixing styles works but can change the output: &lt;code&gt;ps -fp 310,311&lt;/code&gt; prints the UNIX full format, while &lt;code&gt;ps -fp 310 311&lt;/code&gt; treats the second PID as a BSD-style argument and the columns change (a &lt;code&gt;STAT&lt;/code&gt; column appears, &lt;code&gt;TIME&lt;/code&gt; gets shorter). Stick to one style per command when possible.&lt;/p&gt;&#10;&#10;&lt;/blockquote&gt;</description></item></channel></rss>