An instance of a running computer program.

learn more… | top users | synonyms

1
vote
2answers
3k views

With Powershell, how can I get the id of a process owned by a specific user?

Using Powershell, I want to do the equivalent of Unix ps -auxc | grep Emacs kill -9 364 (Assuming 365 was the pid the first command told me.) How do I do that? I find it incredibly hard to get ...
6
votes
2answers
29k views

What is a Process Handle?

What is a process handle and what can we know about a running process through the "handle count" property in a task explorer?
0
votes
0answers
20 views

Sudden increase in my CPU usage during random moments(Win Server 2012)

At random times, no matter if I am online or not I see that my server having increased Process usage spikes, as you can see in the picture: So I go inside the Dashboard on the Server Manager, look ...
7
votes
4answers
10k views

What's a proper way of checking if a PID is running?

I have a .pid file, and I need to check if the process is running. So far I found two options kill -0 `cat something.pid` which prints out an error if the pid isn't running. I know this can be ...
1
vote
1answer
39 views

In the output of ps(1) on OS X-like systems, what do processes listed in parentheses mean, and how do I kill them?

username@yosemite ~ % ps wwwaux | grep java username 48111 0.0 0.0 0 0 ?? ?E 11:54AM 0:00.00 (java) username 91673 0.0 0.0 2432772 508 s006 R+ 3:19PM ...
-1
votes
0answers
13 views

PPID, %CPU, and %MEM questions with PS command.

My ultimate goal is to have PPID, %CPU, and %MEM listed in the same ps output, with ALL USERS listed, using wither Unix98 options or BSD options. However, I DO NOT want just these options listed in ...
-3
votes
0answers
42 views

How to get PPID with PS using BSD options [migrated]

I'm looking for a ps string that will give me all the output headers of "ps aux" but with the PPID. So far, I can only get the PPID column using ps -ef. I have tried numerous combinations but have ...
0
votes
1answer
16 views

logrotation process stdout and stderr windows

I have a service on windows that's running another process that prints many lines to its STDERR and STDOUT. I'm capturing those lines and redirect them to some log file. I would like to logrotate on ...
114
votes
9answers
55k views

Keeping a linux process running after I logout

I'm connecting to a Linux machine through SSH, and I'm trying to run a heavy bash script that makes filesystem operations. It's expected to keep running for hours, but I cannot leave the SSH session ...
1
vote
1answer
55 views

Monitoring processes/services by Zabbix by using SNMP

I try to monitor around 60 servers by using Zabbix 2.2 and SNMP. I'm able monitor a lot of values but I'm facing one issue relating to identification status of processes on linux servers. When the ...
1
vote
1answer
28 views

Powershell: kill one window of a subset running under one process?

Using powershell can I kill/force close a single window (excel workbook) running under Excel without killing the whole process which closes all excel workbooks running under that same process ...
0
votes
0answers
19 views

Every process I start, apart from nginx, dies after a few hours on AWS EC2 Ubuntu instance

I'm new to ubuntu (coming from mac) and I'm trying to run a couple of java servers and a node server on an ubuntu Amazon EC2 instance. I run each server in its own screen session, and everything ...
1
vote
2answers
2k views

How to find parent process for child process if parent process is terminated

Is there a way to find out which process started a other process even after the parent process is terminated? I tried to find something in the Win32_Process class via PowerShell but I did not find ...
1
vote
1answer
81 views

How to track down why apache2 processes are up for 45min / 1 hour or worse? NOT hosting, it's self managed VPS [closed]

I have a self managed VPS that I inherited from a previous administrator inside my Company, with lots of Wordpress websites running on it. The VPS has 2 CPUs, 6Gb or RAM and runs Ubuntu 10.04 64bit. ...
1
vote
1answer
261 views

Adding normal graph on memory usage per process to Zabbix

I need to monitor memory usage per process of processes on Linux. My monitoring tool is Zabbix. I found some links which describe how we can do it on windows. As an example I can refer to Host ...
0
votes
3answers
83 views

how to find proces which is pinging localhost

How can you find the process issuing ping to localhost? While it is not script, where the ping command can be simply grep from process table. I have used wireshark, but it is of no help to find out ...
1
vote
0answers
62 views

What is a fast, efficient method for threading rsync

I have a single root directory (on a NAS) that I need to backup to another server. The hierarchy of the directory is several layers deep and a majority of the data is composed of extremely large ...
0
votes
1answer
50 views

Kill process and child processes, not parent processes, not group

I need to kill a process and all of its subprocesses programatically. Killing the group is not an option because I do not want to kill the parent processes. Example: pid process 1 ...
1
vote
1answer
499 views

How do you manage a team email account? [closed]

How do you manage a (tech support) team email account? Do you have any recommended resources for managing accounts accessed by multiple people? Thanks in advance!
5
votes
1answer
218 views

SSSD process won't die

Thanks for taking the time to check out my problem. I'm currently working on an issue that has only appeared once before. Back on Jan 3rd when this first appeared we were able to reboot the server ...
5
votes
4answers
215 views

Route IP Traffic Based on Process to Different Default Routes / Interfaces

I'm trying to determine if it is possible to selectively route IP packets from a process or process group through a specific interface while all other packets are routed through another interface. ...
2
votes
2answers
3k views

Process in the run queue

How do show the current list of processes and threads currently in the run queue? That is to say, if my server's load average is 32.1, then there were on the average about 32 processes or threads ...
1
vote
4answers
13k views

Getting full path of executables in ps auxwww output

Consider the following lines from a "ps auxwww" output: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 4262 0.0 0,1 76592 1104 s005 Ss 10:02am ...
21
votes
4answers
51k views

How do you free up a port being held open by dead process?

A colleague of mine recently ran into a problem where a process that had supposedly died was still bound to a network port, preventing other processes from binding to that port. Specifically, netstat ...
5
votes
3answers
170 views

In server 2008 R2, if I run an app in administrator's mode, will child process still be in the same mode?

In server 2008 R2, if I run an app in administrator's mode, will the child process still be in the same mode? I raise this question because I suspect the child process from the app is not running in ...
-1
votes
3answers
112 views

how to check how much memory take process

As all know in Linux machines we have RAM memory and swap memory. My first question is: What the reason that the swap memory is increasing – because high level of RAM usage or something else? ...
1
vote
2answers
94 views

Wchan section in ps output not showing anything

I know that if a process go into D state then it means that it is in uninterruptable state. The process can not be killed by any signal. It will only come out of that state on reboot or if I/O wait is ...
0
votes
2answers
26 views

Writing a script that can start and manage processes?

I am wondering if there is some way to do this. I need to write a script or something that: Can start some processes with some args, for example: start server.exe -port 8899 -name "Epic Server 1" ...
0
votes
0answers
24 views

Tomcat6 showing huge number of processes(or child threads). Is this expected

Our tomcat server is showing huge number child processes/threads. Following is the command i have used- ps -eLf | grep tomcatUserId | wc -l This is the count i have received 1600 This ...
0
votes
1answer
42 views

Intentionally stop a process from responding

Is there any way to intentionally prevent a process from responding - ie. not close or kill it, but stop it dead in it's track, so it immediately stops processing anything? I've often found myself ...
8
votes
5answers
6k views

Are .pid files reliable for determining whether a process is running?

Many programs such as sshd create .pid files in /var/run/ that contain their process ID. Are these files reliable for determining whether a process is running? My guess is that these files are ...
4
votes
5answers
8k views

How do I track CPU Utilization for Window Services?

I am using the windows task manager to track CPU utilization. I notice that my applications are listed but Windows Services are not. For instance, total CPU usage is listed at 70% but the summary of ...
1
vote
0answers
17 views

Which ITSM process fits the best for this need? [closed]

I'm in no way an ITIL or ITSM expert but our company is working on adopting it. Our team has come across a need and, from the little I have read/studied, I feel like SPM/SCM/SLM fit the best. I was ...
4
votes
1answer
51 views

Why are some processes assigned parent PIDs even though they don't have a parent?

There are a number of processes that are started with a fake (non-existent PID). An example of this is a csrss.exe process. It starts up, and the parent process PID assigned doesn't exist. If you look ...
1
vote
1answer
377 views

Cisco IOS - terminate a process (kill a process)

How do I terminate a process similarly to kill -9 $PID? I would like to do the same as GNU/Linux offers: For example, a shell is running a Telnet session to a router, but later that router is powered ...
2
votes
2answers
3k views

Java, Eclipse: How do I pause a running program?

I am running some computation on my Linux box and can't really afford to run it on battery while I drive home. It requires a network connection and currently I am running this stuff on a wireless ...
2
votes
3answers
1k views

Kill PHP process when connection is closed

I've posted the following question to SO, but thought there might be a server based solution. http://stackoverflow.com/questions/9053964/php-script-with-sleep-does-not-exit-on-connection-close I'm ...
1
vote
0answers
28 views

Cisco process memory usage

I am trying to monitor a Cisco process memory usage. This is what I get with the command line: show system internal processes memory | inc PID|ipfib PID TTY STAT TIME MAJFLT TRS RSS ...
-1
votes
2answers
1k views

Bash script to kill specific process running longer than 5m [closed]

Hi I'm looking for a BASH script for CentOS 6.5 that kills a processes by name that's been running longer than 5 minutes. I asked this question before and received a response that doesn't work under ...
3
votes
12answers
14k views

How do I kill processes older than “t”?

First, yes I have seen this question: http://serverfault.com/q/71360/14428 The answers there are incorrect and do not work. I have voted and commented accordingly. The processes I want to kill look ...
19
votes
5answers
26k views

how i can identify which process is making UDP traffic on linux?

my machine is continously making udp dns traffic request. what i need to know is the PID of the process generating this traffic. The normal way in TCP connection is to use netstat/lsof and get the ...
2
votes
2answers
4k views

PHP+Apache as forward/reverse proxy: how to process client requests and server responses in PHP?

I'm having a lot of troubles with the proper configuration of Apache mod_proxy.so to work as desired... The main idea, is to create a proxy on a local machine in a network which will have the ability ...
1
vote
1answer
87 views

How can I restart “monit” when it stops or crashes?

I am setting up a server and have just installed "monit" to monitor processes and restart them (and alert me) when certain conditions are met. It works great. My question is what happens when monit ...
3
votes
4answers
1k views

Is there a lightweight way to start an application on a remote win7 machine from linux?

I am trying to find a lightweight way to start an application on a remote Windows7 machine from linux. The following are my boundary conditions: The Windows7 system is located in the same subnet ...
1
vote
0answers
28 views

How do processes stuck on uninterruptible sleep state get cleared upon reboot? [closed]

While processes stuck on an uninterruptible sleep state (i.e. TASK_UNINTERRUPTIBLE waiting I/O from a defunct device) cannot be killed by signals sent by root via the kill command, more often than not ...
1
vote
1answer
279 views

Apache status says stopped but still httpd process running

I am new to Apache, the server Apache status stopped but still the process is running. The web page is serving properly. When i tried to restart the process, it's not. I believe the parent process is ...
1
vote
1answer
536 views

Monit http-based API

I'm just wondering whether monit has an API, which we could poll-regularly (perhaps something that is http-based) ? It would be very useful to create an integrated monitoring solution across multiple ...
0
votes
4answers
446 views

how to run the dialog command with proccess

Please look on my code – ( bash script ) I want to display both dialogs on the screen on the same time, one dialog display the: tail –f from - /var/log/proccess1.log , and the second dialog ...
0
votes
2answers
40 views

how to identify a command prompt window?

Enviroment: windows 7 Currently i have machine on which we launch 2 batch files on system start up. These batch files internally run multiple programs by running on separate command prompt windows. ...
1
vote
1answer
139 views

How to dump process in Windows Server 2008

I want to dump memory of windows process using just command line and without 3rd party tools. Is that possible if we assume that all necessary privileges aquired. Maybe it is possible to do using ...