Questions tagged [process-management]

Process management is the ensemble of activities of planning and monitoring the performance of a process. The term usually refers to the management of business processes and manufacturing processes. Business process management (BPM) and business process reengineering are interrelated, but not identical.

Process management is the application of knowledge, skills, tools, techniques and systems to define, visualize, measure, control, report and improve processes with the goal to meet customer requirements profitably. It can be differentiated from program management in that program management is concerned with managing a group of inter-dependent projects. But from another viewpoint, process management includes program management. In project management, process management is the use of a repeatable process to improve the outcome of the project.

153 questions
2
votes
3 answers

Docker Process Management

I have a deployed application running inside a Docker container, which is, in effect, an websocket client that runs forever. Every deploy I'm rebuilding the container and starting it with docker run using the command set in the Dockerfile. Now, I've…
DVG
  • 17,392
  • 7
  • 61
  • 88
2
votes
5 answers

Detect when other process is shutdown OSX

I need a way to determine from a Cocoa app if a given process name is running. One idea I had was to use NSTask and poll using ps aux | grep processName. Is there a better solution?
Mike Hornblade
  • 1,544
  • 2
  • 14
  • 19
2
votes
1 answer

Free a physiclal memory page and force a page fault

I would like to write a kernel function/module that will duplicate a specific page from a specific process, and then free that particular page. The module/function will then do whatever necessary to force that process into a page fault the next time…
2
votes
2 answers

Android how to get name and memory usage of all the running application

I'm getting processname and pid using activity manager and getprocessMemoryInfo(),but how to get exact memory used by the applications,as I'm getting different memories like getTotalPrivateDirty(),getTotalPss(),getTotalSharedDirty() All the above…
2
votes
2 answers

Tools to assist managing the application promotion process in an enterprise environment

I am curious on how others manage code promotion from DEV to TEST to PROD within an enterprise. What tools or processes do you use to manage the "red tape", entry/exit criteria side of things? My current organisation is half stuck between some…
HaveThunk
  • 230
  • 1
  • 7
2
votes
2 answers

Kill Running PHP Script via Process ID?

I make lots of GET requests to several PHP scripts via AJAX. I want to ask for implementation advice on how to kill a PHP script that is currently running (in the background). Is there some way to get the PHP scripts process ID when it runs and then…
Abs
  • 56,052
  • 101
  • 275
  • 409
1
vote
1 answer

What is the better form to use Configuration Management in organization to control documents

I'm thinking sugest to my organization, to implement SVN for all users in my orgazination. What is the best form to implement that? What is the best tool to do this? What is the best process to implement this? I have any ideas to implement that. But…
Rogerio Torres
  • 73
  • 1
  • 1
  • 7
1
vote
2 answers

Executing new task based on sigchld() from previous task

I'm currently in the process of building a small shell within C++. A user may enter a job at the prompt such as exe1 && exe2 &. Similar to the BASH shell, I will only execute exe2 if exe1 exits successfully. In addition, the entire job must be…
BSchlinker
  • 3,401
  • 11
  • 51
  • 82
1
vote
2 answers

Manage Java processes using control groups

Does anybody has already used Linux Control Groups (cgroup) to manage Java processes? I'm trying to profile CPU time utilization (thanks to the cpuacct.usage file) and I'm unable to get other value than 0...
1
vote
0 answers

How is the new connection being distributed across the instances when PM2 uses the round-robin for cluster?

Recently, I have been exploring the concept, How the PM2 works in cluster mode. assume that, that we have four instances that are running in the cluster mode. and consider instance ids are 13, 14, 15, 16 By default PM2 uses the node cluster module…
Bennison J
  • 414
  • 1
  • 12
1
vote
1 answer

running really long scripts - how to keep them running and start them again if they fail?

I need to run a bunch of long running processes on a CENTOS server. If I leave the processes (python/php scripts) to run sometimes the processes will stop running because of trivial errors eg. string encoding issues or sometimes because the process…
significance
  • 4,797
  • 8
  • 38
  • 57
1
vote
0 answers

Allow one Instance of golang executable at linux

I need to only allow one instance of my Golang executable at a time. I'm not sure how to use a Global Mutex to make sure no other instances are running. Because the sw is very memory-consuming, I want to allow only one instance of the executable to…
1
vote
1 answer

How to fix an issue that code changes are not reflecting in PM2?

In my PM2 instance running on Windows server having 4 cores CPU and that many clusters/instances, file changes are caught and servers get restarted but the changes do not get reflected. Instead it continues to show the old updates/features. But when…
Temp O'rary
  • 5,366
  • 13
  • 49
  • 109
1
vote
1 answer

how to fix the error in AddJsonFile method while making a console application to read data from appsettings file

This is the code I have implemented to check whether the process is running or not.I have reerred .NET Core 3.1 loading config from appsettings.json for console application. but I get an error as the attached below.Even after importing the…
user15784148
1
vote
0 answers

How to read process name using appsettings file

This is the code I have implemented to check whether the process is running or not. using System.Diagnostics; class Program { static void Main(string[] args) { //TODO } public static bool IsProcessUp(string name) …