0
votes
2answers
37 views

How do I find and kill a php loop (process)?

I have a php script that I have been developing which calls an external api within a loop. It is being tested on a VPS which is running LAMP on Debian. I noticed this morning that the api was not ...
1
vote
0answers
28 views

Applications and .bat script get locked in Windows 7 for some minutes

I am playing around with Windows batch scripts and simple C++ applications on a Windows7 64Bit PC. The problem I am facing is that I cannot modify neither the batchfile nor the mingw-exe for minutes ...
1
vote
1answer
84 views

Command-line Number of thread per process on MacOS

I'd like to be able to get the number of thread per process in command-line and get the exact same number I can see via the Activity Monitor. At the moment the IntelliJ IDEA process (PID 5235) has ...
0
votes
0answers
84 views

nohup process commands to detect if process is still running and if not, re-run process in lamp stack

I am running nohup to keep a php script running in the background. Is there anyway to ensure the process keeps running? Is there a command that can check to see if the process is still running and if ...
0
votes
2answers
100 views

Why I haven't got right to kill a process from Windows' command prompt?

I'm studying C++ and I have to kill a process (my program I made). But I cant see the process in the Task Manager so I googled how could I kill it from command prompt. When I try to kill: taskkill ...
4
votes
1answer
665 views

How to determine if process in windows “has no parent”?

I am trying to figure out a way through the Windows command line to determine if a process has no parent. I know all processes technically have a parent that is controlled by the OS or whatever, but ...
0
votes
0answers
35 views

list all the information of a process under commandline in osx or linux

Is there any command to list all the information associated with a process, include all parameters in PS command, open files and ports and so on? Thanks!
1
vote
3answers
264 views

Running a script where you append the errors to file and use nohup

The script works! First I type this in my CLI: php worker.php >>/home/xxx/log 2>&1 Then, I want it to run as its own process or whatever, so I add an & at the end, like this: php ...
0
votes
1answer
244 views

Bash script: kill instances before re-executing

I've got a batch script I use to jump start my development environment. It looks like this :: Update checkout git pull :: Compile code with Maven call mvn clean install -Pui :: File for a program ...
7
votes
5answers
6k views

Changing Windows process priority via command line

I want to change Windows process priority via command line. How can I do that?
2
votes
1answer
323 views

Is it possible to kill a loop in bash without killing the instance of bash running the loop?

Suppose I execute (in an interactive bash shell) a loop that spawns a bunch of processes in sequence, such as the following. for i in `seq 15 42`; do if [ -f F$i.flv.mp3 ]; then play F$i.flv.mp3; fi; ...
0
votes
1answer
56 views

Call a command line program in Terminal.app without leashing to the terminal? [duplicate]

Running a program with & appended is a handy way to run it as a background process, but the program is still leashed to the terminal; if you quit Terminal.app, the program ends. How can you start ...
2
votes
1answer
631 views

taskkill windows command getting hung

I have a few batch files in which I directly call taskkill command to kill running processes (because they interfere with these nightly build scripts). But recently, it seems after some Windows ...
1
vote
2answers
545 views

Where are changes made by the PWRCFG.EXE command line utility stored?

Specifically in regards to the below part of another answer, is there somewhere I can manually set/edit what this utility is doing? Powercfg Command-Line Options In the command line you can type ...
1
vote
1answer
229 views

How can I start a process over SSH such that it will continue to run after I disconnect?

XBMC occasionally crashes on my media server. It's a pain to bring down the media server because I have to manually restart a number of services each time. I'd like to be ablle to start XBMC from an ...
0
votes
1answer
608 views

How can I view all Java Processes running on a windows box using CMD prompt

On CMD prompt, I am trying to list all Java processes with the CMD line arguments. In short, I want to list all Java processes which has jmxremote.port set on cmd prompt. whats the best way of doing ...
1
vote
2answers
356 views

Command-line interrupts in OSX vs Linux

Occasionally when I'm developing on my Mac, I'll get a process that hangs. When that happens, I'll try the following: Ctl-C in the active terminal window If nothing happens, I'll open a new terminal ...
2
votes
1answer
647 views

What does 'select processes without controlling ttys' mean?

For the following command: ps x What does x achieve? The documentation specifies 'select processes without controlling ttys' but I don't understand what this means.
1
vote
0answers
2k views

What command line options are available to svchost.exe?

It seems the only command line option used by Windows for svchost.exe is -k, followed by the group name which svchost needs to start for a given service. Yet, use of a command line option indicates ...
7
votes
2answers
3k views

What is cmd's equivalent to Bash's & (ampersand) for running a command without waiting for it to terminate?

In bash: java -jar jarfile1.jar & java -jar jarfile2.jar & The ampersand lets you launch the first program, and then do another one while the first is still running. How do I do this in ...
21
votes
5answers
11k views

How can I trigger a notification when a job/process ends?

The place I work has commands that take a long time to execute. Is there a command/utility that I can use to notify me when the command execution is over? It could be a popup window or maybe a ...
2
votes
1answer
63 views

Windows process retaining memory across invocations [closed]

I have a strange phenomenon. I'm starting a long-running process on Windows cmd shell (the behaviour is the same on XP and Win7). The process reads information from the file system (files, directory ...
6
votes
2answers
1k views

Force Chrome to run each tab as a process

Chrome is running all of it's tabs in a single process, and when I open a large number of tabs it really slows down my machine. Considering Chrome's original marketing played up running each tab as a ...
11
votes
8answers
6k views

How to run commands as in a queue

I need to do a lot of copying of various files to various folders. I can add all my copy commands to a bash script and then run that, but then I must wait until it finishes if I want to add more ...
1
vote
6answers
642 views

On Linux and Mac OS X, is there a kill or killall command that can let the app ask for unsaved document before exiting?

On Linux and Mac OS X, is there a kill or killall command that can let the app ask for unsaved document before exiting, kind of like asking the app to quit, or clicking on the "close" button of the ...
0
votes
1answer
2k views

Ubuntu 10.04 LTS - jobs command not working

When I used to execute the jobs command I got a list of running processes with their respective process-ID, but in Ubuntu lucid lynx this doesn't seem to be working. Anyone have a solution?
21
votes
6answers
40k views

How to get parent PID of a given process in GNU/Linux from command line?

Resolved before asked: cat /proc/1111/status | grep PPid
12
votes
2answers
1k views

Change Google Chrome’s Process model?

Does anyone know how to stop Chrome doing this? Chrome seems to group all tabs I open through the same page into one process. If I copy and paste the links individually into separate tabs, it ...
1
vote
4answers
4k views

Equivalent of 'ps' for Windows CE?

What is the equivalent of 'ps' (that is, a command which shows the running process list) command in Linux, for Windows CE (whose command-line, I'm accessing through telnet)?
7
votes
4answers
13k views

Kill a process with a specific “Command Line” from command line

(Feel free to edit the title if you can think of something better) Is there a command line utility that kills all processes with a specific command line? E.g. kill all processes named "java.exe" with ...
2
votes
3answers
2k views

How can I kill a process from the command prompt on Windows NT?

How can I kill a process from the command prompt on Windows NT? Preferably with a tool that comes with the operating system.
3
votes
3answers
8k views

How to get command line of UNIX process?

Is it possible to grab the command line that was used to invoke a process on Mac OS X?