process

What tools are there for timed batch processes in J2EE?

Hello, my employer just asked me to run a timed batch process in a J2EE websphere application they have running. It's supposed to run a certain class at 1130 pm everyday. I'm not very familiar with J2EE nor websphere server (or tomcat, in the develpment environment), and I've been digging around but all I've found is about the java time...

What is the best resource for learning Scrum?

What is the best resource for learning Scrum? ...

Why easyphp stop all apache processes on severals PC?

Hi, on some Windows PC, when I have both easyPHP and a standalone apache service configured on another network port and with a specific service name, I have a problem : when I stop easyphp, the other apache is stopped too. The problem do not occur on all PC I have, but seems very strange to me. Any idea? more information after answer...

Alternative to 'truss -p' instruction

I am looking for a command in Unix that returns the status of a process(active, dead, sleeping, waiting for another process, etc.) is there any available? A shell script maybe? ...

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...

How do you move from the Proof of Concept phase to working on a production-ready solution?

I'm working on a project that's been accepted as a proof of concept and is now on the schedule as an actual production project. I'm curious how others approach this transition. I've heard from various sources that when a project starts as a proof of concept it's often a good idea to trash all of the code written during that rapidly-evo...

Closing a minimized/iconized process from C#

Hi! Here's my issue: I need to close a process, already running, from a C# program. The problem is that the process now runs as an icon (minimized to taskbar), and unless the user opens it at least once (which will never happen on unattended machines), it'll never have a main window. The other requirement that I have is that the appli...

Changing another Process Locale

From my own "key logger like" process I figured out that another process Locale is wrong (i.e. by sniffing few keys, I figured out that the foreground process Locale should be something while it is set to another). What's the best way to do this? ...

How do I kill a process using Vb.NET or C# ?

I have a scenario where I have to check whether user has already opened Microsoft Word. If he has, then I have to kill the winword.exe process and continue to execute my code. Does any one have any straight-forward code for killing a process using vb.net or c#? ...

How to check if a php script is still running

I have a PHP script that listens on a queue. Theoretically, it's never supposed to die. Is there something to check if it's still running? Something like Ruby's God ( http://god.rubyforge.org/ ) for PHP? God is language agnostic but it would be nice to have a solution that works on windows as well. ...

How can I determine the current focused process name and version in C#

For example if I'm working on Visual Studio 2008, I want the values devenv and 2008 or 9. The version number is very important... ...

Starting a process in C# with username & password throws "Access is Denied" exception

Inside a .NET 3.5 web app running impersonation I am trying to execute a process via: var process = new Process { StartInfo = { CreateNoWindow = true, FileName = "someFileName", Domain = "someDomain", Username = "someUserName", ...

Behaviour-Driven or Test-Driven Development?

I recently heard of BDD and found it very similar to TDD. Which of these two do you use (if any)? and which are the pros and cons of each? ...

How much process should a single developer follow? Is a formal process too much?

Since I didn't do a good job writing the last question, and most of the answers were good, but not at all in the direction I intended for the question to go in, I deleted it and remade it as this question. I'm a solo developer on my own projects, generally very small things, but I have a few ideas that might turn into FOSS projects. I b...

What is the "Fountain Development Model"?

It is mentioned on the Systems Development Life Cycle page on Wikipedia: To manage this, a number of system development life cycle (SDLC) models have been created: waterfall, fountain, spiral, build and fix, rapid prototyping, incremental, and synchronize and stabilize. I found a few things on Google, but I felt that they were vagu...

Linux: How to measure actual memory usage of an application or process?

Hi, How do you measure the memory usage of an application or process in Linux? I've read here that "ps" is not an accurate tool to use for this intent. Thanks, Kenneth ...

How would I go about taking a snapshot of a process to preserve its state for future investigation? Is this possible?

Whether this is possible I don't know, but it would mighty useful! I have a process that fails periodically (running in Windows 2000). I then have just one chance to react to it before having to restart it and painfully wait for it to fail again. I didn't write the process so don't have the source to debug. The failure is seemingly rand...

How to figure out the current Biztalk Host Process

I would like to know at runtime in which of several possible host processes my current code is executing. The host processes have configured names at the Biztalk management level, but I need to know which process I'm in from inside the code. I didn't find any supported way to do this and I'm even stuck with the search for an unsupporte...

Top & httpd - demystifying what is actually running

I often use the "top" command to see what is taking up resources. Mostly it comes up with a long list of Apache httpd processes, which is not very useful. Is there any way to see a similar list, but such that I could see which PHP scripts etc. those httpd processes are actually running? ...

How can I limit the maximum number of running processes within Microsoft Windows?

I'm looking for a way to limit the maximum number of running processes in Windows Server 2003. Is there a registry key somewhere that controls it? If so, which one is it? ...