As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [process]

Questions about identifying processes, about listing them, sending signals, killing them, assigning and using process priorities.

Filter by
Sorted by
Tagged with
0 votes
0 answers
23 views

a process started with sudo and put in background still exist after ssh disconnect

Here is the procedure I use: I'm connecting to Ubuntu 22.04 using ssh. I'm editing a file with vim (or emacs) using sudo I'm leaving the editor with Ctrl-Z Then, I close the ssh connection. Either I ...
AymericM's user avatar
  • 101
3 votes
1 answer
133 views

alias must be in the Bash sub process

How alias in Bash can be in the forked sub process Bash as get failed on: alias al='echo hello ' $ al foobar hello foobar $ alias al='echo hello ' ; bash $ al bash: al: command not found How to have ...
cantik memekmu's user avatar
1 vote
1 answer
803 views

Firefox: "isolate+" process CPU usage 100%

I have a completely new Ubuntu install with firefox. When browsing on my usual sites, I get over 100% CPU usage due to the process "isolate+". Google has been completely useless. I have ...
ahermann's user avatar
0 votes
1 answer
53 views

Killing multiple processes by name [duplicate]

I have a question regarding killing processes that are running (and that I have started) I have started many procesess and now I want to terminate them doing ps aux | grep aword gives me the ...
KansaiRobot's user avatar
0 votes
0 answers
67 views

`ps` reports itself as using 99% CPU

After update to Ubuntu 23.04, I noticed that the ps command sometimes reports itself as using 99% CPU. If you try several times, you will see something like: $ ps -ef | grep \ p[s] my_user 48167 ...
FedKad's user avatar
  • 8,776
0 votes
0 answers
40 views

Memory intensive process getting killed before swap memory is full

I have a very memory intensive Java program to run, at first it was giving heap out of memory error so I kept in increasing the heap size along with the swap partition (I only have 32 GBs of RAM and I ...
Sergio's user avatar
  • 101
-3 votes
1 answer
65 views

Why sum of all process CPU(%) is greater than total cpu(%) utilisation in top command [duplicate]

In a top command instance, the CPU utilisation (100-idle) was 14% but the top most process "Chrome" alone consumes 253%. I am unsure of how the chrome process consumes CPU more than 100%. ...
Bharath S's user avatar
0 votes
1 answer
63 views

is possible to execute commands on host from snap package?

I am building snap from command line program to guess linux commands from natural language. For example cal for show calendar. When command is proposed I need to confirm them by Enter. So after Enter ...
Daniel's user avatar
  • 367
15 votes
5 answers
2k views

Check memory usage of process which exits immediately

I have built an application which takes less than 1 sec to execute. I want to check the memory usage of this application. What are the tools which can be used in this scenario?
doptimusprime's user avatar
0 votes
0 answers
76 views

Processes from distributed GPU usage are hanging and can't be killed

I was using the PyTorch library's data distributed parallel library in order to use multiple GPU devices when running my machine learning program. After running, I noticed that three processes were ...
Sean's user avatar
  • 183
0 votes
0 answers
25 views

USB device being accessed by two processes with same name

I have a USB serial device and I am working using someone's code. Does the output below indicates a single process or two processes accessing the same USB device? pi2@rpi2:~ $ sudo lsof | grep /dev/...
SEU's user avatar
  • 129
0 votes
0 answers
24 views

Run interactive program from ssh then disconnect and reconnect [duplicate]

From my laptop I'd need to start a ssh terminal to a remote desktop in which I'll run a long running program testdisk or photorec, then once I setup my selections start the data recovery. Then I'd ...
useful's user avatar
  • 1,724
2 votes
1 answer
130 views

Two startup daemon processes working together in wsl2?

We normally know that WSL2 normally do not have systemd it generally starts on init daemon! But recently from year 2022 we can also use systemd by enabling the sysboot to systemd in wsl.config. So I ...
Rahat Bin Taleb's user avatar
0 votes
0 answers
44 views

Should systemd be running as a sub-process of itself?

I just noticed in System Monitor that systemd is running as pid 1 AND that within that process it is listed as a dependent process of itself, running again under process 1 as pid 933 and with another ...
J T Richter 'commander-prompt''s user avatar
4 votes
1 answer
448 views

How can I correctly calculate the sum of memory used by all processes?

There recently was a couple of questions asking why Ubuntu is seemingly using more memory than accounted for by processes/services - here and here. However, I have the exact opposite situation. On my ...
Artur Meinild's user avatar
2 votes
1 answer
219 views

Oneliner to get the command which started a process on a certain port

I would need a one-line command which, given a port number, returns information on the command which started the process running on that port. Usually, I get this information by running a sudo netstat ...
Tms91's user avatar
  • 227
0 votes
0 answers
39 views

Close only one window of a hanging program

I've had two separate windows of gedit. In one of them I've tried to open some file and this has made gedit hang giving me the typical choice of "Force quit" or "Wait". Continuous ...
SergiusPro's user avatar
0 votes
1 answer
83 views

Efficiently get PID's in certain ports from java

I know sudo lsof -t -i:{port} will give the list of PID's involved in that port and I can run this command via java by Runtime.getRuntime.exec() command. But the thing is I have thousands of thread ...
Nafiul Alam Fuji's user avatar
1 vote
1 answer
514 views

Finding out specific processes that are running php commands shown in 'top -i'

I have been scouring the forums to find the next step in analysing what process specifically is requesting the usage of a php command shown when running the top -i in an Ubuntu 20.04 server cli. After ...
Doopz's user avatar
  • 131
1 vote
1 answer
288 views

Wait for process with name to spawn in Bash

I want to write a Bash script that runs in a background, waiting for a command to spawn. Suppose I ran script.sh which waits for ls. After I run ls, it should trigger actions?
sudoer's user avatar
  • 82
0 votes
1 answer
160 views

Multiple Un-killable Looping Processes Spawning

I'm desperately trying to work this one out, so thanks for taking a look. Context: Whilst trying to make a large file transfer from my Ubuntu PC to an external hard-drive, using rsync I believe, I ...
CSaward's user avatar
0 votes
0 answers
586 views

How to config gnome-shell to run on GPU instead CPU?

This week I formatted my laptop and installed the new Ubuntu 22.04 (I was using 20.04), and after switching the OS, I found it slower than it was in 20.04 and I also, I found a lot of problems in this ...
Leonardo Ferreira's user avatar
1 vote
1 answer
83 views

Allowing {USER} to run a command against a process owned by another user

I have been scouring the forums to find out how you can allow a command / process to be ran by a user that is normally only permitted by root or itself. There are some good resources out there but ...
Doopz's user avatar
  • 131
0 votes
1 answer
53 views

Execute a command before hibernation ubuntu on lid close

I am wondering if there is a way to execute a script (for example I want the script to close all brave and node process), but I have already configured Ubuntu to hibernate on lid close, is there a way ...
Ibrahim Abdullahi Aliyu's user avatar
0 votes
0 answers
87 views

sudo <command> & disown mess stty settings?

running in a script: sudo gedit & disown; #or sudo thunar & disown or any process that opens up a process in the background randomly causes stty settings to all change and things become ...
Johny's user avatar
  • 61
-1 votes
1 answer
288 views

Can't run mysqld in Ubuntu

I try to run mysqld but i get following error in Ubuntu terminal. 2022-08-30T18:48:34.596763Z 0 [Warning] [MY-010091] [Server] Can't create test file /var/lib/mysql/...
Karol's user avatar
  • 1
1 vote
1 answer
216 views

process stops, see "killed" in temrinal window

I have 20.04 LTS and was running yolov5 model as root ( to rule out permissins issues ) and the model starts fine, then the first epoch of training starts, nothing happens, then I see the word "...
steve's user avatar
  • 121
0 votes
1 answer
149 views

Process exits on terminal session end, even though it's a background process

I connect to my VPS using ssh. I run npm run start & to start my next.js site in the background. And everything works. As soon as I disconnect my SSH session, my site stops. How can I force that ...
Ali EXE's user avatar
  • 109
0 votes
0 answers
81 views

How to check reason for a process getting killed in Ubuntu 22.04?

I have a process that gets killed, but no error message is shown in the terminal, while I run it. Is there a way to see some message, or get that information? I've tried running syslog like it said in ...
An old man in the sea.'s user avatar
0 votes
0 answers
105 views

Ubuntu is very slow, due to these processes or other issues?

TIME+ COMMAND ------------------ 73:39.09 gnome-shell 6:39.58 kswapd0 7:20.54 kcompactd0 46:26.92 Xorg ...
Willow Lu's user avatar
0 votes
0 answers
112 views

root directory out of space - syslog and logdna-agent log files are filled with unknown error messages

The alerts in the log channel popped up saying root filesystem is running out of space and no write operations can be performed. On inspection using ncdu found that the /var/log folder was taking a ...
Light605's user avatar
0 votes
1 answer
222 views

Why this orphaned process is called by a child process of init instead of init?

I know that all orphaned process are taken over by the init process(mother process) but I wrote a c program to understand how processes really work and I notice that a orphaned process is taken over ...
Maxwell D. Dorliea's user avatar
1 vote
0 answers
67 views

Unknown process overloading cpu - kperl

I am not a Linux expert. I noted a process running on my Ubuntu that is taking 200% of the cpu resources. It is belong to root, its name is kperl and is located in /temp I have not been able to ...
FeliceM's user avatar
  • 111
1 vote
1 answer
424 views

Forground a running process that was started with a script (MineCraft Server)

I have a MineCraft server starting with a script in chrontab. When I start my Ubuntu 20.04 LTS Computer, and I SSH to the server, I want, for example, to add someone in the whitelist, but I need to ...
Glappa's user avatar
  • 9
0 votes
0 answers
54 views

How local socket is differentiated?

In case of multiprocessor environment where IPC is implemented using a sockets How can we make sure each socket is identified. For example In our environment we have around 14 process and each of them ...
Shrinivas M's user avatar
0 votes
0 answers
316 views

AppImage unmount / process kill option

fresh started with linux, im trying to migrate from my win media srv to linux 20.04. i have qbittorrent appimage 4.4.3.1 installed, and the AppImage works fine. I have added the path to the appimage ...
Creg's user avatar
  • 9
0 votes
0 answers
350 views

spamassassin "spamd child" process using 90% or more CPU

On my Ubuntu box, one of spamd child processes often takes 90%+ CPU. This started a few months ago. The box had worked for many years without this problem. I thought installing 21.10 caused it and ...
Paul Schreiber's user avatar
1 vote
0 answers
34 views

How to reserve an autogroup percentage to one process in a script?

So I have this code: AUTO=$(cat /proc/sys/kernel/sched_autogroup_enabled) echo 0 > /proc/sys/kernel/sched_autogroup_enabled setsid -w taskset 1 ../esx 100000000 8 3 0 0 0 0 2>/dev/null & ...
Varox's user avatar
  • 111
0 votes
1 answer
749 views

simple-scan Ubuntu 22.04 : error message while saving file - ghost process

since I am using Ubuntu 22.04, simple-scan shows this error message when saving the scanned page : Failed to execute child process " " (No such file or directory). It really saves the file,...
user32386's user avatar
0 votes
0 answers
61 views

How to Tell Activity Monitor to Measure in GB instead of GiB?

I use the Activity Monitor application a lot, and I frequently need to know how much memory an application is using. Is there a way to tell the activity monitor to measure in GB instead of GiB? Here's ...
AlexFullinator's user avatar
2 votes
2 answers
2k views

Check if process does or does not exist

I want to write script that accepts process name (I ask the user for process name each time followed by a prompt on the same line) if process exists it will print "EXISTS" or if it doesn't ...
Ender's user avatar
  • 1,002
0 votes
1 answer
1k views

How do I determine if a .NET Core application is currently running on linux

How do I determine if a specific .NET Core application is currently running on Linux and isn't failing, if it's application log shows no data?
Izzy's user avatar
  • 1
1 vote
4 answers
1k views

How to stop a process named "Code" that has high CPU usage?

I have one process named "Code" that has high CPU usage. I don't know what this process is and how I can stop it. Can you help me fix this?
жора корнев's user avatar
3 votes
1 answer
1k views

Can we get process list using sar in Ubuntu?

Is able to get a processes list that runs on April 11 in the Ubuntu Server using sar or other tools.
Hari Sabareesh S's user avatar
0 votes
1 answer
166 views

sudo command make child process to zombies

I'm trying to make a program that divides into child and parent processes with fork(). Child executes arguments with execv() and parent traces him with ptrace(). I made almost all parts of the program,...
SEONGROK KIM's user avatar
1 vote
1 answer
3k views

Optimize thermal daemon

I just discovered thermald for preventing machines from overheating. I'd like some basic suggestions on how to modify the xml configuration file. Below is the one I have at /etc/thermald/thermal-conf....
Py-ser's user avatar
  • 577
0 votes
2 answers
469 views

How to determine the parent of a process like "ls"

I've read methods of determining the parent of running processes but how would I determine the parent of a process thats lifecycle is too short to run a command like pstree without the process already ...
georgelid6's user avatar
0 votes
2 answers
254 views

Kill a specific window, but not the entire suite of windows belonging to one program?

Currently using KDE. I'd like a shortcut that's able to kill a window, but not all windows of the same process. For example, right now I'm using xkill to kill windows using the mouse. I love it, but ...
Ran Shorowitz's user avatar
0 votes
0 answers
69 views

KDE-related processes

Important: I used to have the KDE Plasma DE installed but I removed that months ago. I checked activity monitor like I do a lot, and I decided to check the "all processes" button instead of ...
AlexFullinator's user avatar
0 votes
1 answer
4k views

Restart an app when it crashes

I state that I know practically nothing, I have found some solution that could do for my case but it is not quite how I would like it to be. In practice I would like to create a script that when the ...
Luco's user avatar
  • 1

1
2 3 4 5
16