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
183
votes
16 answers

Tracking CPU and Memory usage per process

I suspect that one of my applications eats more CPU cycles than I want it to. The problem is - it happens in bursts, and just looking at the task manager doesn't help me as it shows immediate usage only. Is there a way (on Windows) to track the…
Eli Bendersky
  • 263,248
  • 89
  • 350
  • 412
85
votes
14 answers

GIT vs. Perforce- Two VCS will enter... one will leave

So I'm in the process of getting GIT sold at work. First thing I need is to convince everyone that GIT is better at what they're already used to doing. We currently use Perforce. Anybody else go through a similar sale? Any good links/advice? One of…
Justin Bozonier
  • 7,584
  • 9
  • 44
  • 46
79
votes
4 answers

Windows Equivalent of 'nice'

Is there a Windows equivalent of the Unix command, nice? I'm specifically looking for something I can use at the command line, and not the "Set Priority" menu from the task manager. My attempts at finding this on Google have been thwarted by those…
Ryan Fox
  • 10,103
  • 5
  • 38
  • 48
70
votes
8 answers

How to kill the pm2 --no-daemon process

I'm using pm2 as the process manager of Node.js. In many cases, I think I will run it as a daemon process, but if you use it locally as debugging, I think that there are times when you use the --no-daemon option. How do I end the process when moving…
Junya Kono
  • 1,121
  • 3
  • 10
  • 16
48
votes
7 answers

How to run a python script like pm2 for nodejs

I've used pm2 for my Node.js script and I love it. Now I have a python script which collect streaming data on EC2. Sometimes the script bombs out and I would like a process manager to restart itself like pm2. Is there something the same as pm2 for…
toy
  • 11,711
  • 24
  • 93
  • 176
42
votes
9 answers

How to find the process id of a running Java process on Windows? And how to kill the process alone?

I want to kill the particular Java process in Windows, like in Linux (ps -aux to get processid and then kill processid to kill the process).
Muthu Kumar
  • 480
  • 1
  • 6
  • 8
38
votes
8 answers

Check if a specific exe file is running

I want to know how i can check a program in a specific location if it is running. For example there are two locations for test.exe in c:\loc1\test.exe and c:\loc2\test.exe. I only wanted to know if c:\loc1\test.exe is running and not all instances…
murasaki5
  • 846
  • 2
  • 11
  • 19
37
votes
5 answers

Emacs, internal process killing, any command?

How to kill an internal process in Emacs? For example I run M-x shell. I can check running processes with M-x list-processes but how can I kill a process from this list?
Linkas
  • 906
  • 2
  • 10
  • 26
22
votes
22 answers

Does anyone still believe in the Capability Maturity Model for Software?

Ten years ago when I first encountered the CMM for software I was, I suppose like many, struck by how accurately it seemed to describe the chaotic "level one" state of software development in many businesses, particularly with its reference to…
Ed Guiness
  • 34,602
  • 16
  • 110
  • 145
22
votes
1 answer

pm2 managed process in errored state after machine reboot

I'm using pm2 (version 3.4.1) to manage the Laravel Echo websocket server. It runs perfect, but I'm trying to get it to auto-start after a machine reboot (which runs Ubuntu 16.04). To do this I followed these instructions: $ pm2 startup [PM2] Init…
kramer65
  • 50,427
  • 120
  • 308
  • 488
19
votes
4 answers

Why is PM2 not launching my Node process?

Previously I have had success implementing PM2, but not currently. My node app does run just fine if I start it manually, but nothing I do gets it to run via PM2, even though PM2 appears to be starting it up. Here's what I mean: If I run pm2…
208_man
  • 1,440
  • 3
  • 28
  • 59
18
votes
5 answers

What happens to my app when my Mac goes to sleep?

When Mac OS X goes to sleep, due to closing a laptop or selecting "Sleep" from the Apple menu, how does it suspend an executing process? I suppose non-windowed processes are simply suspended at an arbitrary point of execution. Is that also true for…
benzado
  • 82,288
  • 22
  • 110
  • 138
15
votes
3 answers

How do I get rid of Java child processes when my Java app exits/crashes?

I launch a child process in Java as follows: final String[] cmd = {""}; Process process = Runtime.getRuntime().exec(cmd); It now runs in the background. All good and fine. If my program now crashes (it is still in dev :-)) the…
Steve McLeod
  • 51,737
  • 47
  • 128
  • 184
14
votes
3 answers

Change priority of the current process in C

On Windows I can do: HANDLE hCurrentProcess = GetCurrentProcess(); SetPriorityClass(hCurrentProcess, ABOVE_NORMAL_PRIORITY_CLASS); How can I do the same thing on *nix?
thelsdj
  • 9,034
  • 10
  • 45
  • 58
12
votes
3 answers

Can you track when an android application has been terminated?

Looked at android documentation and it appears that we don't have the ability to know when an app shuts down. Whether it was explicitly by the user or automatically by the operating system. Below is the onTerminate() documentation which is only…
Evan Anger
  • 712
  • 1
  • 5
  • 24
1
2 3
10 11