A process is a binary program running continuously on a computer (until terminated) which is managed by the operating system.

learn more… | top users | synonyms (1)

208
votes
9answers
299k 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 ...
150
votes
1answer
18k 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 ...
97
votes
7answers
178k 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?
76
votes
6answers
249k 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 ...
66
votes
5answers
28k 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 ...
57
votes
5answers
5k 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 ...
53
votes
11answers
29k 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 ...
50
votes
7answers
76k views

How can I know the absolute path of a running process?

If I have multiple copies of the same app on the disk, and only one is running, as I can see with ps, how can I know the absolute path to distinguish from the others?
49
votes
8answers
5k views

Before Operating systems, What concept was used to make them work? [closed]

The Operating systems have been tightly related to the computer architecture.An OS takes care for all input and output in a computer system. It manages users, processes, memory management, printing, ...
47
votes
4answers
68k 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 ...
45
votes
9answers
88k 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
40
votes
3answers
18k 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 ...
40
votes
2answers
34k 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?
38
votes
3answers
36k 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 ...
37
votes
4answers
3k 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.
35
votes
1answer
3k views

How to find source process of unknown popup in Windows 7

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. ...
34
votes
2answers
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
4answers
31k 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 ...
33
votes
5answers
8k 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. ...
32
votes
2answers
14k 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 ...
31
votes
4answers
36k 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 ...
31
votes
6answers
27k 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 ...
30
votes
2answers
32k 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 ...
29
votes
2answers
163k 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. ...
29
votes
10answers
14k 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 ...
29
votes
15answers
74k 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 ...
28
votes
4answers
14k views

How are PID's generated?

On *nix, PIDs are unique identifiers for running processes. How are PID's generated? Is it just an integer which gets incremented or a more complex structure such as a list? How do they get recycled? ...
27
votes
3answers
29k 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 ...
25
votes
3answers
46k views

What's the difference between an Application, Process, and Services?

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 down. ...
24
votes
9answers
67k views

How to disable jusched.exe on Windows 7 64-bit?

I have recently purchased a new laptop from an OEM with Windows 7 64-bit. This system came pre-installed with (among other stuff) the Java Runtime Environment (64bit). This has put the "jusched.exe" ...
24
votes
3answers
4k views

What Windows account is used when no one is logged in?

When no one is logged into Windows, (the log in screen is displayed) which user are the current processes running as? (The video/sound drivers, login session, any server software, accessibility ...
24
votes
7answers
31k 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 ...
22
votes
7answers
20k 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 ...
21
votes
8answers
16k 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 ...
21
votes
4answers
90k views

What is the RuntimeBroker.exe process in Windows 8?

I was looking through my Task Manager today and saw something called Runtime Broker running: I've never seen this in previous versions of Windows. What is it? What does it do?
21
votes
1answer
1k views

What processes, if any, exist between PIDs 0 and 4 on Windows 7?

Just out of curiosity what are the processes between 0 and 4, and also between 4 and 200 something.
21
votes
3answers
14k 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 ...
21
votes
3answers
11k views

Screen a running process

Sometimes I forget to run a program under a screen session and can't stop it in the middle, and I know it's going to take long. Is there a way to screen an already running process without restarting ...
21
votes
3answers
11k views

(When) is CONHOST.EXE actually necessary?

Background Last year I compiled a portable blog/web-server system that I can run from a flash-drive. It’s great and works wonderfully, especially on XP. The problem is that when it’s run in Windows ...
20
votes
6answers
35k 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? ...
20
votes
5answers
68k views

What is the 'conhost.exe' process that shows up in Task Manager?

The process conhost.exe started showing up on Windows 7, and searching Google doesn't reveal an explanation of what this process is and why it shows up. What is the conhost.exe process?
20
votes
2answers
23k views

Unpause application in Mac OS X

I tried parsing a gigantic XML file and I ended up running out of virtual memory. The OS put all my applications on pause and gave me a screen to shutdown applications to free more space. I killed the ...
19
votes
4answers
2k views

Should I kill zombie process in my system?

Since I'm newbie in Linux/Unix systems and just read about zombie processes, I have one question. I have 10 of them right now. Do I need to kill them and if yes, why? Are they a load on my system? ...
19
votes
5answers
29k views

Changing Windows process priority via command line

I want to change Windows process priority via command line. How can I do that?
19
votes
4answers
36k 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 ...
18
votes
4answers
28k views

Multiple chrome.exe processes in Task Manager

I know that each new tab on Google Chrome have its own process, but I have 14 chrome.exe processes running actually as I can see it on the Task Manager, and only two tabs are opened on Google Chrome. ...
18
votes
5answers
47k views

“Access denied” when trying to end a process on Windows 8

I get "Access denied" when trying to end a process on Windows 8. From Kill process (windows 8) issues on Stack Overflow, I've read: The process may have a thread active in kernel mode that is not ...
18
votes
1answer
828 views

How to recover a deleted file that is still open?

How can one restore a file that has been deleted but is still open by a process? The blog post "Restoring files from /proc" explains how to do this on Linux: Use lsof (e.g., lsof -c name) to find ...
17
votes
4answers
25k 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 ...
15
votes
3answers
17k views

Continuously monitor files opened/accessed by a process

lsof -p 12345 will list all the files opened by process whose pid is 12345 but only for a particular instant of time. How can we continuously monitor a process from the start to end(until process is ...