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
3
votes
1 answer

process management with python: execute service or systemd or init.d script

How to efficiently and correctly manage processes with python. I want to run commands like: /etc/init.d/daemon stop service daemon start systemctl restart daemon Is there any python module available for this? Any help will be highly appreciated.
Arindam Choudhury
  • 2,816
  • 2
  • 18
  • 22
3
votes
4 answers

Tracing which process that has opened a particular file

From kernel mode in Windows I'm able to intercept and monitor virtually all actions performed on a particular disk. When a file is opened for any purpose I get an event. Now I want to trace which application that opened it. I think this should be…
sharkin
  • 12,162
  • 24
  • 86
  • 122
3
votes
0 answers

Stop child processes after main program exits in java

I have written a Java program to run some other processes for special tasks. I want to satisfy a grate condition which is all child processes should exit if the main java process ended or exited. I used this code in my java program: processBuilder =…
sajad
  • 2,094
  • 11
  • 32
  • 52
3
votes
2 answers

Linux, code that checks there are no currently running cron jobs?

How would I write a bash script that checks there are no currently running cron jobs, then does some simple action? I am not talking about cron jobs that are scheduled to run at some point, I am referring to actively running processes. Thanks!
OneSolitaryNoob
  • 5,423
  • 3
  • 25
  • 43
2
votes
1 answer

Resource cleanup in Linux

How can I cleanup all the resources allocated by a process (process A) when it terminates? Process A may allocate resources in another process space when it uses services provided by the other process(A will use IPC to access services offered by…
Deno
  • 83
  • 5
2
votes
0 answers

Process mining data visualization in Python

How can I reproduce a visualization like this in Python with the given example dataset? Which module can I use? +---------+-----------------------+-----------------------+----------------------------------+ | Case_ID | Timestamp_from | …
Nicolaesse
  • 2,554
  • 12
  • 46
  • 71
2
votes
3 answers

Is hyperthreading working?

I'm running some fairly processor-intensive stuff on my PC, and notice my CPU usage looks pretty odd. My PC is a quad-core i7-870, which supposedly has eight virtual cores. I'm using the Task Parallel library in .NET 4, so expect all cores to be…
2
votes
1 answer

Is there a way to allocate different instances of the same process to different camunda instances(workstations)?

Is there a way to allocate different instances of the same process to different camunda instances(workstations)? Since there will be more requests for my camunda process, than my pc can handle, I'm looking for a way to allocate some of those…
2
votes
4 answers

How to determine if the application is already running? C portable Linux/Win

Is there a way to write a C code that allow us to determine if a previous instance of an application is already running? I need to check this in a portable way for Linux and Windows, both using the last version of GCC avaiable. Any examples of…
DrBeco
  • 11,237
  • 9
  • 59
  • 76
2
votes
2 answers

Running a BAT file in background with invisible.vbs, but how to stop it?

I'm using a solution like the one mentioned here run bat file in background but the bat file in question runs a Bitcoin GPU miner in the background. Sometimes I want to stop the miner, but since I am trying to run it invisibly (because I don't want…
2rs2ts
  • 10,662
  • 10
  • 51
  • 95
2
votes
0 answers

What is the best node process manager for Windows Server?

Our team maintains a Node-Express API in a Windows Server environment. We've struggled to find a reliable process manager. The Express js site lists some favored pm's, but they all seem Linux-optimized (Forever, PM2, SystemD, Strong-PM). None…
208_man
  • 1,440
  • 3
  • 28
  • 59
2
votes
3 answers

Process monitoring - Python/Ubuntu/Linux

I have a few processes I need to run in deamon mode, I just discovered upstart so I am starting to use it. Are there any python libraries or applications that I could use to monitor and control these processes from an html interface? I'm asking as…
RadiantHex
  • 24,907
  • 47
  • 148
  • 244
2
votes
1 answer

How can I use GDB with strace to find a memory leak?

I have a C++ program which: Allocates memory (always the same amount) Should deallocate all that memory Repeats And I'm using the method I found here to know if all the memory is deallocated properly. But it turns out that every 15 or so iteration…
user6245072
  • 2,051
  • 21
  • 34
2
votes
4 answers

Please explain the following characteristic of suspended process

The following is from William Stallings "Operating systems, internals and design principles" in which he explains the characteristics of the suspended process as The process may or may not be waiting on an event. If it is,this blocked condition is…
azemda
  • 79
  • 1
  • 1
  • 8
2
votes
0 answers

PM2 run in cluster mode with a non-root user

I need to run multiple instances of my node app in cluster mode on an Ubuntu 14.04 machine. The problem I've encountered with is that it doesn't work with a non-root user while it keeps saying: Script /path/to/bin/server.js had too many unstable…
Mohebifar
  • 3,341
  • 1
  • 24
  • 32