Skip to main content

Questions tagged [pid]

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

4 votes
1 answer
2k 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 ...
Dime's user avatar
  • 185
18 votes
4 answers
35k 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 ...
Naveed's user avatar
  • 333
3 votes
1 answer
11k 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..." ...
smokinguns's user avatar
  • 1,438
1 vote
1 answer
630 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?
user39186's user avatar
  • 1,113
27 votes
7 answers
78k 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 ...
tintincutes's user avatar
  • 1,237
3 votes
4 answers
3k 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 want)...
math's user avatar
  • 2,653
123 votes
10 answers
279k 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
Vi.'s user avatar
  • 17.3k
8 votes
1 answer
14k 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 ...
Old McStopher's user avatar
0 votes
3 answers
2k 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`; ...
user19489's user avatar
5 votes
3 answers
3k 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.
Evan Fosmark's user avatar
  • 1,875

15 30 50 per page
1 2 3
4