This tag is about operating system processes. A process is an instance of a computer program being executed. Many operating systems let multiple processes run concurrently. The operating system takes care of isolating processes one from another in order to provide data integrity and also provides ...

learn more… | top users | synonyms

-1
votes
2answers
12 views

Slow down / speed up any arbitary process

Is it possible on windows, to slow down and/or speed up a process as and when i see the need arise (One way i can think of is to dynamically change how much processor time a process gets). Please ...
3
votes
2answers
37 views

How to redirect all output of a screen background process in Linux?

Trying to find out why a particular process we run with screen is not starting. For this reason, it would be very useful to be able to redirect the output of a screen to a file (like as if using the ...
0
votes
2answers
34 views

Open a webpage in new tab on IE, even if it's not the default browser

Background We are developing an application where you can search some stuff on the internet or open a webpage and you can chose what browser to use as well. So if I would like to open Google.com ...
0
votes
1answer
20 views

Stack address for Thread and the main process

I have a question related to the memory address of thread and process. The question is:- In normal call like int func(int a, int b){ int c; c = a + b; return c; } int main(){ ...
0
votes
0answers
28 views

Calling external .exe in Windows 8

Is it possible that the following code is no longer working when the application is running on windows 8 Runtime.getRuntime().exec("path\\to\\dotexe"); On Windows 7 it used to do the job just fine, ...
0
votes
0answers
10 views

Let MVC Website start Process as Administrator

I have a MVC Site that should start a Process that does a Lync call under certain circumstances. Everything works fine if I start it manually and on my development machine with VS2012 it works too. ...
0
votes
0answers
6 views

how to find which process is opening a file using process explore

I am trying to find which process is opening a file I tried to use Find->Find Handle or DLL and entered my file name and path but it is not showing anything how can I find out which process is ...
1
vote
1answer
23 views

Set a python process name

My python script needs to be killed every hour and after I need to restarted it. I need this to do because it's possible sometimes (I create screenshots) a browser window is hanging because of a user ...
0
votes
0answers
8 views

how to monitor process level xfs disk activity

I'm currently seeing a lot of activity on a disk array and want to know which processes are responsible. I already know I can do this with collectl (I wrote it) and iotop, but those only monitor data ...
1
vote
1answer
24 views

Keep the child process if the parent process was killed

How do I keep my child process if my main or parent process was killed, killed in the task manager by "end process tree"? Private Sub Sexecute(ByVal exe As String) Dim getPath As String = ...
0
votes
1answer
46 views

C# Process vs VB6 Shell vs UAC

I'm rewriting a small VB6 application/tool whose job is to install the latest version of some legacy VB6 app. The legacy VB6 app is an ActiveX DLL that's built and packaged into an executable ...
0
votes
1answer
41 views

How does “Fast Reboot” app work? [closed]

I've come across this app: Fast Reboot My app sometimes needs to kill another app - Gallery. I've tried different methods for that, and none worked reliably. However, it seems that "fast reboot" ...
3
votes
3answers
36 views

Get results from bat file using java

Hello guys I'm trying to run .bat file and getting results I can run it but I can't get results in java "see the code": String cmd = "cmd /c start C:\\workspace\\temp.bat"; Runtime r = ...
0
votes
1answer
14 views

How to get process information from windowHandle in Native with Java?

I have windowHandle of a window. I need to get other information about the process like CPU%, memory name etc. How can I get it?
2
votes
1answer
33 views

Watch all system processes in Python

I am trying to collect some statistics (lifetime, start time/finish time, etc) about processes in my OS (Ubuntu) using Python, One of the tasks: I wrote a function, which gets names and ids of ...
0
votes
3answers
41 views

How to get process information using pid with Java?

I have the process id of a process. Can I get other information about process like CPU%, memory, exe name, etc? I have seen that there is no built-in function to get all this. How to do this with ...
0
votes
1answer
14 views

Detecting which desktop gadgets are running on Windows 7 using C#

I need to detect which Windows 7 Gadgets are currently loaded. I know for a fact that the process they run within is "explorer.exe" and that the each gadget has a window class is called ...
0
votes
0answers
27 views

Creating a process to host a managed code assembly

What I want to do is create a System.Diagnostics.Process and find some way to load (ideally from a stream, but I can always stream out to a file) a System.Reflection.Assembly within it, then (with the ...
2
votes
1answer
51 views

Why “kill -15” fails sometimes?

I have a program developed in C. This program contains 2 sub threads. Some times, When I try to stop my application with kill -15 <pid of main thread> the application does not exit. And I can ...
-2
votes
0answers
31 views

Oracle transaction sharing between multiple process [closed]

I have a legacy batch application working in an Oracle 11G database. I want to be able from Java to share the same database transaction. I have few latitude on legacy batch modification, and great ...
0
votes
0answers
5 views

Per-Process and System-wide Open Table entry Creation Order?

I was Looking at these two instances of open tables in a text book on operating systems, and it explains them well bit it skips over creation order. So my question is: An entry in a Per-Process ...
2
votes
2answers
43 views

Cannot get the getInputStream from Runtime.getRunTime.exec()

public class LinuxInteractor { public static String executeCommand(String command) { System.out.println("Linux command: " + command); try { Process p = Runtime.getRuntime().exec(command); ...
0
votes
0answers
38 views

How to get run/start - process time? C [duplicate]

I have Windows system and i would like to get start/run process time. This code is get process list. hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0); Entry.dwSize = sizeof(Entry); ...
0
votes
0answers
28 views

Process hangs while reading data /proc/<proc_id>

I wrote a Perl script to grab info (from files such as /proc//stat, /proc//io, /proc//cmdline, ...) of every process on my Linux system periodically (say, every minute). However, when I ran this ...
1
vote
1answer
44 views

Dont understand the exitcode result of a proccess

my use case is that I use TeamCity http://www.jetbrains.com/teamcity/ to build some projects and run tests on them. In my test i create .net process and run on it python method (via RPyC) that return ...
0
votes
2answers
66 views

How to kill process regardless whether it's 32 or 64-bit?

In my tool at a certain point I want to kill a process by it's name. I'm testing now on Win7 64-bit, but the error I receive is: A 32 bit processes cannot access modules of a 64 bit process ...
0
votes
1answer
16 views

Process leaked file descriptors error on JENKINS

I am getting this error when I configured a job to do stop and start of tomcat server: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build ...
3
votes
0answers
27 views

How to get the name of a running HTML Windows 8 App (not WWHOST)

I'm trying to get the name of the Windows 8 App that is running with a given ProcessID. I can get to wwahost, that is the real name of the process that is running, but I want to get the name of the ...
1
vote
2answers
24 views

Windows kernel memory protection

In Windows the high memory of every process (0x80000000 or 0xc0000000) Is reserved for kernel code, user code cannot access these regions of memory, if it tries so an access violation exception will ...
1
vote
2answers
45 views

Detect if the application started made another process

The uninstallers from an application normally launch new process and I am trying to make my application know about it so if after the uninstallation, it will execute some tasks. NSIS for example. ...
0
votes
1answer
27 views

Forking two processes results in multiple processes

I wish to design a function called from main that will fork off any process to sleep and then update the "process array" containing all forked pids and a counter of them. It seems to work, only ...
1
vote
0answers
31 views

C# - Accessing the STDIN and STDOUT handles of a process without redirecting them

I'm trying to access the input and output streams of a process my application starts. My code is: this.App = new Process(); this.App.StartInfo.FileName = this.AppPath; this.App.StartInfo.Arguments = ...
0
votes
1answer
39 views

Set CPU Affinity in PHP?

Pretty straightforward question - is there a way to set the CPU affinity via PHP? Any of the following will do: Setting the affinity of the current process via a PHP call. Setting the affinity of a ...
1
vote
1answer
24 views

lisp, CLOS: adding a slot to the process class

My program is getting errors with multithreading, so I want to expand the with-lock-grabbed macro to keep track of the stack of locks a process acquires. I want to do this by simply adding a slot to ...
0
votes
1answer
127 views
+100

Hide a process from Windows 8 TaskManager

I want to hide a process from Windows 8 TaskManager. Time ago I've found a Class titled "TMListViewDelete" which is a little famous (and underground) on internet, a person did a necessary ...
1
vote
0answers
32 views

Why i'm getting a win32exception once i'm starting the Process?

This is the code in the ffmpeg.cs class where the process is start . My brother tried to run the ffmpeg.exe alone and it's working no problems but once he click the button and the process is start he ...
1
vote
0answers
13 views

are there concrete string names of functions and variables in the memory?

In computer memory, are there some concrete name for all the functions, variables, or just addresses?For example, the computer runs a process, p_1, it includes function f_1,variable v_1, at the ...
-1
votes
0answers
14 views

XCode : How to get pixel value from other process [closed]

On mac, I'd like to read pixel values from a view of specific application. What technique should I study?
0
votes
1answer
49 views

Open applications with Runtime.exec() on OS X [closed]

How to open applications with Runtime.exec() on OS X? my instructor did give us an example of how to do it, except the only problem is that he uses Windows while I use Mac OS X, here is the code that ...
0
votes
0answers
16 views

Interactive Services blocks Process.Start() from a VB .NET applicaiton running elevated as SYSTEM

Here's the code: ' Write debug Logger.WriteDebug(CallStack, "Offline execution: " + ExecutionString + ArgumentString) Logger.WriteDebug(CallStack, "Start detached offline execution..") ...
0
votes
0answers
22 views

OS agnostic terminal

Basically we have a process, spawned from command line which runs in a separate window. (Just ssh, if it matters). The command we use right now breaks on linux: osascript -e 'tell application ...
1
vote
0answers
14 views

Multiple system calls from PID 0 in Windows [migrated]

Recently, one of my old PC at home lags at times. I open the Process Monitor (from sysinternals.com) and find multiple system calls from a process with PID 0, including CreateFile operation. I thought ...
3
votes
2answers
43 views

Why does process hang if the parent does not consume stdout/stderr in Java?

I know that if you use ProcessBuilder.start in Java to start an external process you have to consume its stdout/stderr (e.g. see here). Otherwise the external process hangs on start. My question is ...
1
vote
1answer
39 views

How to run a shortcut

I wonder what the "official" way is of running a application shortcut from within another application. Like this: string program = "application.exe"; Process.Start(program); This won't work if ...
1
vote
1answer
41 views

How to terminate a process in java?

if a process is not going to finish means if it getting stucked... how can i realize it and terminate it. i am working on a software which processes millions of files and each files takes few seconds ...
0
votes
0answers
9 views

Closing Windows Photo Viewer

Is there a way on closing Windows Photo Viewer with the specific file opened? Here's what I mean: I found that System.Environment.Exit() can be used but can this be done in this situation? I have ...
-1
votes
1answer
22 views

C - Terminating a process with signal()

I have a server and a client. The client has the option to terminate the server. For that im using: void killServer() { int server_p_id; FILE *file; file = fopen(SERVER_INFO, "r"); if(file == ...
0
votes
1answer
32 views

Reading Java process status with InputStream and then sending command prompts with OutputStream

I'm working on reading the output of a script that is invoked using a Java process. However, in the middle of the script run, it will in SOME situations prompt the user to answer y/n to continue. ...
0
votes
1answer
26 views

ProcessBuilder not working outside of Eclipse

I have a ProcessBuilder which is supposed to execute the main method of a certain class with 2 parameters. I made a small JFrame in the main method just to test whether this works. When I run the ...
0
votes
1answer
28 views

Process information using Python, NOT using wmi, psutil, tasklist

I'm writing a Python script that gets information on processes (PID, Command Line, etc.) running on a PC. On my Windows 7 PC I can use 'wmic' and use the output from that: output = ...

1 2 3 4 5 116