Questions tagged [process]
A process is a binary program running continuously on a computer (until terminated) which is managed by the operating system.
1,360
questions
0
votes
1
answer
18
views
macOS: pkill a specific process without sudo?
Because of some recent bluetooth issues, I need to be able to run sudo pkill bluetoothd quite frequently, so I decided to create a shell script Shortcut to have on my menu bar for quick access. I ...
2
votes
0
answers
13
views
Windows: Kill processes by arguments [closed]
I'm on Windows 10. I want to kill all processes that have the word "foobar" in their command line arguments. How can I do that in the terminal, without touching the mouse?
0
votes
0
answers
5
views
How can I approach system-wide, per-process resource monitoring on Windows Server 2016 Datacenter? [migrated]
Context: My team hosts multiple applications on a Windows Server 2016 box. For planning purposes, I'm interested in profiling CPU and RAM usage per application over time. Most of these apps are .NET ...
0
votes
1
answer
104
views
How can i dump the contents of a file that was opened with nano in a running process? (Linux)
I have run the command ps -ef and found the following :
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 12:30 ? 00:00:00 socat tcp-l:1024,reuseaddr,f
root ...
1
vote
1
answer
35
views
Arbitrary other processes hang when I "pause" one - how can I pause processes "better"/figure out how to un-deadlock?
Sometimes, I'm running massive compiles (and similar) on my machine, mostly unattended. Typically, those require intervention every now and then, and this intervention requires googling. So far so ...
0
votes
1
answer
65
views
Why do processes start appearing at the top of the tree's root instead of where they should, underneath wininit.exe and explorer.exe?
Why do these processes appear at the top of the Process Explorer window instead of below the wininit.exe section where they should be?
Some Facts
Starts happening after about 10-30 minutes of system ...
0
votes
1
answer
86
views
Signals vs. polling for I/O (uses very simple example of I/O)
I understand how hardware interrupts work. I have a basic question about I/O, and will use keyboard and characters from key presses as the context for the question.
In a general sense, do processes ...
0
votes
0
answers
30
views
Task Manager process list shows multiple abnormalities, processes out of place
First, it's not the issue about so many instances of Google Chrome in the process list in the task manager. I consider myself pretty clueful, so technical answers are welcome. Drilling down into the ...
2
votes
2
answers
26
views
CentOS | Bash process is using a lot of ram in idle state (more than 3GB)
Not an experienced user here.
I'm using a virtual server with 2GB of ram and 1GB of swap. The distribution is CentOS Linux release 7.9.2009 (Core). When I ssh the server I got the error below and the ...
2
votes
1
answer
135
views
How to stop a non-killable process on a Ubuntu VM running on windows 10?
On windows 10 I have a Oracle VM VirtualBox running with Ubuntu 20.04.5 and sometimes an application (started with sudo) just "hangs". I am not able to kill the job using
kill -9 <...
0
votes
0
answers
34
views
Command line window keeps flashing randomly
I'm on Windows 10 and the computer is running normally. However a command line window keeps flashing randomly through the day. It opens and closes so fast that I couldn't figure out what it is.
Is ...
0
votes
0
answers
23
views
How to check actual physical memory usage in kb's, cpu and system usage in milli seconds for single process in linux? Not in percentage
I am trying to extract actual usage of memory, cpu and system per single process id including all the child processes. I need the information in bytes, milli seconds etc not in percentage. I have ...
-1
votes
1
answer
39
views
Trying to end a process that is blocking me from deleting a folder
For the past couple days, I've been trying to end a process (ACORIGINS.exe) that is keeping me from deleting a folder (Ubisoft) that I wish to delete. Every time I try deleting the folder, it says ...
0
votes
0
answers
16
views
Why Do Some Of The Processes Running Have A Suspended Status? [duplicate]
Windows 10 Task Manager Details tab shows some processes' status as suspended. I am not aware of having set or changed any of the related applications to anything that would "suspend" these. ...
0
votes
0
answers
44
views
How to log the GPU usage?
background
When the display is turned off after a long time without operation, the usage of the GPU gets almost full (with win10 sleep function off). And when I'm back, the usage is also back to ...
0
votes
0
answers
47
views
Why does the terminal in macOS starts with the login process?
I'm learning how processes work and just discovered that there is a chain of processes (parent to child).
Investigating the process chain inside the terminal I see the following process chain:
launchd ...
0
votes
0
answers
58
views
How do you change the name shown in Task Manager for a running process (in particular a sub-process of the main executable) [closed]
Unlike on Linux or macOS, I haven't been able to find an API to change the process name of a running process (or in the case I care about, a sub-process). I'd want it to still appear under the main ...
8
votes
2
answers
3k
views
What is this weird process I see in WSL called “plan9?”
I'm using WSL2 with Ubuntu on Windows 11 and there is a weird process called plan9 I see with htop.
Here is a picture of it.
ps ax output:
4 ? Sl 0:00 plan9 --control-socket 5 --log-level ...
0
votes
1
answer
74
views
What is the UNCServer process running on my WIndows 10 Laptop?
I have a Lenovo i5 Laptop. There is always a UNCServer process running. Is there some way to identify what that process is doing? Some details of my laptop (from System info):
Windows 10 Home Build ...
0
votes
0
answers
143
views
How to run sqlcmd.exe as a windows service?
Microsoft SQL Server 2019 (RTM) - 15.0.2000.5 (X64)
Sep 24 2019 13:48:23
Copyright (C) 2019 Microsoft Corporation
Express Edition (64-bit) on Windows Server 2016 Standard 10.0 (Build 14393: ) (...
0
votes
0
answers
31
views
List process details
How can I list process details for a specific process?
I know about commands like ps -ef but they all truncate the details to fit into fixed column widths. For example, in one listing I can see that ...
9
votes
5
answers
6k
views
Why a fork is often followed by an exec?
Why "a fork is often followed by an exec"?
Can't you just create a new process in UNIX?
0
votes
2
answers
144
views
How can get all processes beginning with specified character in windows?
tasklist can list all processes running in windows.How can get all running processes beginning with specified character (for example ,beginning with c ) in windows?
0
votes
1
answer
82
views
See htop tree evolve in slow-motion
Using htop and its tree view (trigger by t or F5) one can see processes by parenthood, and layout the relations between them as a tree.
Is there a way to see how the process tree evolves in slow ...
0
votes
0
answers
63
views
How to lock cpu priority of a process and block it from changing the priority itself?
I have an application that is programmed to change it's priority to high. Even if I switch it back to normal or lower, it changes back after some time. How can I block this behavior? How can I force ...
0
votes
0
answers
80
views
Cannot boot Alpine Linux due to crashed Nginx process
I have installed Alpine Linux ISO on a VM on my machine and have spent a while getting everything set up for an IOT communications server. I'm quite liking the lightweight environment that it provides,...
0
votes
1
answer
34
views
Is there any relation between Process and Processor?
1 Process can have 1 or more threads.
1 or more threads (irrespective of which process they belong to) can run on 1 or more processors.
Is there any relation between Process and Processor? For example ...
0
votes
0
answers
410
views
Cannot access network folder from local server on my machine
I have network folder (\\domain.corp\work), which I can access in a program (executed in terminal) with my user (filip) on my machine (DESKTOP-MI7V4AE):
on host [DESKTOP-MI7V4AE.localhost], domain [...
0
votes
0
answers
113
views
Multiprocess names on Linux
I'm using Python's multiprocessing package which conveniently names worker processes on its own. I can access these names for debugging purposes from within my Python script. However, I'd like to do ...
0
votes
0
answers
69
views
Process path does not exists
A VM of mine got infected with some crypto mining malware. I can kill it but it obviously restart at each boot. I tried finding the executable but I can't get my hands on it; the process path (from ...
0
votes
1
answer
335
views
Are the threads in each process limited to 1 cpu?
On a multi CPU machine, I understand that 1 process runs on 1 CPU. So does this mean that the threads in each process are limited to 1 cpu only?
0
votes
1
answer
46
views
File not in use, yet cannot be removed
I cannot remove executable because windows explorer says its in use.
But both Resource Monitor and Process Explorer claim this file is not used. IObit Unlocker also says that file is not locked. So I'...
0
votes
1
answer
1k
views
PowerShell on Windows: Start-Process fails if output redirection arguments are used
Why does Start-Process fail to find the executable (not in the path) if -RedirectStandardOutput or -RedirectStandardError are specified?
I.e.
[X:\] Start-Process -FilePath "prog.exe" -...
0
votes
1
answer
187
views
Hanged program not shown up in process explorer
This is something bugging me for more than a decade. Occasionally there is a program hang in Windows (in this case a setup program in Windows 10 Pro), I tried to close it from resource monitor and it ...
1
vote
2
answers
1k
views
(VBS) how to taskkill a process when a specific window appear?
In my VBScript, I need to taskkill process example.exe when SPECIFICWINDOW appears (the window's name is different than the process name) and need this command ready when SPECIFICWINDOW appears.
How ...
4
votes
2
answers
1k
views
Chrome: How to identify which tab does a subframe belong to?
There is some Chrome tab (but I have too many of them opened) that constantly opens a subframe that takes a lot of CPU. I can see that in Chrome's Task Manager - I sort it by CPU, identify it and kill ...
0
votes
0
answers
135
views
FreeBSD process high CPU usage. What is a ways to trace, debug or, at least, see more information?
Not everyday task, but, just curious. Having watched a video, I've spotted my laptop going crazy with a CPU usage. The problem was, as it turned out, that one of a process got stuck in 100% CPU loop.
...
33
votes
4
answers
12k
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, ...
0
votes
0
answers
107
views
How to add Privileges to Process?
Using Process Explorer tool, we can see the privileges held by a running process. But how can we change these privileges, for example SeLockMemoryPrivilege, without having to run the program on behalf ...
0
votes
0
answers
220
views
Bash processes with deleted link targets in /proc/<pid>/exe
We have a software which intercepts file IO operations and noticed a recent bug caused by a process who's /proc/$pid/exe pointed to /usr/bin/bash;61f1808a (deleted) (via readlink(2)). I'm curious what ...
0
votes
0
answers
520
views
How to determine which PID sends specific DNS requests on Windows?
Is there any way to find out which process (PID) is generating DNS requests on Windows (user computer, win10).
I tried some tools from sysinternals (process explorer, tcpview,...) but non on them were ...
0
votes
1
answer
71
views
Process names 0, 1, 2
I see 0, 1, 2 and 3s in htop. I can't kill these (sig 9). They are sometimes consuming a bit of my cpu for a second. I wonder what they are... Killall just says process not found if I try to kill them ...
2
votes
0
answers
2k
views
What is wrong with KillMode none or process in SystemD?
The systemd.kill docs have the following to say about KillMode:
KillMode=
Specifies how processes of this unit shall be killed. One of control-group, mixed, process, none.
If set to control-group, ...
1
vote
0
answers
231
views
How to stop a process from starting using a batch file?
I've been trying to find a way to stop a process from starting using a batch file. So far I've had no success.
I know I can use taskkill to kill a process that's already running, but I want to stop it ...
0
votes
0
answers
18
views
Is there a way to Allow/Disallow a specific Process with a shortcut on the desktop?
I have a small problem with a process ramping up my cpu to 100% once it starts. The process is neccesary to start for a function to work properly but once it has started, the process can be killed/...
2
votes
1
answer
433
views
Route the traffic over specific interface for a process in linux with Cgroups2
I read this way of routing the traffic of a specific interface with Cgroups (Cgroups1): https://superuser.com/a/1048913/1662108
Is there a way of doing the same thing with Cgroups2?
1
vote
1
answer
284
views
Monitoring suspicious processes on macOS without Activity Monitor?
I've recently noticed my mac overheating and its fans ramping up after being left idle for a few minutes. What really makes me suspicious of it is that when I launch Activity Monitor to see what ...
0
votes
2
answers
922
views
How can I correctly retrieve the PID of a process related to Java using ps aux? and how can I put the headr containing the output column name?
I am not a system administrator (I am a software developer) and I have the following doubt.
Performing this command I can see the list of the first 10 process running on my system (correct me if I am ...
0
votes
0
answers
34
views
Can I use ProcessExplorer to trace the parameters of future running process?
I would like be able to trace all calls to MSBuild.exe with its parameters. It seems I should be using sysinternals Process Explorer. I'm lost how I can accomplish this or if I should be doing ...
1
vote
1
answer
271
views
Why do i have so many processes spawned with the same name? [duplicate]
How come so many processes exist with the same name for basically every application on my system? Spotify, Firefox and other apps all do this and sometimes opening a few additional tabs means that my ...