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
0answers
9 views

CPU starts running at 100% when charging

My CPUs start alternating at 100% at seemingly random intervals, even though no process is using excessive amounts of CPU. I have noticed that this behaviour seems to occur when I am charging my ...
0
votes
0answers
16 views

what is ideal swap size for a process?

Context: My process is almost hogging all 16 GB of available memory When I check for swap size it is increasing to 6GB then decreasing 3GB and stabilizing to 3GB Swap size trend for one hour 1 GB, 2 ...
0
votes
0answers
20 views

Persistent install4j process on 20.04

A few days ago, I used Clonezilla to clone my m.2 NVME boot drive to an upgraded model. Today, I notice that the HDD access LED flickers continuously. top reveals that it seems to be caused by a java-...
0
votes
0answers
12 views

Is there anyway to save state of a frozen process?

I know about the frozen feature on linux systems, but I wonder. Is it possible to save the process state as it is when it's frozen and reopen it later ? This would be useful !
0
votes
1answer
27 views

Retrieve information from running process

I often force process to not display their output so that I can more easily run multiple of them in the background, for example: youtube-dl -f 22 https://www.youtube.com/watch?v=oyg0xYH12Qg &>/...
1
vote
2answers
104 views

vs code jedi language server is running over 120.9% of CPU on ubuntu

I don't know why all of a sudden python3 decided to run over 120.9% of CPU but I'm facing this problem since last week and I still couldn't find out the solution. I don't know why I can't find any ...
0
votes
0answers
19 views

How do I stop Wine?

I downloaded Wine and I started "run wine". I thought it has GUI but as I understood not out of the box. I'm using Ubuntu Studio with KDE Plasma. How can I stop/close it? And also what is ...
0
votes
0answers
25 views

What is the single command to run dd if=/dev/zero of=/dev/null three times as a background job [duplicate]

I run in my ubuntu the command dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null | dd if=/dev/zero of=/dev/null yes it did create 3 dd process but when i run jobs it only create 1 process. ...
0
votes
0answers
25 views

How to automaticly start process (non system process)

How to automaticly start process if process was killed or finished? For example I've got process name Test, that process was killed because some problem... I need to automaticly start that process ...
0
votes
1answer
410 views

Why has chrome so many processes with 1 tab?

I have already read this answer but in my case I am puzzled that just launching chrome, with only one tab open (google), would give me the following output with ps -aux | grep chrome: 38.2 1.3 ...
0
votes
0answers
32 views

What is the correct way to see what signals a process handles?

EDIT: Since my question was not clear let me reformulate: how can one find what signals a process handles? From this answer: https://unix.stackexchange.com/questions/85364/how-can-i-check-what-signals-...
2
votes
1answer
159 views

Kill all process by name running over one hour via terminal

I'm currently tying to kill all the process with the name /ebook-convert/ in them that are running over an hour. When I try this command, I get that the process don't exist. kill $(ps -eo pid,etimes,...
0
votes
2answers
72 views

how to check already executed programs in Linux?

I'm running various Cron tasks in my Linux machine. Recently I updated it and want to check if it is working fine. For example: 0 6 * * 1-5 /scripts/foo.sh Except for the case that I check during the ...
0
votes
1answer
13 views

Apache causes 2 zombie processes after install certbot

I've tried to restart apache, reboot the system, but the 2 zombie processes does not disapear. This happend after installing certbot. Z 2041 4991 apache2 Z 2041 4992 apache2 Kill ...
0
votes
2answers
176 views

Not able to kill process by “kill -9 <PID>” [duplicate]

I want to kill process, which related to rsync. By entering ps axu | grep -i lsyncd, I receive information about one process: andrej 10690 0.0 0.0 15984 1148 pts/1 S+ 16:52 0:00 grep --...
1
vote
1answer
23 views

killing an xterm opened with -hold

I can kill a terminal opened with xterm -hold by typing xkill and then clicking the left mouse button. But I'd like to avoid the need for the click. I would have expected that xkill -id `echo ...
0
votes
0answers
45 views

'top' commant is inconsistent with system monitor

System monitor tells me that CPU load is at 20% but when I use the 'top' command the sum of %CPU is way above 20% and sometimes even exceeds 100%. Why is this the case? I am using an Intel i5 ...
0
votes
2answers
54 views

How to resume a process after loosing ssh session?

There are some questions for keeping a linux process on a remote PC, running after loosing ssh session. How to keep processes running after ending ssh session? How can I keep a process alive after ...
0
votes
0answers
14 views

Diff two large streams (process subsitituion)

I currently have process substitution set up to work with diffs between two commands which works fine diff --unified <(huge_command_1) <(huge_command_2) This works great but seems to use memory ...
0
votes
0answers
136 views

Cannot figure out where to find the number of threads that python is seeing

I am running into an issue that I do not fully understand. My crontab runs python jobs on a schedule as it's supposed to. Recently they've started failing when loading the pandas library with the ...
3
votes
0answers
159 views

Single CPU core 100% full all the time on Ubuntu

There are some days since when I noted a single CPU core of my system is working basically at 100% of its capacity all the time on Ubuntu (first at 18.04, but I updated to 20.04 LTS and the problem ...
2
votes
1answer
61 views

bash: screen command: detach process renaming it and showing the changes in the gnome-system-monitor

screen -S myname -dm /processpath or screen -t myname -dm /processpath does not affect the name displayed by gnome-system-monitor which is always "screen". How can I change it?
0
votes
0answers
25 views

How to find the name of a killed process?

I am using linux processes running through a scheduler. The scheduler is also a linux process, and it calls the processes in the right order. In order to start every thing, I run a script, which calls ...
0
votes
1answer
367 views

Send a string and Enter key to a Node.js script [closed]

I am running a Node.js script that prompts (via lib) user for a code. I get the process id of the script: pgrep -f test.js and then pass it the code with a new line to simulate Enter key: echo -e &...
1
vote
1answer
323 views

What is dundee.service process?

Does anyone recognize the following process? dundee
0
votes
2answers
104 views

User processes killed at specific time of day

I am running python scripts fetching data and putting it into a database that take up to a day or maybe even longer on Ubuntu 20.04 headless like so: stdbuf -o0 -e0 -i0 /path/v3_start_fetch.sh >>...
0
votes
1answer
94 views

top command till a process runs out

I'm running a process and I want to store its CPU usage. So I used top command { test_case.sh > out.log ; } && { sleep 2s ; x=`pidof test_case` ; top -p $x -d 5 -b > cpu.log ; } But the ...
0
votes
0answers
211 views

How to get the process ID (PID Number) or process name of who is making changes to certain files or folder

I understand that with the watchdog function I can monitor all new files being created or modified of a given folder and that's okay. However, it seems that there is no way with this function to ...
0
votes
1answer
41 views

How to automatically kill / terminate process as soon as it is launched?

Is there a way to automatically kill a certain (sub)process the very moment it is launched? I've read in this answer how to filter a process by its name and kill it: sudo ps aux | grep '<process ...
0
votes
0answers
108 views

Process error reports error at startup

Whenever I boot Ubuntu, it will load properly until the display manager. After saying gdm3.service, it will show an error called "Failed to start process error reports when automatic reporting is ...
0
votes
1answer
79 views

Can we locate the I/O wait for an unintrruptable sleep process individually?

top command shows overall I/O wait status for the processes and "iostat" shows how much the processes are doing I/O requests. But i want to know that my particular process is in the ...
0
votes
2answers
294 views

Cannot kill `grep --color=auto` process in terminal

I use ps aux | grep -i apt to find the process and get: antonio 19070 0.0 0.0 14424 1096 pts/0 S+ 07:41 0:00 grep --color=auto -i apt Commands such as sudo kill -9 14424 or any other ...
0
votes
0answers
27 views

Limiting the number of cores for a user

I have a 32 core server but I want to limit a specific user to use only 16 cores. In other words, if the user performs nproc --all I want the output to be only 16 cores. I'm also looking for a ...
0
votes
0answers
57 views

How to get (from terminal) total number of threads per core?

I want to know how can I get the total number of running threads per core (in the runqueue) in the terminal (to be used in a bash script)?
0
votes
0answers
561 views

Find Total Memory Usage of Python Process and its Subprocesses

I have a Python 3 script foo.py that will fork 16-32 additional Python workers during its run. Using the bash shell in Ubuntu 18.04+, is it possible to calculate the total amount of memory being used ...
1
vote
1answer
257 views

Why is mysqld always running in the background?

I have noticed that mysqld is always running in the background. It is started at every boot and even after I have killed it, it will restart. I have removed everything related to mysql with: sudo apt-...
1
vote
0answers
28 views

Is there better way for acct logrotaton or an alternative to the tool itself?

Hello I have a similar problem as discussed in /var/log/account/pacct is getting too big, where is ckpacct (to cicle/gzip it)? While the problem exists it would be preferable to compress the logs ...
2
votes
1answer
138 views

How to find the service or the process that faced [UFW BLOCK]

I spent my whole day trying to find an answer for my problem but no luck, so I decided to write here. I am not an expert in Linux, so pardon if my question is dumb. I saw the following message in my /...
0
votes
0answers
33 views

How to get notification from sever if process on specific port is interrupted

I am new to Ubuntu and would like to know if there any command or package available for the issue I'm facing. Issue: I'm running some process on specific port on Ubuntu server, the system is being ...
6
votes
3answers
2k views

MainThread unfamiliar process suddenly showing up 18.04

This morning, running top, I noticed a process I nave never seen before in my Ubuntu 18.04 laptop called MainThread, which was periodically using a lot of CPU . There was also an entry called ...
0
votes
0answers
108 views

How to wake up a sleeping process?

I'm using ssh to connect to a remote server, and running a process within an attached docker. However, at some point, the ssh connection broke, I don't know how to resume the process. I used docker ...
0
votes
0answers
58 views

Simple Task Manager like Windows Fewer Details Mode

I am looking for an application that is similar to Windows Task Manager but in its Fewer Details mode. This really isn't for me per se but for school. I take proctored tests for school which only ...
3
votes
0answers
44 views

Can a regular user find out processes of another user (regular or superuser)

Researching through posts, I noticed that any user can query system to find out processes that belong to others. Wondering, if it is possible to restrict this ability i.e. a user can only find out ...
0
votes
0answers
16 views

How to continue disrupted process? [duplicate]

I stupidly disrupted the process of installing MPEG-4 AAC decoder and the H.264 decoder. Now whenever I try to use sudo apt upgrade I get this. Waiting for cache lock: Could not get lock /var/lib/...
0
votes
0answers
18 views

Understanding how process creation and destruction works with xargs, input redirection, multiple scripts

I am writing shell scripts for a project, and they have forced me to dabble with process creation and destruction. I noticed peculiar behavior with this when working with xargs, input redirection, and ...
1
vote
1answer
316 views

Get process ids of all spawned processes from xargs

In my script, I have the following: cat list | xargs -P6 -n2 ./first_queue & where list is just a file with pairs of words that I want to process: word1 word2 word3 word4 etc... first_queue is ...
0
votes
1answer
72 views

How does application get the file name in case of launch by “open file with”?

For example, Windows starts a new process of the selected application and passes the name of the file to be opened to the process with an additional command line argument (for my app: argv[0] - ...
1
vote
3answers
224 views

How can I run commands in batches?

I have the following script: command file1 & command file2 & command file3 & command file4 & command file5 & command file6 & # SOME OTHER COMMAND command file7 & command ...
0
votes
3answers
99 views

Is there any way of getting description of processes in linux?

In windows 7's task manager, we can get a short description of a running process: See this (Picture source) Can we get something similar? One way could be to create a script, which will search the man ...
0
votes
0answers
341 views

Why do rsync processes keep running even after killed by Ctrl-C?

I am running a rsync process to sync my files to a remote location. The I/O loads are pretty high, mostly in accessing the remote location. The local location is the machine disk. I killed the rsync ...

1
2 3 4 5
15