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
-2
votes
2answers
77 views

Displaying background processes running by a specific user [closed]

I am new in ubuntu linux and I have a little problem: I need to write a shell script that displays processes launched in the background by a specific user. Username is a positional parameter. I will ...
0
votes
0answers
10 views

iftop never stops working

I recently learned about iftop and used it for monitoring my wifi data usage few times today. sudo iftop -i wlp2s0 is how I call it. After 4-5 opening closing of iftop, I figured out that my ...
1
vote
0answers
52 views

Boot time in Ubuntu 20.04 is more than 4 minutes. How to reduce it?

The boot time for my Desktop PC is more than 4 minutes. I would love to know what processes and services should be terminated in order to fix this issue. I have already tried fixing up startup ...
0
votes
1answer
15 views

Memory and CPU usage on kill -STOP

I recently learned kill -STOP command. I was wondering, what happens to the data on memory if I do this command. For example, if I do kill -STOP on a process 999 which is taking 20 GB out of 32 GB ...
2
votes
2answers
77 views

Check how many processor cores my Python code is running on?

I want to check how many cores my Python script is using. Suppose that I have this code: while True: print('Hello World!') When I run top, it gives the CPU, Memory, percentage in addition to ...
0
votes
0answers
24 views

Reattach closed stdin of a process to bash

I was web-surfing when I accidentally closed the terminal where the command apt full-upgrade was running. It was at the point when it was tellin me to stop xlockmore and xscreensaver and waiting me to ...
0
votes
1answer
47 views

Process gets killed with Out of Memory - How to limit memory for the process?

I have installed Matlab 2020a in Ubuntu 20.04. When trying to run a code the Matlab program is getting killed, but it runs in another system perfectly fine. Checking resources while running shows that ...
0
votes
1answer
24 views

How to investigate an unknown process called `frontend` pegging CPU all the time

As my laptop (Dell precision 16Gb, ubuntu 18.4) had been slower than usual, I had a look at top. Here I have a process, called frontend pegging 50% of the CPU. PID USER PR NI VIRT RES ...
0
votes
0answers
21 views

Ubuntu 20.04 stopped before it finished

I got a laptop from my brother it has Linux I didn't know much about but I've been learning, well I got with Ubuntu 16 and upgraded to 18 then 20 came out so I followed all the tutorials of how and ...
0
votes
0answers
83 views

Ubuntu 18.04 computer consuming high percentage of RAM when in idle state

My Ubuntu 18.04 with a RAM of capacity 7.58 GB is using 4GB RAM when none of the applications is running in the foreground. I also once killed the gnome-shell itself that reduced gnome-shell's RAM ...
0
votes
0answers
24 views

How service and process of Linux linked?

I have a general question on Linux. I could find what service (the one that runs in background mostly a daemon that receives request and responds with response) is and what process (runs in the front) ...
0
votes
0answers
20 views

how to kill process passwd from a second terminal. Root process cannot be killed?

I have my one terminal running the passwd command, without entering new password. then with a second terminal I need to kill the process passwd, however as it is a root process I don't know how to ...
0
votes
2answers
84 views

Process id is constantly changing, and it can't be killed with name

I'm working with Ubuntu 16 through SSH, and facing an issue with it. I want to kill the process but can't find a way because it keeps changing the PID every time. I'm using this command to check the ...
1
vote
1answer
405 views

Why does Ctrl + C not kill Python running in terminal?

I am trying to understand the reason why the whole Python process does not get killed when I press Ctrl + C inside and infinite loop or for that matter any Python function that I am running in ...
0
votes
0answers
32 views

Find process started by Autostart (Redshift)

I've tried pgrep redshift, pgrep -f redshift, ps -ax | grep redshift, ps -elf | grep redshift, ps -ax -u root -U root | g redshift, systemctl | grep redshift all without finding the process, yet ...
1
vote
1answer
129 views

Killed bash process keep restarting

The server has a running bash process with 2200% CPU usage: $ ps aux | grep 10986 root 10986 2198 1.8 2483184 2437820 ? Ssl 13:23 962:25 -bash The process has 22 -bash threads as shown in ...
0
votes
0answers
68 views

Question about WCHAN and process states

I have 2 questions about WCHAN The 'ps' man page describes WCHAN as: Blockquote nwchan WCHAN address of the kernel function where the process is sleeping (use wchan if you want the kernel function ...
0
votes
0answers
30 views

Difference between Interactive and non-interactive Processes?

I was reading about Daemon from this answer; They are the processes which run in the background and are not interactive. They have no controlling terminal. A daemon is a service to whom we can ...
0
votes
0answers
46 views

Is it possible to disown a background process and then later open it in another terminal window? [duplicate]

Say you have a script that takes a while to do something, but then later requires some user input e.g. something like: #!/usr/bin/python -u import time x=0 while(x<10): time.sleep(1) x+=1 ...
0
votes
1answer
39 views

Cannot see process of service in top or ps

Status of my Postfix service is systemctl status postfix: ● postfix.service - Postfix Mail Transport Agent Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled) ...
0
votes
0answers
435 views

Track a program running process

I'm starting seriosly with ubuntu and if running any program or executing a file causes an error I'd like to be able to see by myself where it is and why it happened, so my point is: I'd like to know ...
0
votes
1answer
123 views

How do I kill a screen session if it has no running processes?

I use screen to run a Minecraft server, and I restart it every day. This is my start code: screen -mdS mcserver screen -S mcserver -p 0 -X stuff "java -Xmx4G -jar server.jar^M" This is my stop code: ...
1
vote
0answers
243 views

Handling MainThread process in Ubuntu

I am using Ubuntu 16.04 and I have noticed that from time to time a process named MainThread appears in my machine. I couldn't find out in which program it belong to though. Besides that I have ...
2
votes
0answers
244 views

unattended-upgrade taking a lot of CPU power

I've recently upgraded my OS from Ubuntu 16 LTS to Ubuntu 18.04 LTS and it's been a few days that the process unattended-upgrade is taking a lot of CPU power, forcing my fan to be quite noisy (cf ...
0
votes
0answers
18 views

stopping a prcoess that is utilising a port

I have a nodejs code which i want to run on a particular port. So when i run the code , I get an error {"pid":25683,"hostname":"arun","name":"mosca","level":50,"time":1573900475851,"msg":"Error ...
2
votes
1answer
410 views

Tracker process taking lot of CPU

I'm trying to understand what the different background processes are doing on my machine as this one is freezing from time to time. I have noticed that the tracker processes (there are several of them ...
3
votes
0answers
352 views

What does the process 'Main Thread' do?

I am using Ubuntu 16.04 and listening to music using Banshee. At a certain point the graphics interface greys out and the application is unresponsive. If I launch ps, the process list is monopolized ...
0
votes
2answers
430 views

How can I kill a screen session running a Minecraft server and save the world?

I am running a dedicated Minecraft server, and I want it to restart every night at midnight. I'm running it in a screen session so I can easily access it. However, if I just run screen -X -S server ...
2
votes
1answer
62 views

How do I found out which process creates a tilde “~” directory in my home folder

Some process keeps creating a directory named ~ in my home folder. How do I find out which process is doing this? I couldn't find anything useful in the syslog. I can use ls -l to find the time it ...
1
vote
1answer
32 views

How do I stop two of almost every process running?

How do I stop two of almost every process running? Each duplicate process has my Username. Gnome seems to be running duplicated. I found it because an error was indicating Failed to start server, ...
0
votes
1answer
78 views

Two processes doing extensive calculations - I want one to get ~100% of processor time - how?

I am running Ubuntu basic server with two processes: - process 1 - performing calculation 100% of uptime, and which I use to share computing power to community (it's running @ prio 19) - process 2 - ...
0
votes
0answers
116 views

How to move one process from SWAP to RAM?

As far as I can see, there is a design error in how my processes are moved between SWAP and RAM: If RAM gets full, some are moved to SWAP. So far so good. But if RAM gets freed, they are not moved ...
0
votes
0answers
59 views

How to get cpu, memory in percentage, and full command of process info, for monitoring

System Linux local 5.0.0-27-lowlatency #28-Ubuntu SMP PREEMPT Tue Aug 20 20:33:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Issue I need real values of cpu in percentage (average for all cpus), ...
0
votes
0answers
632 views

Not able to kill process

When I do ps -A, it shows me all running process but not the one which I want to kill. But the process which I want to kill its shows PID ps aux | grep -i resourcemanager show below output hduser ...
0
votes
0answers
46 views

Monitor process, because writing stuck sometimes for 1 second

System Linux local 5.0.0-27-lowlatency #28-Ubuntu SMP PREEMPT Tue Aug 20 20:33:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Issue Sometimes, when I am writing, cursor stuck for second and then it ...
2
votes
0answers
128 views

Viewing tail -f ---disable-inotify /var/log/syslog during bootup, GDM, GNOME

During bootup, I was able to disable splash screen (using How can I disable the purple splash screen at boot? instructions) so that I can see the scrolling information (controlled by init.d) of what ...
0
votes
1answer
56 views

closing processes using /home in order to move /home to new drive

I'm moving my /home from one drive to another new drive. I'm doing it from tty3 as root. I've used sudo mv '/home' '/old_home' but it says device or resource busy. I've tried to kill the process ...
1
vote
0answers
34 views

Ubuntu server won't stop running processes

I have an Ubuntu 16.04 server with ISPConfig 3.1 and many websites installed. For some reason the server started working too much on some processes with high load, and it gets too slow from time to ...
0
votes
0answers
64 views

How to get PIDs of processes with most network usage in descending order

I'm using my phone's hotspot for using the internet on my laptop with Ubuntu 18.04 installed. But even if I'm not doing anything, my laptop is still using the data and consumed my whole data pack ...
18
votes
2answers
1k views

Easy way to get process information from a window

On Windows, I can use Process Explorer and drag its crosshairs to a window, then Process Explorer highlights the associated process. On Ubuntu, I didn't find such a function in System Monitor. What's ...
1
vote
1answer
105 views

Check for running proccess constantly

I need to check whenever a process is running and alert if the process dies, is stopped or closes. I have used pgrep and processName and then alert, like this: pgrep processName && notifiy-...
2
votes
0answers
119 views

I discovered several (about around 100) loop processes in memory of my Xubuntu 18.04 LTS desktop. What are these for and can I safely remove them? [duplicate]

loop processes (over 100) in memory: I can see them in taskmanager. Can anyone tell me what these processes are for, and what uses them? They are all called loop (with an increasing number (up to ...
1
vote
1answer
166 views

Why do I have two PostgreSQL versions in my Ubuntu 18.04?

Everytime I install PostgreSQL in Ubuntu 18.04 (even when I ask apt-get to specifically install version 11 with a sudo apt-get install postgresq-11) I get version 10 and version 11 in my system. ...
0
votes
0answers
18 views

Bind threads to same CPU as spawning process

I am running some experiments with a black-box-like software executable that spawns a certain specified number of threads. Right now Linux schedules the spawned threads on any CPU that it deems to be ...
5
votes
1answer
1k views

Does Ubuntu Server 18.04.2 LTS “track” users in any way?

I am considering Ubuntu Server 18.04.2 LTS for a personal home server. Though, reading online about things like Zeitgeist and Unity Dash (Online Search Results) I became a bit concerned about privacy. ...
0
votes
1answer
24 views

Average of CPU and memory use of ALL process that appear during some time interval

I know some ways that I can see the average of CPU and memory use for one process, but I never saw a way to see the average of all process that appeared during some time. The goal is, for example, to ...
1
vote
1answer
154 views

How to stop a background process when the foreground process finished completing the task

Need to stop b.sh when a.sh is finished. Both scripts must run in parallel one must not wait for the other. b.sh contains the profiling of the process a.sh. When I run the script while loop does not ...
0
votes
1answer
581 views

What is the PID on ps -ef | grep certb

I'm not technically sounded on ubuntu. I'm trying to kill a process from terminal. I tried to find process ID using ps -ef | grep certb and killed as follows ps -ef | grep certb | awk '{print $2}...
0
votes
0answers
36 views

How to kill Firefox without unplug power if even 'sudo kill -9' can't?

This question may look similar to this or this one but the difference here is that the process in question is Firefox, i.e. it is under user space and it is not related to mounting stuff. In my case ...
0
votes
0answers
54 views

Highly CPU power consuming process hides itself from process list

recently my PC very often occurs to be very slow. It happens especially during video playing (e.g. netflix, but also local files), that the PC just stops doing anything, the mouse moves extremely slow,...

1
2 3 4 5
14