We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [process-management]

Use this tag when the topic is about system process management. Commands used for this are like ps and kill -9 xxxx and service xyz start|stop|restart and htop, for example. Often used in conjunction with memory management.

Filter by
Sorted by
Tagged with
0
votes
2answers
202 views

Background process (postgresql) receiving SIGINT from Ctrl-C in shell

I wrote a shell.nix file to build the development environment for one of my projects. I'm using a shellHook to ensure a postgresql server is started when you drop into the nix-shell. The shellHook is ...
0
votes
0answers
111 views

AIX kernel internal stats of nmon: fork vs exec

Why the values of fork and exec stats shown on the kernel internal stats of nmon utility in AIX systems (k option) are so different? Usually the shown fork value is greater than the exec value, ...
0
votes
2answers
440 views

Supervisord removing a process after successfully running

I have the following configuration for a process to run continuously. Apparently, it works very fine but after few hours or sometimes few minutes, the process gets terminated. Any kind of help is ...
0
votes
0answers
31 views

Is there a way to log attempts to change a file in RHEL6?

We have a RHEL6 server that was built using an old homegrown build platform. The team that built the platform was disbanded, and all members have moved on. So, we are trying to figure out everything ...
0
votes
0answers
444 views

How to limit CPU usage for some specific processes

Saying that I have a program, which will fork three sub-processes, meaning that it will create four processes in total while running. My ubuntu server has 16 CPUs. Is it possible to assign the CPU ...
0
votes
1answer
382 views

How do I kill all instances of /opt/php56/bin/php-cgi if number of running processes exceeds 20?

I need this because my shared hosting plan has a process limit of 25. Whenever there is above 25 process limit, my site gives an error 500. What I want to do is build a script that would kill all ...
0
votes
2answers
56 views

How can i automatically handle hogging process before system freeze?

First of all hello, and thank you for taking the time to read my question. Update: What my desired outcome with this question is to know the best way to handle a browser process using up all the ...
0
votes
1answer
508 views

Edit file with vim using Dialog

I am trying to build a terminal based GUI for a tool. The following code invokes something like this while true do CHOICE=$(dialog --keep-window --clear --no-shadow \ --backtitle "...
0
votes
1answer
181 views

How we will conclude there is memory leaks in a process without any support from memory leak detection tools like valgrind?

If RSS value of process(obtained from top or ps command) increases rapidly can it treated as memory leaks. Assume there is less provision to modify the code and no adequate support to install new ...
0
votes
1answer
87 views

Limit the number of mod_mono_server4 process instances to match the number of Apache server processes started up at Ubuntu 16.04 reboot timee?

How do I limit the number of mod_mono_service process instances to match the number of Apache server processes started up at Ubuntu 16.04 reboot time? The way to specify the number of Apache server ...
0
votes
1answer
487 views

Process management - add daemon process from CLI

I'm looking for process manager which can be controlled from CLI (add, start, stop, delete), so I can control it programmatically. I've tried using https://github.com/circus-tent/circus, but the ...
0
votes
1answer
113 views

Kill a stuck process in running state

I am trying to kill a du -mh command that has been stuck running for 18 hours. I have tried many kill signals kill -15, kill -2, kill -9 as root but with no luck. Are there any other techniques to ...
0
votes
2answers
79 views

Which tool can be used to configure the CPU priority of a process?

I know that you can use nice to re assign priorities of processes but which tool can be used to configure the CPU priority of a process ?
0
votes
3answers
2k views

How to allocate a process specific amount of CPU power? [duplicate]

I would like to allocate certain number of CPU cores to a specific process for performance improvement. How can I do this?
-1
votes
1answer
174 views

How can a linux process's date and time be updated without restarting? [closed]

I have a requirement where date and timestamp of a server has to be changed frequently to desired value and associated processes (Weblogic server/Java Virtual Machine Process and a script) have to ...
-2
votes
5answers
6k views

How to find PID of an ongoing job in UNIX?

I executed a shell script which will call some internal applications and will take few hours. Due to some problems, I have to stop or kill that job. For this, first of all, I ran ps -u $uname to list ...
-3
votes
3answers
454 views

What could be the bottleneck on this AIX machine?

My kernel usage is running up to 54%. What could that mean? What could be eating resources on this AIX 6.1.0.0 machine?
-3
votes
1answer
34 views

Reasons that may cause a running process to voluntarily or involuntarily give-up the CPU?

What are the reasons that may cause a running process to voluntarily or involuntarily give-up the CPU? As only one process can be running in the CPU/Core at any one time.