The pgrep command searches the process table on the running system and prints the process IDs of all processes that match the criteria given on the command line.