Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [process]

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

0
votes
0answers
15 views

When System PID 4 is locking a file or folder, How can I determine what program/process/service is locking it without guesswork? [duplicate]

(This question is not a duplicate of Find out which process is locking a file or folder in Windows I am asking specifically about when PID-4 is locking it (besides the fact that i'm saying without ...
0
votes
0answers
22 views

Can you kill a parent process while leaving its child process to complete normally?

I'm running a shell script we'll call parent that has a loop. Each iteration in the loop executes something else we'll call child, and when that completes (synchronous/blocking), my script goes to the ...
0
votes
1answer
18 views

Windows - is there a way to see what apps spawn/use which processes?

In a modern version of Windows (let's say, Vista - 10), is there a way to determine which apps spawn/use which processes, without having to install a 3rd party tool?
0
votes
1answer
48 views

How to scan/log already running processes on Unix

you can use ps to list running processes, but I would like to know if there is a way to inspect the running processes to any level of detail. for example, maybe there is a way to see every assembly ...
0
votes
0answers
16 views

Is there any command in linux to find out the cpu usage of each cpu core for a particular process?

I initially used ps -p <pid> -o %cpu,%mem to get the percentage of the cpu usage. But when I run some thread programs the returned value of cpu usage is greater than 100. I know it because of ...
0
votes
1answer
32 views

Windows 7 run batch file at low priority in wide window

I have a long-running, CPU-intensive job that I want to run with low priority. This is easily done in a Windows 7 batch file with START /LOW. The only problem is that it starts a separate window ...
0
votes
0answers
29 views

Powershell explorer process exits immediately after using Start-Process

I'm using the following command to spawn an explorer window: PS C:\> $er3 = (Start-Process explorer -passthru) I'd like to access its mainWindowHandle for another task but it is returning nothing ...
0
votes
0answers
21 views

dhclient cloud-init /var/tmp process

There's a process that's running that I'm trying to investigate why its running and what its doing. The server is a Linux Ubuntu server running on AWS. Running 16.04. The process in question is: ...
0
votes
1answer
16 views

windows command prompt - execute command in new process

in command prompt I execute this line java -jar <path_to_jd_gui_jar> <path_to_jar_file> which opens a the jd-gui (jar viewer) to view a jar file. But if I close the cmd window it ...
0
votes
2answers
25 views

Windows: how can I pause a program execution and restart a few reboots later?

According to this SU question I can use Windows Task Manager to pause a process execution. How can I pause a process, save its state to disk, and restart it a few days later? Possibly I'll have ...
0
votes
0answers
26 views

Process: Handle, Peak Handle, GDI Handles and USER Handles

So I reading about Handles and Objects of Windows and don't really understand what's the difference between Handles Peak Handles GDI Handles USER Handles in Process Explorer. I've already tested ...
3
votes
1answer
151 views

Removing near-duplicate rows in Filemon / Process Monitor to more easily analyze OS operations

Process Monitor allows great power when it comes to filtering, but it doesn't do something which seems extremely simple and beneficial, which is to simply allow the option to remove rows which are ...
1
vote
0answers
87 views

How do you kill a tree using taskkill /T in CMD, but exclude some process in the tree? [closed]

I want to terminate explorer.exe's tree in a batch file and continue with its commands, but it seems to kill the batch file also. I was wondering if I can exclude the processes that CMD/ the batch ...
1
vote
1answer
40 views

unique identifier for a DOS process on 1 single machine

I use a Win 10 machine with different users, and these all can use a same bat file. In the bat scripts I need a temporary file with an unique name consisting of an identfier for the process currently ...
0
votes
1answer
26 views

How do I list all running instances of an executable file on Linux?

Is there a way to get the PIDs of all running instances of an executable file on Linux?
0
votes
1answer
21 views

Windows 10 - log all process exits _with CPU time used_

I want to make a log of all processes run under the my login that lists all processes run and the total CPU used by that process. Yes, I know about Audit Process Tracking, but the terminate event ...
0
votes
2answers
61 views

how to close and start a program from cmd in Windows XP?

I've been trying cmd commands such as "taskkill" on Windows XP and apparently they don't exist. I'd like to be able to close and open a program from the cmd because I need to connect to the Windows ...
1
vote
1answer
47 views

Windows Batch-File to execute and communicate with running program

(How) can a program with interactive command line mode (shell) be programmatically "interacted" with from CMD.exe via batch file (.bat)? Example: >program.exe >>aCommand >>...
1
vote
0answers
43 views

Reliable way to kill AV processes on windows?

What is a reliable way to kill AV Processes that are protected against termination? (Like most antivirus) I have SYSTEM level access on a machine but running a taskkill /F on the process still ...
0
votes
1answer
30 views

Process in ubuntu keeps starting even though it is not installed

On a Jetson TX1 with the stock Ubuntu 16.04 installed, rsync keeps starting on its own and taking 100% of one CPU even though it is not installed. Is there a way to stop that process and why it is ...
0
votes
1answer
40 views

Parse pstree output to list parent and child PIDs of a given process name

I am running two instances of a program called SMU, hence there will be two separate processes with the same name SMU. And each SMU process will create one (can be more than 1) child process, hence ...
1
vote
1answer
374 views

Task Manager does not show correct per-process CPU usage on Windows 10 1809

Under Windows 10 Pro for Workstations (Build 17763.55) Task Manager does not show correct CPU usage on a per-process basis. Processes that use up the entirety of the processor are reported to only use ...
0
votes
2answers
65 views

Skype still receiving calls after terminating process

Skype on Windows 10 will still receive incoming calls even after terminating the process. There are no services to disable under the names 'Skype' or 'Microsoft Skype'. How can I prevent Skype from ...
1
vote
0answers
28 views

Any explorer.exe argument to open windows explorer at specific position(top,left) and size(width,height)?

I need to set Windows Explorer instances in a specific positioning and size. I was hoping to accomplish that by passing arguments to the executable at opening. However I didn't find anything related ...
0
votes
0answers
44 views

Is there a way to block a process from starting on the mac?

I'm trying to block the process nsurlsessiond from starting/or accessing the web when I'm on a certain network. It's always trying to access a destination forbidden by the proxy - which ends up with ...
0
votes
0answers
40 views

Keep exe process in memory and its DLLs to load faster

Can I keep an entire process of a third party engine in memory in my VM? right now it has a big overhead when it loads its DLLs that I'd like to minimize. I am running Windows Server 2016. My case ...
1
vote
1answer
39 views

Is there a Windows program for loading child process images with redirected stdout/stderr?

I have a program that has stdout and stderr available, so it can and does write important output on these channels. You only see this output when you e.g. launch it from a Windows console window, ...
0
votes
2answers
226 views

Silent Process Exit: process '?' was terminated by the process 'C:\Windows\System32\svchost.exe' with termination code 1067

We have a serious issue with a C# application being terminated silently at random and infrequent points in time on a Windows 10 32-bit installation. E.g. it might be a month between occurrences. Or ...
0
votes
1answer
51 views

Extra CPU usage by Windows 10

I've have been using windows for such a long time but having a doubt that why would cpu be used even during idle . Please check the screenshot How could be that be possible only one user is logged ...
1
vote
0answers
114 views

slab memory is too large

I'm running the server for test WAS in container. Server has 40 cpu cores and 96GB Memoy. I ran WAS in containers several days and find out too large slab memory size. So stopped all WAS. But Slab isn'...
1
vote
0answers
35 views

How to tell which processes was created by a specific file?

For example, ProcessActivityView (http://www.nirsoft.net/utils/process_activity_view.html) creates a summary of all files and folders that the selected process tries to access. Conversely, I would ...
0
votes
1answer
10 views

Storage array cant be pinged from the server

Built a storage array with windows 10, its on the same network as my server and wipestations. i can ping the server from the storage array but i cant ping the storage array from the server without ...
0
votes
0answers
24 views

Unknown vmware related processes in Linux (Ubuntu)

The image below depicts a part of my htop output. I was wandering what are these VMWare processes are. I have both VMWare workstation and player installed; Is it ok if I kill them and how can I ...
1
vote
1answer
180 views

Why Unix child processes inherit [most] parent process attributes

Learning about how Unix processes work, and noticed that child processes inherit most of the attributes (including file descriptors) from the parent process. I also just learned about exec and how it ...
1
vote
2answers
80 views

The “memory available” that an Operating System tells child processes

I'm wondering about how operating systems let child processes know how much available memory there is. Say the whole computer has 1GB RAM memory built in. The operating runs and uses 100MB (I have no ...
0
votes
0answers
17 views

OpenVZ container runs with only 3 processes

I upgraded a Debian 6 OpenVZ container that contains a web application to Debian 8. Everything worked great. Today I rebooted the container and it only starts with 3 NPROCs: I can access the ...
1
vote
0answers
88 views

Cannot open new tab from command line anymore with Firefox 61

Recently switched to Firefox 61, any attempt to open a new tab from the command line with firefox http://pretty.much/anything hangs.. then fails with the "Firefox is already running but is not ...
-2
votes
1answer
421 views

How to detect which process has a file locked in Windows? [duplicate]

Sometimes, while trying to edit a file, the editor says "cannot write to file because is taken by another process". So, is there a tool which takes an input a file name (with its path) and tells which ...
0
votes
1answer
54 views

App Runs as Background Process Instead of as an App

I have successfully installed and run a screen share app on both of my desktops. But, on my laptop, when I open the app, it runs as a background process instead of as an app (as seen in Task Manager). ...
0
votes
1answer
181 views

On a multi-core Windows PC, why does a single process only occasionally use all cores?

For years, I had the impression that a single process can only use at most one core of the CPU, but recently I found two examples where a single process used all the cores of a multi-core Windows ...
0
votes
1answer
190 views

Windows 7: Why is there a Task Manager CPU usage discrepancy?

On a Windows 7 computer, Task Manager shows 0 CPU being used by each process in the Processes tab. Yet in the Performance tab, CPU Usage and CPU Usage History both show use over 20%. Why is there a ...
0
votes
1answer
92 views

Windows 10: What is the process lifecycle in the face of logoffs, switching users, and power state changes (sleep, hibernate)?

I have a program operation that is initiated when a user is logged on, but it is long-running and non-interactive in nature, and could be completed in the background. I'm confused by the process ...
2
votes
1answer
44 views

Is there a way to find out what kind of registry value was queried in Process Monitor?

NAME NOT FOUND is showing in the results-column of Process Monitor, so I was going to create the value myself. But I don't know if it's a Binary, String or, let's say, DWORD that's been tried to ...
0
votes
0answers
31 views

Does CPU utilization refers also to time of handling system calls?

Assume I want to calculate the CPU utilization of a process, which reads and write to a file. In order to read and write, the process must use system calls. This means there will be time when the ...
0
votes
0answers
11 views

How to determine which process is causing foreground window to lose focus? [duplicate]

When working in a foreground application in Windows 7, sometimes it will suddenly lose focus. There is no other visible application gaining focus. Whatever I type, however, no longer appears in the ...
3
votes
0answers
4k views

How to stop Windows 10 from suspending a particular application (RStudio)

First off, I wasn't sure if this was a question better suited to Super User or one of the other communities like Cross Validated, so please let me know if this is in the wrong place. I'm having an ...
0
votes
1answer
26 views

Print out data was not similar with input and would like to remove some of the data in the content

I want to try print all the content in .txt input file to process some data but i was facing some problem as the content print out was not tally. May i know why it was like that? Thanks everyone. I ...
3
votes
1answer
1k views

Windows 7/10 command line show running Applications/windows

I know the command tasklist is able to show running processes. What I want the command line to show only running applications. Is there such a command on Windows or is there a way to get this list ...
1
vote
3answers
257 views

How can a batch lower the priority ONLY of the cmd that runs it?

I have a batch that runs a series of commands that will be long and CPU intensive. I don't mind when it will be finished so I would prefer it to use only idle CPU cycles. If I set the priority of the ...
0
votes
0answers
91 views

Kill process at absolute time

I wish to run a command for the longest period possible and kill it at a certain absolute time (if it is still running), something like: killat "2018-06-09_23:55" ./myscript.bash The resources I've ...