process-management

How do I find userid by login (Python under *NIX)

I need to set my process to run under 'nobody', I've found os.setuid(), but how do I find uid if I have login? I've found out that uids are in /etc/passwd, but maybe there is a more pythonic way than scanning /etc/passwd. Anybody? ...

Monitoring processes to see if they've crashed in vb6

I've got a program that tends to crash quite often while I'm asleep and I need to keep it running. So I thought I might writeup a vb6 application that monitors the process list, if something disappears it will relaunch it. Anyone know of an easy way? ...

How can I enforce a maximum amount of forked children?

EDIT: I've tagged this C in a hope to get more response. It's more the theory I'm interested in than a specific language implementation. So if you're a C coder please treat the following PHP as pseudo-code and feel free to respond with an answer written in C. I am trying to speed up a PHP CLI script by having it execute its tasks in p...

How does one deal with backdoor code changes?

Scenario I admit (somewhat shamefully) that I have not only witnessed this particular practise, but I have also committed it myself. My name is Jeff and I have gamed a quality process to get my way. The scenario I am referring to is this. Engineer A wants to do something a certain way but Engineer B has already implemented it. Rather t...

Simple protocol for remote process startup/shutdown

I'm looking for a simple protocol to control remote processes from one managing application. The remote processes will run on Windows and Linux (x86). Is there a simple protocol for managing remote processes, for which I could find daemons that run on both Windows and Linux? ...

Controlling Processes/Apps via Classic ASP script

I want to provide users of a VB ASP Classic website (a well-defined group) with a button which will stop and restart an application running in a visible window on a particular user's desktop on the webserver. The users do not have direct access to the machine (either physically or via vnc, rdp, etc), and this application needs to be ru...

Protocol for remote process management

In short: Is there any known protocol for remote process management? I have a system that contains several applications, each has it's own computer in a local network. When the applications are up and running, they communicate without any problems. What I'm interested in is a protocol to manage the remote applications startup, shutdown...

What measurements to you use to improve your processes?

This question was originally asking 'What KPIs do you use to in a software development organisation'. Unfortunately it seems that KPI is a four-letter word, and the immediate assumption is that KPIs are always mis-used (maybe they are?). So, I've hopefully improved the question to get at the underlying goals which I originally thought K...

Dealing with illogical managers

At a place I used to work they typical response to any problem was to blame the hardware or the users for not using the system perfectly. I had adopted the philosophy that it's my fault until I can prove otherwise prior to that job (and so far, at least 99 times out of 100 it's correct). One of the last "unsolvable" problems when I was...

difference between project management and process management

What is the difference between project management and process management? ...

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 I would like to hear some success stories, not to waste time on things that will not wo...

How to add more items to Priority dropdown in TFS work item

I've created TFS project based on MSF for CMMI process template. For any type of work item I can only select priority between 1 and 3 which is not enough precise for our process. How can I widen this priority range, so that I have, for example, priorities 1-8 using process explorer UI? ...

CMM Practices or Project Management Templates

Our company is a startup and we would like to implement all standard CMM or Project management templates, wherever possible, in our project. Where could I get these standard templates? ...

How do you work on Strategic Development initiatives when Tactical work takes priority?

My day-to-day job consists of maintaining large volume websites and this has given me exposure to developing better methods to develop and maintain the code. This has also given me a large body of knowledge in the code base in terms of troubleshooting that is beneficial to the company. I'm also the maintainer of an IDE plug in I create...

How do I develop a system of checks and ballances for coders

How do I 1. get multiple developers working on the same wordpress blog or the same code for another type of website 2. be able to preview those changes 3. have control over which and who's changes are implemented 4. and have the ability to undo the changes if they break something? ...

How to implement CMMI level 2 with Scrum?

Hello, We are currently interested in implementing CMMI level 2 for our development processes. I've read some documents about CMMI and also Scrum. Personally I'm interested in Scrum as our native development processes because it can be easy for all team members to use (we are just a small team), but I have a few questions: Has anyone...

Applying ISO Procedures to code changes

I'm looking for a way to enforce ISO standards on developer code checkins. This boils down to auditing each change to the codebase so that I can tell: who made the change when the change was made what project the change related to what work item the change related to We're doing .Net development using Subversion for source control an...

Process management: To be killed or Not to be killed

An observation: While I was developing my app on android, I noticed following two lines in LogCat. These occurred because of too much memory requirements of my own app. I have read that Android can decide when to get rid of a process that are not needed or because of memory requirements. Does it mean the alarm will not trigger at all (w...

How to make sure only one rake task is running at a time?

Hi guys! I want to setup rake tasks to run via cron. That is easy, but what is not easy is ensuring that only one copy of that rake task is running at a time. I imagine I could use ps on the system to check and then exit the rake task if it is already running, or I could do a delayed job structure where I serialize the name of the task...

Kill all processes launched inside an xterm when exit

I'm using Cygwin to start some servers. Each server is launched inside an xterm with a bunch of command like this one: xterm -e $my_cmd /C & Is there an easy way to kill all launched children (xterm and their running commands) in a row ? I want also to be able kill a particular launched command when I close its parent xterm. Someo...