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.

Determine programmatically if a program is running

In C, how can I find out programmatically if a process is already running on Linux/Ubuntu to avoid having …

c linux process pid
If threads share the same PID, how can they be identified?

I have a query related to the implementation of threads in Linux. Linux does not have an explicit thread support. …

multithreading linux-kernel pid
BASH - Check if PID Exists

I want to stall the execution of my BASH script until a process is closed (I have the PID stored …

bash shell pid
Get hwnd by process id c++

How can I get the HWND of application, if I know the process ID? Anyone could post a sample please? …

c++ get pid hwnd
Process name from its pid in linux

How to get a process name from his pid ? For example I execute cat file1.txt, but I want to …

c linux process system pid
Implicit declaration of function ‘wait’

I am getting a warning > Implicit declaration of function ‘wait’ < and when I run the program it works …

c wait pid
getting PID of process started by Process.start()

I am starting an executable using this code: Process proc = new Process(); proc.StartInfo.FileName = executablePath; proc.Start(); proc.WaitForInputIdle(); …

c# .net-4.0 process pid
How to get PID from forked child process in shell script

I believe I can fork 10 child processes from a parent process. Below is my code: #/bin/sh fpfunction(){ n=1 while (($…

linux shell pid
Files being used by a unix process

The fuser command lets me know which processes are using a file or directory. I'm looking for command that does …

unix command-line solaris pid fuser
Capturing exit status code of child process

I have a function that forks a process, duplicates file descriptors for input and output buffers, and then runs execl …

c exec fork pid