Questions tagged [process]
A process is an instance of a computer program that is being executed.
2,596
questions
0
votes
1
answer
34
views
How can I make bluetoothctl quit running?
I have been experimenting with bluetoothctl and blueman. I have closed the window of blueman. I have also typed quit in bluetoothctl's command line interface. I have also run systemctl stop bluetooth. ...
0
votes
1
answer
32
views
After using the timeout command in the container of the alpine image, a dead process will be left
I ran a container using the alpine image and used timeout to run a command in it. After the timeout command ran, there is a dead process left in alpine, and I cannot kill it using the kill command. My ...
0
votes
0
answers
50
views
How to limit ram usage of a process in Linux?
Consider a Linux process that is currently running. We want to limit the amount of RAM used by this process so that it does not interfere with the operation of the system. What tools or commands can ...
0
votes
2
answers
43
views
What other channels besides /proc are there to obtain process information?
We know that process information can be obtained from the /proc directory, such as being able to see the PID of all processes, etc.
And many user commands, such as top, ps, and so on, essentially ...
0
votes
1
answer
23
views
Limiting a process to only allowed to use specified network interface
I have binary program named wstunnel.
That program has no option to specify outgoing traffic. By default it will use ens3. I expect the program will use warp interface.
I'm not sure iptables can solve ...
0
votes
1
answer
33
views
Is there a way to find out which process is writing to a file on a server with restricted permissions?
Let's say I have a file named "app.log" and I want to find out which process is writing the log, but I have restricted permissions, I have tried the following:
lsof /path/to/file, which I ...
0
votes
1
answer
39
views
FUSE filesystems look at saved UID/GID?
While attempting to create a program that reads some configuration before launching programs as a normal user and then as the root user, I noticed this odd behavior. I can't seem to find mention of it ...
0
votes
1
answer
78
views
process ID of process launched with system command
Suppose I open a shell on ubuntu OS, then open a software such as matlab via
matlab &
In the matlab GUI, I do a system command
system('/path/to/my/cppprog') % <-- PID of this running program?
...
1
vote
0
answers
33
views
Send Input to Interactive Process via File Descriptor
How can I find the file descriptor that a process reads input from?
Background
I run a Vite (pronounced veet) server when developing in an Alpine container. Currently I login to the container and ...
-3
votes
1
answer
97
views
why don't we create processes from scratch and make it a "fork", in linux? [duplicate]
why in Linux do we not create a process from scratch, as "init" is created, but create a "fork" of it by the method of branching?
0
votes
0
answers
42
views
What killed my process? No relevant entries seen via dmesg or journalctl on Rocky Linux 9.2 (Blue Onyx)
A program from a vendor gets killed instantly. I need to know why. Log shows nothing relevant. Any advice? I looked into OOM killer etc. Added tons of swap. Did not specify log in journalctl so I ...
1
vote
0
answers
36
views
mysqld thread count exceeds max_connections
As the question title suggests: I have set max_connections = 2 in my my.cnf file, but when I activate my mysql daemon, the thread count sits at 37. I am searching online but cannot find indication my ...
0
votes
1
answer
38
views
Run Additional Commands on a Specific PID
I'm completely new with Linux so forgive me if this seems like an absurd question.
I am trying to open new tabs on Firefox without a url from the terminal. So my command is:
$ firefox -new-tab -search ...
1
vote
1
answer
146
views
Capturing output from a bash function without using a subshell [closed]
I have a bash script listening on a pipe for commands. When it sees a command it runs it. However, I would like it to support the "sideloading" of bash functions that can be called at a ...
0
votes
0
answers
32
views
User space swap
I have low physical memory 1GB in my VPS container based (LXC), therefore I can't change kernel parameter such as swap memory swappiness. Even though there is swap allocated from built-in VPS when I ...