Viewing processes

You can view a table that shows currently running processes and information about them.

There are several tools for this:– Both of these update in real time so you can see what is going on

One is top

man top
top

top

The other is htop, which is the same as top, but has a colour output.

man htop
htop

htop

These are really useful tools, there is also ps

man ps
$ ps
    PID TTY          TIME CMD
  51221 pts/0    00:00:00 bash
  51239 pts/0    00:00:00 ps
ps -a
    PID TTY          TIME CMD
  51251 pts/0    00:00:00 ps
ps -u
USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
psutton    51221  0.0  0.0  11284  5504 pts/0    Ss   22:51   0:00 bash
psutton    51256  0.0  0.0  13760  4608 pts/0    R+   22:53   0:00 ps -u
ps -x

PID TTY      STAT   TIME COMMAND
   2016 ?        Ss     0:00 /usr/lib/systemd/systemd --user
   2017 ?        S      0:00 (sd-pam)
   2029 ?        S<sl   0:13 /usr/bin/pipewire
   2030 ?        Ssl    0:00 /usr/bin/pipewire -c filter-chain.conf
   2031 ?        S<sl   0:00 /usr/bin/wireplumber
   2033 ?        S<sl   0:21 /usr/bin/pipewire-pulse

Note : Above is NOT full output,

If you are ever unsure as to what a process is, you can try seeing if there is a man page.

NAME
       pipewire - The PipeWire media server

If not, you can look it up using a search tool such as duckduckgo, which from this I found info on wireplumber on the Arch Linux wiki.

Links

Tags

#Bash,#Tools,#Processes,#htop,#top


Mastodon ShellLabs Join Mastodon
AI statement : Consent is NOT granted to use the content of this blog for the purposes of AI training or similar activity. Consent CANNOT be assumed, it has to be granted.

Donate using Liberapay