An instance of a running computer program.

learn more… | top users | synonyms

0
votes
2answers
6k views

Apache: graceful kill fail, sending SIGKILL. How much is too much?

On Apache/2.2.15, is it normal to have one or two "[warn] mod_fcgid: process XXXXX graceful kill fail, sending SIGKILL" per day? After all it's a warning, not an error. Thanks
1
vote
1answer
420 views

Suspicious process running under user named

I get a lot of emails reporting this and I want this issue to auto correct itself. These process are run by my server and are a result of updates, session deletion and other legitimate session ...
1
vote
1answer
239 views

ps and top show a different command name then what pkill and pgrep sees

Often times I want to kill process that I believe has changed its command name (I think through setproctitle() or something similar). Apparent pkill, pgrep, and friends do not read the new command ...
1
vote
1answer
75 views

how to get running processes

I'm trying to get running processes from a linux server but I having some doubts. If I get top exit I have: # top -b -n1 | head -n5 top - 16:18:19 up 60 days, 21:22, 8 users, load average: 0.03, ...
2
votes
1answer
237 views

Setup staging with multiple SVN

We are a startup, setting new environments for product to be released soon. Planned server structure with planned release flow is as shown in below image It ideally have a local server (or Staging ...
2
votes
2answers
2k views

Meaning of killall -0

I see from many place the follow command is used to check if a process exists, e.g. killall -0 nginx But from the documentation I can't see anything related to this argument, can anyone explain?
3
votes
1answer
2k views

top process state column under FreeBSD

When running top interactively, I can see various words in the state column : nanslp, biord, select, uwait, lockf, pause, kqread, piperd, sbwait ... Some like nanslp or kqread are self ...
7
votes
3answers
3k views

Supervisor VS cronjob

Actually I'm using supervisor to monitor a process and restart it when it stops for some reason. The problem is that in case of a supervisor crash the process stops get monitored. So I thought to ...
4
votes
2answers
2k views

How is htop “Swp” calculated?

When I run htop (on OS X 10.6.8), I see something like this : 1 [||||||| 20.0%] Tasks: 70 total, 0 running 2 [||| 7.2%] Load average: 1.11 ...
3
votes
1answer
615 views

Looking for way to log process terminations on OS X (Mac)

I'm looking for a way to log all process terminations on my Mac (OS X 10.6.8). (And see pid, timestamp, process name) I've implemented something similar for HP-UX, but it required a kernel-level ...
1
vote
1answer
803 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 ...
1
vote
1answer
168 views

ps -o pcpu on Debian Squeeze is giving meaningless numbers

I'm trying to get the CPU percentage for processes on a busy server out of ps, but it's giving me nonsensical numbers. Here's a truncated example: $ ps -eo pcpu,pid | sort -n %CPU PID ... 36.5 ...
3
votes
2answers
4k views

How to determine which TCP/UDP ports are being opened by a given process (linux)?

I know how to do the opposite (find out what process has a given port open) using lsof or netstat, but extensive research on Google hasn't helped me solve the reverse problem. I know I could use ...
0
votes
1answer
2k views

List processes with their launching command line

I'm looking for a Windows feature or third-party tool that can produce a list of active processes (as in the task manager) with the command line used to start each process. e.g. if I launch "php.exe ...
0
votes
1answer
561 views

Monitor cpu usage (and perhaps memory using) for a single process simple as possible

I'm searching the easiest way to monitor the cpu usage of a single process in linux. Use ps and change output is the way i have, but maybe a monitor tool is better. Also I want to plot the usage (nice ...
1
vote
1answer
144 views

How to relaunch a powershell script if it dies?

I have a powershell script I want to use to monitor the size of a file (at a certain interval) and send me an email alert if the file reaches a certain size. However, after it discovers that the file ...
1
vote
1answer
205 views

why there are three(it should be two) process related to screen when using ps command?

you can see there are three processes which are related to screen command: [world]$ ps auxf USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND hugemeow 28938 0.0 0.0 66080 ...
1
vote
1answer
392 views

Replacing stock dnsmasq with optware dnsmasq

This question if for DD-WRT installed on e3000 with optware. I have replaced the stock dnsmasq to get logging, using this: http://www.dd-wrt.com/phpBB2/viewtopic.php?p=660694 I installed optware on ...
1
vote
1answer
2k views

How do i set a cronjob to use less CPU

I'm managing a server witch host several ruby on rails websites. I need a cron job for every website that does : send emails (notifications) create thumbnails Unfortunatly, every time the cron is ...
0
votes
1answer
491 views

Sending signals to running Upstart job

How can I send signals or events to a running Upstart job? I run a Node.js HTTP server with Upstart as a daemon and sometimes need to put it into maintenance mode for backups and stuff. I'd like to ...
0
votes
1answer
2k views

process ksoftirqd consumes permanent 15% CPU load [duplicate]

Possible Duplicate: Anyone else experiencing high rates of Linux server crashes during a leap second day? The process ksoftirqd/0 uses permanent 15% CPU on our debian squeeze server. 4 ...
4
votes
1answer
249 views

Apache HTTPD process cumulative cpu time

How can I aggregate all Apache HTTPD processes' CPU time usage to be able to compare them with other running processes' (MySQL, Java, ...)? Or how much CPU time does HTTPD needs compared to MySQL for ...
4
votes
1answer
103 views

How to lock a process in RAM (make it unswapable)

Is there a way to instruct the kernel (Linux kernel) to never swap a certain process that has already been started?
1
vote
1answer
789 views

Windows 2003-R2-Server: Process “System” takes large chunks of CPU time

I have a domain controller running 2003 R2. The server behaves very well when restarted daily, however, each day it is not restarted, there's a process called "System" that takes enourmous chunks of ...
0
votes
2answers
341 views

Shell Script Launching Child Processes

Disclaimer: I'm totally new to shell scripting, but have quite a bit of experience in other languages like PHP and Obj-C. I'm writing my first daemon script. Here are the goals: I want it to run ...
1
vote
1answer
320 views

How can I find out the path to a chrooted environment in which a particular daemon was started?

I have a setup with several directories where I can chroot and start the same daemon from. I'd like to be able to tell from which of my multiple directories I started the daemon. I'd like to find it ...
1
vote
2answers
767 views

PSKill does not run from VbScript

We have a site on our local IIS6 Windows 2003 server that occasionally locks up, and we would like a VbScript to kill the process. It is located in the system32 folder. I'm running these tests on ...
0
votes
1answer
72 views

How to keep log / keep record of one particular Process

In my Task Manager, there is one process (.exe) I want to keep log or keep record of that process i.e how much cpu % it is utilizing for a particular time \ Day. for example :- abc.exe process Can ...
1
vote
2answers
966 views

Apache's “OPTIONS * HTTP/1.0” running 100% CPU - Runaway httpd process

I have this recurring issue where an httpd processes will randomly start running at 100% CPU. Often other httpd processes will join in, and it will continue until I restart Apache. Oddly, the thing ...
2
votes
1answer
896 views

Word 2010 creates multiple processes… sometimes

I've run into a strange behavior when I migrated our users from Office 2007 / Vista to Office 2010 / Windows 7 (all 32-bit). They use a web based document management system called NetDocuments which ...
9
votes
5answers
3k views

Kill a process and force it to return 0 in Linux?

In the Linux environment, how can I send a kill signal to a process, while making sure that the exit code returned from that process is 0? Would I have to do some fancy GDB magic for this, or is there ...
1
vote
4answers
4k views

Is there any log in SuSe Linux that tells if a machine hangs due to a runaway?

I have a SuSe Linux server that is hanging due to unknown issues, I'm to the point of wondering whether there is a runaway process being run every now and then that is causing it to hang. The issue ...
1
vote
3answers
2k views

Is there a way to automatically restart MySQL, if it takes up too much processing power?

Due to some bad scripting on my part, MySQL sometimes goes haywire - taking up a lot of CPU power (load average of more then 20 - I only have 8 cores)! When I restart it is all good again. So my ...
1
vote
1answer
487 views

Killing a single process from multiple processes under ntauthority

We currently have a few processes running with the same image name: w3wp.exe. One of them has a memory leak, so until the dev guys plug that we're wanting to run a scheduled task to kill the process ...
0
votes
1answer
180 views

Kill xfs_io processes

I have an EC2 instance running CentOS 5.6 86_64. I use xfs_freeze to freeze/thaw a file system before taking a snapshot. Normally this works great, but today it stopped working - the freeze operation ...
2
votes
1answer
4k views

pgrep/pidof usage for complex process names?

I am trying to use pidof or pgrep to be able to send a HUP to a process in my system. The problem is that I only want to kill the process with a precise parameter. This is the output of 'ps awx' ...
-1
votes
2answers
495 views

How do you run supervisord in foreground?

Is there a way to run supervisord itself in foreground mode? or is there another application that can run/supervise multiple applications and shut them down when itself receives a SIGTERM or ...
0
votes
1answer
1k views

RHEL/Apache - meaning of WCHAN=“semtim”

What is the meaning of WCHAN="semtim"? ps -ylC httpd S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD S 0 25330 1 0 78 0 16168 170563 - ? 00:00:14 httpd R ...
0
votes
3answers
11k views

PID history of a process

What I want to know is PIDs that were assigned to a process before its last 2-3 restart. Scenario is after this particular process crashes, a log file is generated and PID of the process is ...
1
vote
1answer
108 views

Guideline for `nice` priority number?

I'd like a more systematic way for prioritizing my tasks with nice(1). Obviously 0 is "normal", 19 is "lowest priority" and -19 is "highest priority", but what about all the other numbers? If I have ...
0
votes
2answers
294 views

Utility to determine application (or process) that displayed a (hung) window? [closed]

Just curious if such a thing exists - I have a hung window on my screen (you know, the kind that 'captures' images of the last window that you move over it), and I was wondering if anyone knows of a ...
0
votes
1answer
412 views

Enable foreign users processes listing

how can I enable under Debian 6 to list the processes of a foreign user? I have the user nagios but this user can only list his own processes. Br
1
vote
3answers
5k views

How to check if a service (that listens on given port) is up & working?

OK, so lets say I have a Nagios setup that monitors different services using the so-called nagios-plugins. What would be the best practive for my nagios plugin (probably written in python) to ...
1
vote
1answer
459 views

Running multiple background Java processes on Linux

I have a jar file that runs continuously and acts on various events. I need to create multiple instances of this jar, passing parameters to it on start up, and have it continue to run between shell ...
0
votes
1answer
332 views

Windows shutdown processes termination sequence [closed]

Do you know the Windows shutdown process is implemented? Does it has some criteria to avoid inter-process communication problems between child and parent processes? This question originated from an ...
2
votes
2answers
320 views

Apache Running Processes

Ok I host a website through a VPS with 1&1 and I'm worried about running out of processes. From Parallels they have set a hard limit of 128 numprocs I have had some problems with my website ...
1
vote
1answer
536 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!
9
votes
2answers
5k views

Upstart : start service after non-upstart process

On Ubuntu 10.04, I need to start my service with upstart, but only when mysql is up and running. The problem is that mysql itself is not handled by upstart, so I can't use the "start on" feature. ...
0
votes
2answers
605 views

Does PHP script itself count as a process?

My server has a limited number of concurrent processes (20) it can handle. To make sure I don't exceed I need to understand: When a user is waiting for a PHP script to finish loading, does the ...
39
votes
5answers
7k views

How to prevent “ps” reporting its own process?

$ ps | grep django 28006 ttys004 0:01.12 /usr/bin/python bin/django celeryd --beat 51393 ttys005 0:01.45 /usr/bin/python bin/django celeryd -l INFO 51472 ttys005 0:01.29 /usr/bin/python ...