tutorials bash

Find all running processes of a program

Find the pids of all instances/processes of a given program running on your system

Open a terminal and enter ps ax | grep "firefox" ...replacing 'firefox' with the name of the program you are looking for.

The columns in the output are as follows: (1) pid 'process id' (2) tty (3) process state - see man ps (4) process runtime (5) process command.

Over 10,000 developers have bought Create GUI Applications with Python & Qt!
Create GUI Applications with Python & Qt6
More info Get the book

Downloadable ebook (PDF, ePub) & Complete Source code

To support developers in [[ countryRegion ]] I give a [[ localizedDiscount[couponCode] ]]% discount on all books and courses.

[[ activeDiscount.description ]] I'm giving a [[ activeDiscount.discount ]]% discount on all books and courses.