Questions tagged [process]
A process is an instance of a computer program that is being executed.
2,690 questions
2
votes
1
answer
57
views
why cant pgid (process group leader)cant change its pgid?
Why is it that a Process Group Leader can't change its PGID? I know it sounds dumb for a leader to just abandon its own group, but what is the actual architectural reason behind this? What would ...
0
votes
2
answers
67
views
Why can’t a session leader change its process group ID (PGID)?
Why can a process not change its Pgid if it is a session leader? What problems or conflicts does this avoid?
1
vote
1
answer
49
views
How to debug why a process keeps spawning on Mac?
My skill level with OS/process-level debugging is basically zero. I keep the MacOS Activity Monitor open, and if my fans start spinning on my laptop I see what is using all the CPU and force quit.
But ...
11
votes
4
answers
1k
views
What is the minimum amount of RAM usage for a non halting program?
With a page size of 4kB, the minimum should be 4kB, right?
The lowest RSS I am able to get is 8kB with a simple program:
.global _start
_start:
loop:
mov $34, %rax # pause system call for no ...
0
votes
1
answer
74
views
What's the fastest way to capture new PIDs on AIX?
I am building a database activity monitoring script for our Oracle databases running on AIX. The idea behind it is to capture privileged users' activity without setting oracle auditing or anything ...
1
vote
0
answers
49
views
Using ProbeVue to read process memory
I am building an "agent" to read Oracle database process to track database privileged users without having to use auditing or anything in the database, completely isolated from the database.
...
0
votes
1
answer
31
views
How can I stop/close frozen (not responding) Spectacle from Terminal in SteamOS?
This happens quite often on SteamOS when you press the print screen button to take a screenshot, then your whole screen goes a few shades darker for Spectacle, but then it's just frozen. You can't ...
1
vote
1
answer
75
views
Spawning background processing
I am trying to write a reporting tool in PHP. The user provides parameters via a web page, this then starts a task to retrieve the data by running another script with a set of arguments.
Many times in ...
-2
votes
3
answers
395
views
Why does a 'reboot' take a "long time"?
NOTE: I really do not understand the downvotes on this question. If the
"downvoters" would care to leave a comment explaining their objection(s), that
would be much appreciated.
One of my ...
3
votes
2
answers
141
views
What would be the most reliable way to obtain PID, remote address and port combinations for all connections?
I tried tcp_connect, udp_sendmsg kprobes together on an eBPF program and it worked, but it missed a lot of connections. I couldn't really get any reliable results with other kprobes as well so I tried ...
-4
votes
2
answers
737
views
Linux kill command returns "No such process"
In the below shell script I have list of process IDs which need to be killed. When killing a process I am getting kill: 1234567: no such process error even after checking if the process id existence ...
0
votes
1
answer
220
views
Getting PID from PHP shell_exec to kill server process later
I'm running a server on Linux, and I need the specific PID so I can kill it later. I'm using PHP with shell_exec to run the server, but how do I get the specific PID of this server?
while($...
0
votes
2
answers
227
views
Killing a process PID starts a new process instead
I have a running process on localhost on port 5000. I have tried kill - 9 <PID> which it works for that PID but it starts a new process with a new PID instead. What's the issue here?
I'll put ...
1
vote
0
answers
39
views
Process Maps in s390x linux systems
So I am working on a debugger for linux s390x system and have the whole disassembler etc set up for reading the ELF file. For debugger I just run it on the process with base address from the process ...
0
votes
1
answer
254
views
In one process, any way to know whether there exists any other same program is running? [duplicate]
So I am designing a feature to redirect log file if there are multiple processes of this very program are running.
I guess this requires me to somehow get to know whether there exists yet unfinished ...