|
Duplicate: Linux API to list running processes?
How can I detect hung processes in Linux using C?
Started by holydiver on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
They do indeed use proc (indicating it is probably the conventional and best way to read process....
/proc/ /stat is a more machine-readable and other process tools.
Of course, detecting hung processes is an entirely separate issue.
|
|
When you invoke "kill" on a parent process, are the child processes subsequently killed as well?
Answer Snippets (Read the full thread at stackoverflow):
If pid is negative,....
Of system processes) whose process group ID is equal to the absolute value of pid , and for which, int sig);
If pid is greater than 0, sig shall be sent to the process whose process ID is equal to pid .
|
|
How do you start different instances of Firefox not childthreads but new processes on Win 32?
Started by Chris_45 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Multiple profiles on multiple processes: Opening a new.
Read this article for an explanation of why.
Firefox has a "Single Process" model, which basically means you cannot have multiple processes.
|
Ask your Facebook Friends
|
How to restrict proccess to create new processes?
Started by SomeUser on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Use SetInformationJobObject with the JOB....
processes, or use JOBOBJECT_ASSOCIATE_COMPLETION_PORT and kill the new process (If you only need to kill a subset of all new processes)
You could assign the process to a job object.
|
|
This question is based on this thread .
How can you see the processes which you put to background?
Started by Masi on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
However, jobs doesn't see background processes which have been disown ed.
The usual way is jobs.
|
|
How do you find out which processes have a lock on a given file, in Linux?
Started by Fragsworth on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
I have run fuser against a jar file and it has shown me the pids for the processes using the jar.
|
|
Is there an easy way to get metrics on all processes that start with the letters XYZ? I have about 80 processes that I have to monitor individually that all start with the prefix XYZ.
I have created a query using the sigar shell: ps State.Name.sw=XYZ,...
Started by Chris on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
It's interesting to see all the custom agents/protocols....
If you already have a script that grabs each process you should be able to generate data for each process and have munin stick it in an rrd db to generate graphs on.
Sorts of data.
|
|
How do I see which processes have open TCPIP ports in OS X ?
Started by Zubair on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
Is the use of the lsof utility; specifically, lsof -i 4tcp will list all processes with some sort of TCP IPv4.
|
|
Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?
Started by Readonly on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Also, get-process is amazingWorking with cmd.exe:
tasklist
If you have Powershell :
get-process
If you running windows XP try called Windows Management Instrumentation....
Tasklist or pslist from sysinternals.
List" to see all processes.
|
|
Hi,
mod_wsgi processes seems to be lazily started i.e. on request. However, I prefer to start all the processes from the beginning because the process start up time is long. Is there a configuration option for this? or a way around it?
Here is the process...
Started by Mark on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Read my answer.
Which may in turn negate the delays you're seeing.
You might well find that the delay isn't the time taking to spin-up the processes per se the WSGIImportScript directive to preload processes.
|