PID (Process IDentifier) is the number that identifies a process running on a operational system.

learn more… | top users | synonyms

25
votes
4answers
95k views

PID:4 using Port 80

I was trying to install Zend Server CE on my computer but when I got to the point were I need to choose the port for my Web Server it says: "Web Server Port: 80 Occupied". So I decided to check what ...
2
votes
0answers
351 views

Routing packets to different available networks using process' pid / uid

I need to route packets from some processes(unique pids/uids) to desired network connection. So, Suppose we have 4 processes with pids 10, 11, 12, 13 respectively; and we have two network connections ...
3
votes
1answer
1k views

Windows analog of $1 (PID of the last started process)

How to get on Windows PID of the last started process using WScript.Shell or similar? I know how to start a process and get its PID: Set oExec = WshShell.Exec( program ) Set pid = oExec.ProcessID ...
8
votes
4answers
8k views

How to kill one tab of google chrome using pid

I want to close one tab of chrome. I tried killing the pid of the tab, but the tab doesn't close instead says "Aw, Snap! Something went wrong while displaying this webpage. To continue, reload or go ...
3
votes
1answer
6k views

Blink/Flash Text -Shell Script

I have a bash script where I'm zipping some files. This process sometimes takes time depending on the file sizes. I want to get the pid of this command and display a flashing message "Zipping..." ...
1
vote
1answer
138 views

How to identify the process which has loaded a certain file

I have certain file in the disk which I am unable to delete, as it mentions that it's being used by a certain process. How do I identify the process which is using this file?
11
votes
5answers
24k views

PID number in Task Manager can't be found

i tried running netstat -o to check what are the connections which are established. I saw two and they have PID numbers. When I checked it in my Task Manager, I couldn't find those PID numbers. Is ...
2
votes
4answers
2k views

Loop: Start program and kill after time out

for debugging reasons I want to spot one of those bugs showing up just occasionally. Therefore I want to code a while loop in the shell starting the program (if it will segfault => that's what I ...
39
votes
8answers
78k views

How to get parent PID of a given process in GNU/Linux from command line?

Resolved before asked: cat /proc/1111/status | grep PPid
3
votes
1answer
5k views

After forced quit, “killall Finder” says “No matching processes…” but PID still exists?

Here's one for ya. Upon a forced quit of the Finder with unsuccessful relaunch, "killall Finder" in terminal returns: "No matching processes belonging to you were found" Oddly enough, the PID for ...
0
votes
3answers
861 views

How can I check the PID of a X-server in another virtual terminal?

I am trying to open a program in a naked X-server on a different virtual terminal. I am using ubuntu 9.10. The command I'm using is this. openvt -f -s -- `X :2 & '/path/to/program' -display :2`; ...
5
votes
3answers
2k views

Where does the command “top” get its information from in linux?

Which files does the linux command "top" read from in order to build its table of data? Specifically, I'd like to be able to find the data for the "command" column based off of a PID.