Top "Pid" questions

In computing, the process identifier (normally referred to as the process ID or just PID) is a number used by most operating system kernels (such as that of UNIX, Mac OS X or Microsoft Windows) to (temporarily) uniquely identify a process.

Port 80 is being used by SYSTEM (PID 4), what is that?

I am trying to use port 80 for my application server, but when I perform netstat -aon I get: TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4 …

iis port pid netstat
Why is $$ returning the same id as the parent process?

I have problem with Bash, and I don't know why. Under shell, I enter: echo $$ ## print 2433 (echo $$) ## also print 2433 (./getpid) ## …

bash shell pid subshell
How to check if a process id (PID) exists

In a bash script, I want to do the following (in pseudo-code): if [ a process exists with $PID ]; then kill $…

bash process pid
How to get process ID of background process?

I start a background process from my shell script, and I would like to kill this process when my script …

linux shell background-process pid
How can a Java program get its own process ID?

How do I get the id of my Java process? I know there are several platform-dependent hacks, but I would …

java pid
How to get PID of process by specifying process name and store it in a variable to use further?

By using "ucbps" command i am able to get all PIDs $ ucbps Userid PID CPU % Mem % FD Used Server Port ========================================================================= 512 5783 2.50 16.30 350 …

unix process pid
Determine the process pid listening on a certain port

As the title says, I'm running multiple game servers, and every of them has the same name but different PID …

unix port freebsd pid
ERROR! MySQL manager or server PID file could not be found! QNAP

I am having an issue where MySQL isn't starting on my QNAP NAS. I found this first by not being …

mysql pid qnap
What is a .pid file and what does it contain?

I recently come across a file with the extension .pid and explored inside it but didn't find much. The documentation …

linux unix pid
How does a Linux/Unix Bash script know its own PID?

I have a script in Bash called Script.sh, and it needs to know its own PID (i.e. I …

bash scripting pid