process-management

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 who can't come up with better adjectives. ...

Get current process CPU usage in C

On Windows I can do: HANDLE hProcess = GetCurrentProcess(); FILETIME ftCreation, ftExit, ftKernel, ftUser; GetProcessTimes(hProcess, &ftCreation, &ftExit, &ftKernel, &ftUser); SYSTEMTIME stKernel; FileTimeToSystemTime(&ftKernel, &stKernel); SYSTEMTIME stUser; FileTimeToSystemTime(&ftUser, &stUser); printf("Time in kernel mode = %uh...

Change own process priority 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? ...

How do you list all processes on the command line in Windows?

Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine? ...

Is it possible to determine which process starts my .Net application?

I am developing console application in .Net and I want to change a behavior a little based on information that application was started from cmd.exe or from explorer.exe. Is it possible? ...

Scrum Process Management - tips, pitfalls, ideas

I've been doing scrum with a team for a while, but things seem messy for whatever reasons. I've been thinking on how they can be changed and have a couple of questions that would like to raise here. First, what should be the role of testers, designers and non-developers as a whole in the scrum process? If they are equal to other team mem...

Is it possible to kill a Java Virtual Machine from another Virtual Machine?

I have a Java application that launches another java application. The launcher has a watchdog timer and receives periodic notifications from the second VM. However, if no notifications are received then the second virtual machine should be killed and the launcher will perform some additional clean-up activities. The question is, is th...

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 reliance on heroes. It also seemed to provide realistic guidance for an organisation to progre...

Tracking CPU and Memory usage per process

Hello, 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 history of CPU & Memory usage for some process. E.g. I will start tracking "firefox", ...

How to pause / resume any external process under Windows ?

Hello, i am looking for different ways to pause and resume programmatically a particular process via his process ID under Windows XP. http://www.codeproject.com/KB/threads/pausep.aspx does it with SuspendThread / ResumeThread but warns about multithreaded programs and deadlocks problem. PsSuspend looks ok : http://technet.microsoft.com...

Never do anything until you ready to use it, in software too? [Toyota principle]

I was listening to a podcast. Where they talked about principles Toyota was using. " - Never do anything until you are ready to use it." I think this tell us to look in other places, to learn what other practices have known for years. Ok, here is the podcast. I think it is interesting http://itc.conversationsnetwork.org/shows/detai...

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 Cocoa apps, or does the OS wait until control returns to the run loop dispatcher, and go...

How do you deal with micromanagers?

In the past I've worked with several types of project managers. There's the laissez-faire PM who stays ignorant of the process as long as milestones are hit. There's the hands on PM who gets into the innards of the process and tries to block and tackle, removing obstacles. And then there's the micromanager. I've had a horrible succ...

Low Friction Minimal Requirements Gathering

How can our team gather requirements from our "Product Owner" in as low friction yet useable of a way as possible? Now here's the guidelines- No posts that it can't be done or that the business needs to make a decision that it cares about quality, yada yada. The product I work for is a small group that has been successful for years. I j...

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 custom online forms type functionality and paper based dependencies to submit documents, gath...

Suggestions for requirements development tools that support CMMI objectives

We are currently evolving our development processes in an effort to become CMMI compliant (we will start with level 2, and move up from there). We are trying to locate a tool that is inexpensive (or free) that will allow us to develop requirements in the spirit of CMMI. In other words, we need to be able to enter our requirements, trac...

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 the big wins is that we can work with it disconnected from the network. Another win IMO i...

Tracing which process that has opened a particular file

Hi, 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 possible but don't know how. I'm using the standard file management functions in Wind...

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 = {"<childProcessName>"}; 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 child process still seems to hang around. How can I make it automatically end when the pa...

Monday Morning Meetings - What format do you use?

We're trying to improve the format of our Monday morning meetings (M3). The meeting is among all members of our company (20 persons) including developers, designers, administrative and the company's president. It starts with a round-table of 1 word check-in (social) and then transitions into business aspects. We tried a project-focused...