Why does pgrep return multiple pid's

Felecha

Golden Member
Sep 24, 2000
1,434
0
0
Trying to remember how I did a pgrep command a couple of months ago (unix rookie).

I thought pgrep <processname> returned a single value (presuming the process is running). When I run it now it returns a list of quite a few. Yet ps -ax shows only one, the first in the list that pgrep produces