I'm starting to study desktop applications. I had a question about how I could know if a particular application is running and I was told I could use PID as a solution to be able to detect this.
I usually work with Linux and, from what I understand, it seems to me to be an ID of a process. Would that be it?
I wanted to know a little more detail:
-
What would the PID be?
-
If the PID has to do with the process ID, if the same application is opened twice, will it have the same or different PID ?
-
Is this PID thing Linux or other operating systems use? I mean, is this a default name or something adopted by Linux?