Skip to main content

Questions tagged [process]

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

Filter by
Sorted by
Tagged with
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 ...
leeand00's user avatar
  • 22.7k
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?
AndreaNobili's user avatar
  • 7,201
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 ...
Peter Hahndorf's user avatar
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?
Jader Dias's user avatar
  • 16.1k
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 ...
Kumar Alok's user avatar
  • 1,643
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
Vi.'s user avatar
  • 17.3k
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 ...
AngryHacker's user avatar
  • 18.7k
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 ...
Utkarsh Sinha's user avatar
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.
Adam Matan's user avatar
  • 8,490
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 ...
Mahadevan Sreenivasan's user avatar
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 (...
Sathyajith Bhat's user avatar
  • 61.9k
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 ...
Qassam Mahmoud's user avatar
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 ...
tony_sid's user avatar
  • 14.5k
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 ...
Pithikos's user avatar
  • 1,644
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 ...
Daniel Cukier's user avatar
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 ...
julkiewicz's user avatar
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 ...
kynan's user avatar
  • 3,546
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 ...
java.is.for.desktop's user avatar
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 ...
Piper's user avatar
  • 920
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 ...
Justin L.'s user avatar
  • 1,189
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?
Bob's user avatar
  • 3,265
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 ...
kevinarpe's user avatar
  • 3,858
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 ...
Jon's user avatar
  • 9,325
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 ...
Nacho Cougil's user avatar
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 ...
Pal Szasz's user avatar
  • 673
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 ...
Olivier Dagenais's user avatar
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 ...
Srekel's user avatar
  • 671
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 ...
Svish's user avatar
  • 39.9k
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 ...
Giovanni Funchal's user avatar
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/...
JiminyCricket's user avatar
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 ...
Jack's user avatar
  • 1,971
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 ...
Honza's user avatar
  • 603
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? ...
Jonathan's user avatar
  • 3,799
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 ...
StayOnTarget's user avatar
  • 1,305
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?
qwertzguy's user avatar
  • 2,604
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 ...
Andy Giesler's user avatar
  • 1,531
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?
markdorison's user avatar
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 ...
krg265's user avatar
  • 511
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, ...
Caeleste's user avatar
  • 831
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. ...
dobus's user avatar
  • 371
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 ...
RomanSt's user avatar
  • 9,817
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 ...
clamp's user avatar
  • 1,252
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?
Jonas Pegerfalk's user avatar
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 ...
Néstor Sánchez A.'s user avatar
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 ...
Am1rr3zA's user avatar
  • 5,423
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 ...
Joseph's user avatar
  • 2,219
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 ...
unforgettableidSupportsMonica's user avatar
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.
kumar's user avatar
  • 517
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 ...
Suresh's user avatar
  • 583
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 ...
ripper234's user avatar
  • 11.6k

1
2 3 4 5
28