Linux command: PS (Process Status)
<p>If we pass arguments<strong> with a (-) dash</strong> then we will get the output in standard syntax. In contrast, if we pass arguments<strong> without any (-) dash</strong> then we will get output in BSD (Berkeley Software Distribution) syntax.</p>
<blockquote>
<p><strong><em>To view all running processes : </em></strong><code><strong><em>ps -e</em></strong></code><strong><em> or </em></strong><code><strong><em>ps -A</em></strong></code><br />
<strong><em>To view full formated list of all running processes: </em></strong><code><strong><em>ps -efL</em></strong></code></p>
</blockquote>
<pre>
$ <strong>ps -efL | more </strong> # more for viewing from the beginning<strong>-------------------------------------------------------------------</strong>UID PID PPID LWP C NLWP STIME TTY TIME CMD
root 1 0 1 1 1 03:44 ? 00:00:20 /sbin/init
root 2 0 2 0 1 03:44 ? 00:00:00 [kthreadd]
...
...</pre>
<p>We can use <code><strong>grep</strong></code><strong> </strong>along with <code><strong>ps</strong></code><strong> </strong>command to search for a specific process;<br />
Let’s say we want to see our “httpd” server is running or not. We can do that in the following way:</p>
<p><a href="https://medium.com/geekculture/linux-command-ps-process-status-8a1a76e7bafc"><strong>Read More</strong></a></p>