[HOW TO] Find the process ID (PID) of a running program

The command pidof allows to find the process ID (PID) of a running program. All that's necessary is to supply the program name/command.

Example

Here we're trying to determine the PID for the Chromium browser. Two processes were found:

$ pidof chromium-browser
4639 4637

References

pidof(8) - Linux manpage

Comments

Popular posts from this blog

[HOW TO] Create QR Codes in Xubuntu 12.04

[FIX] VLC is unable to open the MRL (smb://)

Add items to Xfce Applications Menu