Questions tagged [process]
A process is a binary program running continuously on a computer (until terminated) which is managed by the operating system.
1,386
questions
1280
votes
16
answers
1.8m
views
Find out which process is locking a file or folder in Windows
How can I find out which process is locking a file or folder in Windows?
For instance, when trying to delete a folder, Windows reports this:
The action can't be completed because the folder is ...
358
votes
11
answers
778k
views
If I know the PID number of a process, how can I get its name?
If I have the PID number for a process (on a UNIX machine), how can I find out the name of its associated process?
What do I have to do?
163
votes
1
answer
21k
views
Why are there no odd Windows process IDs?
There are many ways to examine process IDs in Windows.
For example, using the PowerShell command:
ps | select Id, ProcessName | Sort Id | ft -AutoSize
We see the following output:
Id ...
158
votes
8
answers
298k
views
How can I know the absolute path of a running process?
If I have multiple copies of the same application on the disk, and only one is running, as I can see with ps, how can I know the absolute path to distinguish it from the others?
136
votes
4
answers
229k
views
What is effect of CTRL + Z on a unix\Linux application
I was curious and confused that what exactly is the behaviour of ctrl+z.
I know, If a process in running in foreground, and we press ctrl+z, it goes to background.
But what exactly happens?. Does it ...
123
votes
10
answers
278k
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
116
votes
2
answers
657k
views
How to stop a process in Terminal [duplicate]
Possible Duplicate:
Ending a process in unix instead of interrupting it
When I task in Terminal, such as ping blah.com, how do I then stop this task (other than closing the Terminal window. In ...
111
votes
16
answers
110k
views
How can I trigger a notification when a job/process ends?
The place I work at has commands that take a long time to execute.
Is there a command/utility that I can use to notify me when the command execution is over? It could be a popup window or maybe a ...
98
votes
4
answers
15k
views
Difference between "a=b" and "export a=b" in bash
What's the difference between:
a=b
and
export a=b
In bash?
I understand that they both define environment variables, but I don't fully understand the difference.
94
votes
8
answers
167k
views
How to find uptime of a linux process
How do I find the uptime of a given linux process.
ps aux | grep gedit | grep -v grep
gives me a whole lot of information which includes the time at which the process was started.
I am specifically ...
91
votes
7
answers
302k
views
Why does WMI Provider Host (WmiPrvSE.exe) keep spiking my CPU?
I generally keep my laptop on 24x7, and at the end of the day it's really annoying to have my thighs burnt because over overheating.
The overheating seems to be a result of WMI Provider Host (...
91
votes
2
answers
351k
views
run powershell command from cmd
how i can run this command from cmd :
powershell.exe "(get-process | ? {$_.Description -eq
"Sysinter Process Explorer"}) | select processname | out-file
$env:APPDATA\example.txt"
i still get ...
89
votes
4
answers
124k
views
Why is the CPU usage reported by top in Linux over 100%?
I've seen the CPU usage go over 100%. How is this possible? Is it because I have four CPU cores, so 100% isn't really the max?
Also, when a program does this, what else can I do in top besides using ...
81
votes
6
answers
94k
views
What's the difference between docker.io and docker?
Trying to learn docker here but I am a bit confused on what the difference is between docker.io and docker. Is docker.io the daemon server and docker the client? Why does the daemon need to run all ...
74
votes
6
answers
108k
views
Is there any way to set the priority of a process in Mac OS X?
I have a background process running at 100% CPU on Mac OS X. All other applications are very slow because of it.
I'd like to set this process to take no more than 50% so that my applications can run ...
71
votes
4
answers
70k
views
SIGTERM with a keyboard shortcut
I know that inside a terminal, Ctrl+C keyboard shortcut will send a SIGINT signal to the current foreground process. Is there a way to setup a keyboard shortcut for sending SIGTERM or even SIGKILL to ...
69
votes
15
answers
146k
views
ps: How can i recursively get all child process for a given pid
How can I get the entire process tree spawned by a given process displayed as a tree and only that tree i.e. no other processes?
The output could e.g. look like
4378 ? Ss 0:10 SCREEN
...
69
votes
3
answers
46k
views
Linux: Is there something similar to "top" for I/O?
My disk often is utilized, but top (and htop, a custom replacement) show nothing suspicious.
Is there a way to sort processes by I/O (more specific: disk) utilization?
EDIT
Found out using iotop ...
67
votes
5
answers
40k
views
Why are there multiple Chrome instances running even though I only have one window (only one tab) open? [duplicate]
Possible Duplicate:
Multiple chrome.exe in Task Manager
In Windows Task Manager it seems that I have multiple Chrome processes running, even though I only have one Chrome window open.
How is ...
67
votes
3
answers
134k
views
What's the difference between an Application, a Process, and a Service?
How are these fundamentally different "things" on Windows?
Aren't all running things Processes?
It seems that every Application has an associated process that shuts it down if it is shut ...
64
votes
6
answers
129k
views
Changing Windows process priority via command line
I want to change Windows process priority via command line.
How can I do that?
60
votes
4
answers
8k
views
Associate a tab in Google Chrome with its process in task manager
How do I identify which process belongs to which tab in Google Chrome?
Normally, I have a (ridiculously) large number of tabs open. If I need to free memory on my box, I would like to choose based ...
59
votes
7
answers
159k
views
Tasklist shows process but taskkill is unable to kill it, even as admin
I am trying to kill chrome on my computer. I ran command prompt as an admin and ran:
C:\WINDOWS\system32>tasklist /FI "IMAGENAME eq chrome.exe"
This returned one item:
Image Name ...
58
votes
7
answers
28k
views
How to identify which process is running which window in Mac OS X?
I’d like to know if it is possible to identify which process is responsible for creating/managing a window in Mac OS X.
For example, when multiple instances of an application are started, how can I ...
57
votes
3
answers
44k
views
Can a process be frozen temporarily in linux?
I was wondering if there is a way to freeze any process for a certain amount of time?
What I mean is that: is it possible for one application (probably running as root) to pause the execution of ...
57
votes
4
answers
74k
views
How do I find out what processes are accessing the hard disk in a GNU/Linux-based system?
I'm looking for the equivalent to top for disk access, so I can tell which process(es) are currently reading and/or writing to disk. I'm currently using Ubuntu, but I imagine there's a standard tool ...
55
votes
17
answers
135k
views
How do I kill a process that is dead but listening?
I'm developing an app that listens on port 3000. Apparently there's an instance of it still listening to the port because whenever I start it, it can't create a listener (C#, TcpListener, but that's ...
54
votes
8
answers
67k
views
How to run commands as in a queue
I need to do a lot of copying of various files to various folders. I can add all my copy commands to a bash script and then run that, but then I must wait until it finishes if I want to add more ...
53
votes
4
answers
40k
views
How are PIDs generated?
On *nix, PIDs are unique identifiers for running processes. How are PIDs generated? Is it just an integer which gets incremented? Or is it a more complex structure such as a list? How do they get ...
52
votes
1
answer
114k
views
In UNIX, what are the Ss, Sl, and Ssl proccess types I see with ps aux?
When doing a ps aux command, I see some process listed as Ss, Ssl and Sl.
What do these mean?
root 24653 0.0 0.0 2256 8 ? Ss Apr12 0:00 /bin/bash -c /usr/bin/python /var/...
51
votes
4
answers
72k
views
How do you find the parent process of a zombie process?
How do you find the parent process of zombie processes?
When the child process is something where the parent is not entirely obvious...
Is there some way to list processes in tree format or ...
50
votes
9
answers
139k
views
How to automatically restart a linux background process if it fails?
I have a process which is executed by init.d script on the background. Eg:
case "$1" in
start)
/bin/myprocess &
stop)
killall myprocess
restart)
killall ...
45
votes
6
answers
119k
views
How to limit a process to a single CPU core?
How do you limit a single process program run in a Windows environment to run only on a single CPU on a multi-core machine?
Is it the same between a windowed program and a command line program?
...
45
votes
4
answers
8k
views
How to identify which program has left a portion of its UI floating on my screen?
I noticed that what looks like a tooltip saying "Increase Indent" is floating homeless on my screen. Here it is with the edge of the browser window beneath it:
It has attained nearly infinite Z-order ...
44
votes
3
answers
85k
views
How to show full command line of all processes in Windows
On Windows, in the Task Manager it is possible to see the command line of each processes but it is truncated.
How can I see the complete command line of each running process?
42
votes
4
answers
80k
views
Why do Windows 10 foreground apps mysteriously launch as background processes?
Occasionally Task Manager shows that "Store", "Settings", and/or "Calculator" are mysteriously running as background processes.
There's no corresponding foreground application, just the background ...
41
votes
2
answers
37k
views
What does the process 'Locum' do?
I am seeing a process titled, 'Locum' show up in my OS X process list. Does anyone know the details of what this process does?
40
votes
1
answer
14k
views
How to find source process of unknown popup in Windows 7 [duplicate]
A random popup appears in Windows 7 titled as Information with a progress bar and a clock. The window sometimes says Please wait a moment..., and the progress bar moves very slowly and disappears.
I ...
37
votes
4
answers
18k
views
How does WSL/WSL2/WSLg work without systemd?
As I've understood it, systemd is Linuxes' "master"-daemon, managing all other processes right after it has been started up and run its init-function.
Since I had this (now resolved) issue, ...
37
votes
6
answers
14k
views
Why can't you have both high instructions per cycle and high clock speed?
The Megahertz Myth became a promotional tactic due to differences between the PC's INTEL 8086 processor and Apple's Rockwell 6502 processor. The 8086 ran at 4.77MHz while the 6502 ran at 1MHz. ...
36
votes
4
answers
61k
views
How to change I/O priority of a process or thread in Win7?
Process Explorer is able to show the effective IO priority of a given thread, but not change it. Seeing as IO priority support is a comparatively new feature, most programs don't set their own IO ...
34
votes
4
answers
94k
views
Which files are opened by a specific application?
Is there a way to list all files that are currently opened by a specific process in Windows?
I mean files that got have an fopen, but never got an fclose by a specific process.
I tried to use ...
34
votes
2
answers
2k
views
What does the svchost.exe process do?
On all Windows machines there seem to be a number of svchost.exe processes running. What do this processes do and why are so many running?
33
votes
10
answers
61k
views
Why sometimes Windows cannot kill a process?
Right now I'm trying to Run/Debug my application in Visual Studio, but it cannot create it because the last instance of the app.vshost.exe is still running. Then, by using the Task Manager I'm trying ...
33
votes
11
answers
18k
views
Application for monitoring all applications that are using the internet in Mac OS X
Can anyone introduce me a Mac OS X application that monitors all network activity such as what applications are now connected to the internet and how much bandwidth they use (I mean show bandwidth ...
33
votes
6
answers
35k
views
How can I log my hard drive activity by program?
I am using Windows XP and am looking for a utility that can tell me the percentage of hard drive activity a program is using.
Basically, I'm looking for something like Task Manager and its ability ...
33
votes
3
answers
79k
views
On Windows, how can I gracefully ask a running program to terminate?
On Unix or Linux, it's easy to gracefully ask a running application to terminate: you send it the SIGTERM signal. If its process ID is 1234, you can simply run kill 1234 or kill -s TERM 1234 or kill ...
32
votes
3
answers
91k
views
Is there a command in Linux to know the processor number in which a process is loaded?
Is there any command in Linux to figure out, given a process, which processor the process is running? I am interested in figuring out the CPU busy and CPU idle time of that processor.
32
votes
4
answers
46k
views
Route the traffic over specific interface for a process in linux
Is it possible to route the traffic used by a process over a specific interface?
For example, network traffic by download application should always use the interface wlan0 whereas all other ...
32
votes
8
answers
59k
views
Kill a process with a specific "Command Line" from command line
Is there a command line utility that kills all processes with a specific command line?
E.g. kill all processes named "java.exe" with a command line that contains "-jar selenium-server.jar". This is ...