0
votes
0answers
42 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
85 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
321 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
31 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
165 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
0answers
101 views

How to kill process from command line in Windows EC 7 (Windows CE)?

How can I kill a process from command line in Windows EC 7 (aka Windows CE)?
0
votes
1answer
140 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
4k 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
274 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
53 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
414 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
411 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
198 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
370 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
310 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 ...
1
vote
1answer
558 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
1k 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 ...
6
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 ...
20
votes
4answers
9k 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
62 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
933 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 ...
7
votes
7answers
5k 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
604 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
1k 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?
16
votes
6answers
34k 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
12k 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
7k 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?