An instance of a running computer program.

learn more… | top users | synonyms

1
vote
2answers
133 views

If I know the PID number of a process can I know its name?

If I have the PID number for a process (on a UNIX machine), how can I know the name of its associated process? What do I have to do?
0
votes
1answer
47 views

Ways to manage a pool of scripts

I have a PHP script that waits for AMQP messages. When a message comes in it is processed and after processing is done it will wait for the next message. The problem is of course that this is ...
0
votes
2answers
425 views

Moving a process to and from swap [closed]

I've got serveral processes (game servers) on my linux server that use up 50MB of RAM. They are not constantly being used, and I'd like to be able to run more instances than my RAM capacity allows. I ...
1
vote
2answers
73 views

assign batch jobs with one processor for each

I have four bat files and a four core machine. Is it possible to assign each run to each core i.e. 1 job for 1 core. Is there any way to control this with commands?
1
vote
2answers
267 views

auto start user(not root user) process on fedora boot

I have a VM running under Fedora OS. That VM has four users lets say(A, B, C, D). That VM has one process running under each user. So when that VM is rebooted, what should I do so that those process ...
2
votes
1answer
121 views

MaxClients keeps getting surpassed on web application server

I am running a web application on a CentOs 6 machine with 4 gigs of memory and 3 processor cores (Intel Xeon 2.9 Ghz). Every morning between 8.30 and 9.30 AM (which coincides with the time period ...
2
votes
0answers
101 views

Apache worker mpm, one process and many threads: understanding performance

Got a mod_perl-written serverside program. Im using shared apache worker mpm memory with one process only, and ~ 60 threads. Im using locks to temporary secure the access to the shared memory, just ...
1
vote
1answer
103 views

CMD.exe call command and process lifecycle/creation

I have 3 batch files, lets call them batchA batchB and batchC. I double click batchA which later has a call batchB and call batchC in the script. I only see one CMD.exe process when it runs, and the ...
0
votes
1answer
1k views

Minimal container ubuntu image docker like

I'm playing around with LXC. My goal is to run a single process within a container and I'm now focusing on processes running within my container. When I create a basic LXC template on ubuntu 12.04, ...
0
votes
1answer
161 views

Apache process races away (process size explosion)

I come here because I have searched and tried different optimization without finding any answers. We have a server with four websites hosted. The frequentation is not very high (we are sure that the ...
1
vote
2answers
2k views

httpd high cpu usage slowing down server response [duplicate]

my client has a image sharing website with about 100.000 visitor per day it has been slowed down considerably since this morning when i checked processes i've notice high cpu usage from http .... ...
-2
votes
2answers
437 views

Does killing proccess means free used memory?

I have the service, that each second run external exe programs (for example process1.exe) and kill's them. Taskmgr - show only one process. After running service i get minimal free memory ...
0
votes
3answers
569 views

Linux: How to know which process(s) are accessing my files?

I have a mounted partition, which I tried umounting and it's giving me an error. There is a chance that some process is accessing some files in that mounted partition. How do I know, which process ...
0
votes
1answer
119 views

How to track down sudden increase in process numbers (linux)

I find it pretty common for a Linux server to slow down to the point of complete unresponsiveness (LA 150+ etc), which when looking at it later using sar or munin or whatever it will show a sudden ...
1
vote
1answer
3k views

How do I know if the Linux server killed my process and which process it killed?

It seems my server killed a process due to it using too much RAM. Is this possible? If it can happen, how can I know when and what process it killed?
3
votes
1answer
1k views

Where do the Windows to a scheduled task go when the server runs them?

My server at work has some scheduled tasks that run every night. They run when no user is logged into the system. They run batch files which open MS-Access databases with macros inside. ...
0
votes
1answer
36 views

MySQL Process Big

Ok, so I don't know if this is a repeat question so I'm sorry if it is (I couldn't find anything like it after searching =/) My server seems to be running what seems to me a larger than normal mysql ...
1
vote
1answer
393 views

Apache / PHP memory limit exhasted when rendering report with dompdf

I'm developing a web application, and using a typical lamp stack. I'm using dompdf to generate some reports to pdf. In one case, I have a simple table list (think list of clients) with some simple ...
1
vote
1answer
577 views

Postfix server begins send spam immediately after starting

I've installed a postfix server on a debian OS & also I've installed apache 2.0 with PHP on same machine. Several days ago my server begun to send a lot of spam messages via postfix. I understood ...
0
votes
1answer
68 views

request tracker 4 running standalone and number of child processes

I'm running request tracker 4 standalone, which means with not any http server in front. My problem is that once I launch the server as in: /usr/bin/perl -w ...
1
vote
1answer
227 views

What could cause a PHP script run as a cron job to end up in D state?

My server is running Ubuntu 12.04 LTS (precise) and I'm having a weird issue. The server is hosting a large website which is used for data collection. The website is in PHP and uses Zend Framework. ...
0
votes
1answer
355 views

How can sleeping processes in “top” be using a percentage of CPU?

When we run top we occasionally see a sleeping, "S", process which is using %CPU; I would expect all sleeping processes to use 0% CPU since they are not active. I would expect only running, "R", ...
0
votes
1answer
42 views

How do I restart a process someone else is using

I'm pretty new to ops so please don't mind if use the incorrect terms. I have a program that runs on another box. I need to restart the program after I deploy code to it, via capistrano. I tried ...
0
votes
1answer
158 views

How to get process not responding on remote server with Powershell

I don't understand, responding is empty on remote serveur. Get-Process explorer -ComputerName vcass1 | select name,id,responding Name Id Responding ---- ...
2
votes
2answers
3k views

What are the taskkill.exe exit codes?

Is there a list of known exit codes (errorlevel) for TaskKill.exe? Does this vary with the Windows version? I'm mostly concerned with Windows 7 and server 2008r2.
0
votes
1answer
1k views

How do I prevent a nohup process from being killed when ssh connection fails

I'm having an odd problem. I have a server process that gets started with nohup, and persists across logout and re-login just fine. However if I leave myself logged in and then get the "broken pipe" ...
1
vote
1answer
636 views

List environment variables of a running process on AIX without character limit

Today I was trying to debug an issue where a process was not picking up the correct environmental variable. It took us hours before we realized that it wasn't picking up the correct variable. I tried ...
0
votes
1answer
722 views

Count how many rsync process are running on unix machine

I am using Unix machine $ uname -a SunOS machine-name 5.10 Generic_127112-11 i86pc i386 i86pc How would I get the number of rsync process running on my unix box. I tried $ ps -ef | grep rsync ...
-1
votes
1answer
32 views

Tracking down high CPU core utilisation

I have a system with 24 cores and for some reason only the first core is at 100% utilisation while the others are in the range of 20-25%. I would like to get all processes that are running on the ...
0
votes
1answer
280 views

Comprehensively List HTTP Requests (IPs, URLs, etc)

Is there there a way to show a list of apache/httpd processes with their pids and some information about the request? Like request url, any params, domain, internal/external IP address, etc. I've ...
1
vote
4answers
247 views

Why “jobs -p | kill -n 15” doesn't work?

I'm very new to Linux. And as a matter of fact I use Cygwin now and not Linux itself. I'm trying to install RVM (Ruby Version Manager). I was doing rm -r ./.rvm -i command. I wanted to remove .rvm ...
0
votes
1answer
133 views

Server processes stall for a few seconds, how can we find the issue?

We have a fairly large VPS running our custom server code (not web servers but game servers), at random times the server seems to stall for a few seconds, how can we track the down the thread / ...
0
votes
2answers
3k views

FTP/IIS Error: The process cannot access the file because it is being used by another process

In IIS 7.5 When trying to get current log files using CMD FTP client it gives error 550 error: "The file cannot be accessed because it is in use by another process" Checked processes using procmon ...
0
votes
0answers
61 views

SQL, Installation process, my.ini [duplicate]

Recently i decided to install apache + php + mysql separately from each other instead using one of the packets such as wamp,xampp,zend server,etc..., So far i installed apache server with php engine, ...
-2
votes
1answer
377 views

chkconfig vs /etc/inittab

I had a look at what chkconfig and /etc/inittab - from what I could see both does the same something. If I am wrong, what is the different and which one I should use for specific requirement?
0
votes
3answers
242 views

find command from PID

Is it possible to find the command line of a running process with its pid? the output of /proc/pid/cmdline seems that it removes the space character to it is hard to read the output.
0
votes
0answers
189 views

Top shows md127_raid1 with high CPU load?

I have a new server, when I use "top" to see busy processes I usually see md127_raid1 either at the top or close to the top What is this process doing? How can I easily verify that the raid is ...
1
vote
1answer
635 views

How to get /proc/[pid]/cmdline to contain command arguments?

I am running into an issue where some of my Ubuntu/Debian servers do not show the arguments passed to rake in either top or ps. I have tracked this problem down to a variation in output given by ...
2
votes
1answer
37 views

Ensure an application starts logged as a user in a server

I need to ensure an application run on a server alway, as a service do, but for some reason I can't create a real window service. I would like to have this app running as an user with its own desktop ...
-5
votes
1answer
111 views

how do I kill these from ssh? [closed]

root 813251 813235 0 Feb02 ? 00:00:00 /bin/sh -c /usr/bin/test -x /usr/local/cpanel/scripts/update_db_cache && /usr/local/cpanel/scripts/update_db_cache root 813265 813251 ...
0
votes
1answer
621 views

mod_fcgid error tied in with server lagg?

im relatively new to running my own server and my host don't seem to be giving me up advice or help on the matter either. I run a very popular website and after doing some twitter and fb posts to ...
1
vote
1answer
262 views

Is it possible to get zombie process exit status from shell?

If i execute 'ps' command in shell, i can get some processes marked as '' - they are exited, but parent process don't receive they exit status yet. Sometimes, while debugging network apps, i need to ...
3
votes
2answers
795 views

Rotate a file that's open and being written at all times

I have an linux application that continually writes logging information into a log file, eg. /var/log/application.log. As the application does not rotate the file automatically, this log file can ...
0
votes
4answers
209 views

Grant permission to manage another users processes

I have userA and userB who start processes: userA@server:~$ ./some_command.sh & [1] 30889 I then have a web app running as userC that manages those processes (suspending, resuming, terminating, ...
0
votes
0answers
623 views

apache restart: could not bind to adress 0.0.0.0:80

I have a very interesting symptom on one of our webservers. We have a watchdog running, that restarts the apache Process when it hangs. But apache is not able to restart. If i try restarting it ...
1
vote
2answers
937 views

how to see process status with full details

I run the script - my_script.ksh as process with 5 long arguments on my solaris/linux machine ( example 1 ) , Later I verify the process by ps -ef | grep my_script.ksh I don't understand ...
0
votes
1answer
73 views

Interfacing strace with Process Name instead of PID

How do I implement a wrapper script pstrace in bash that changees the interface of [sudo] strace -c -p [PID] to [sudo] pstrace -c -p [PROCESS-NAME] similar to how killall [PROCESS-NAME] is ...
3
votes
1answer
2k views

How do you force a process to flush the data written to an open file descriptor under Linux?

I have a binary process (with no sources available) running on an embedded Linux system. The process opens a log file (/tmp/dmaosd.log) where it logs what it's doing. The problem is the log gets ...
-2
votes
1answer
41 views

starting a process unix

When issuing the following command: ps -ef | grep queue I get a list of 5 processes running. root 10001 1 0 2012 pts/5 02:22:04 /usr/local/perl/bin/perl /usr/local/cpi/sss/enroll_req ...
0
votes
3answers
83 views

Server Lifecycle But Still Providing Unidentified Services [closed]

I have this older HP ProLiant server that needs to be lifecycled, but there are still some services that are apparently running on it. There are only a few workstations that are being serviced by this ...