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
0
votes
0 answers

Which approach is used by PM2 to run the application in cluster mode?

PM2 uses the node cluster module to run the application cluster mode. The cluster module supports two methods of distributing incoming connections. The first one (and the default one on all platforms except Windows) is the round-robin approach,…
Bennison J
  • 414
  • 1
  • 12
0
votes
1 answer

Where Does PCB of a process lies inside the main memory

Since Process in main memory is stored in the form of stack, heap, data section and static data section. Where does the PCB lies in here? Or is it stored independent from this? Is it stored on the bottom of the stack of the process or is it…
0
votes
1 answer

Linux - Discovering a process run in the past

Suppose that a random process I don’t know its TID,PID and name but I know it starts at time X and ends at time X + 5 seconds... Is there a way to discover the TID, PID, and name of process for instance at time X+6 seconds? I would like to get the…
Gregor
  • 11
  • 2
0
votes
1 answer

Business Process "Observer" application

My client is requesting to be notified any time one of their business processes fails for any reason. I had the idea of writing a seperate application that will run as an "observer" and check for various parts of the process. An example would be…
Shawn Dube
  • 410
  • 3
  • 10
0
votes
1 answer

Using bupaR, how can I combine the counts and times from the process and performance maps into one map?

I'm aware that you can combine a combination of edges and nodes from the two as shown here. However, I'm trying to create something similar that displays both the counts and times on both the edges and nodes if possible like the following at the…
Rb99
  • 61
  • 5
0
votes
1 answer

How do I implement different task scheduling algorithms in Linux

A few colleagues and I are currently sharing a server to run simulations. We were hoping to implement a priority-based scheduling algorithm on the server so that more pressing jobs are run first. The server is running Ubuntu 18.04 and if I am not…
0
votes
3 answers

C++: how to check whether an external program is running?

I run an external program with C++: _wsystem(exec); I want to kill the process if it runs for more than n seconds. I can do it in Python like this: p = subprocess.Popen(self.temp_exec, shell=True) cur_time = 0.0 while cur_time < self.time_limit: …
Alex
  • 34,581
  • 26
  • 91
  • 135
0
votes
1 answer

How to fork, wait on and kill processes in a platform-independent way?

I have some C code which uses fork()+exec(), wait() (or waitpid()) and kill() - and assumes they exist after including the relevant POSIX headers. Now, I want to make this code as multi-platform as possible - with minimal changes. So, no…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
2 answers

Why does PM2 work on one server, but not on another?

We have two instances of our Node-Express app: one for development, and one for production. We are implementing PM2 process manager. This is for a Windows Server 2012 environment. For some baffling reason, PM2 (with pm2-windows-service) worked…
208_man
  • 1,440
  • 3
  • 28
  • 59
0
votes
1 answer

XML-based language for behavior?

Can you recommend an XML-based language for specifying behavior, e.g. for process management, workflows, etc.? So far I've found YAWL. Can you suggest some alternatives also? Which XML-based language would you use if you wanted to build your own…
Ariod
  • 5,757
  • 22
  • 73
  • 103
0
votes
1 answer

matlab, how to make a cleanly killable window to stop script, when 'error' throws exceptions but someone catches them

Does anyone know of a cleaner solution for the following: I'm running a matlab script that might need to be killed at some point. Hitting "cntrl-C" works but pops open some random file in debug, and might still fail depending on if the figures are…
peter karasev
  • 2,578
  • 1
  • 28
  • 38
0
votes
2 answers

PM2 not restarting clusters on errors

When I use PM2 to run multiple processes (i.e. cluster mode) and one of those processes encounters an uncaught error, PM2 does not restart that process. Why? How do I make it restart workers in cluster mode? Example code // index.js let counter =…
Thiago P
  • 275
  • 5
  • 14
0
votes
1 answer

How to create a process that runs a routine with variable number of parameters?

I know there are lots of questions here about functions that take a variable number of arguments. I also know there's lots of docs about stdarg.h and its macros. And I also know how printf-like functions take a variable number of arguments. I…
0
votes
2 answers

Akka: is actor's mailbox recovered after actor system crash / restart?

Im trying to implement Saga (Process Manager) with PersistentActor which updates multiple entities / aggregate roots to achieve (eventual) consistency without ACID transaction. Let's say, in the middle of the process, between Process Manager…
Teimuraz
  • 8,795
  • 5
  • 35
  • 62
0
votes
1 answer

forking php process and tying to specific web user

I have a web app that has a few processes that can take up to 10 minutes to run. Sometimes these processes are triggered by a user and they need the output as it is processed. For instance, the user is looking for a few records that they need. …
Patrick
  • 3,142
  • 4
  • 31
  • 46