1
vote
4answers
292 views

How to make a copy of /proc/xxxxx? [closed]

A users account have been hacked on one of my servers, where the hacker have started some spam binaries. Before I kill the processes would I like to make a copy of them, but when I tar czf ...
0
votes
2answers
54 views

All Process Stop Unexpected On Linux Server

I'm a running ubuntu 12.04 LTS server edition and two times in the pasts 48 hours or so the VPS becomes completely unresponsive. Nginx stops responding to requests. There is log activity sent to my ...
0
votes
1answer
27 views

view/kill a Windows O/S processes from Ubuntu Server

Is there a Ubuntu version of Sysinternals Process Utilities, which allows Window users to view/control remote processes? I already know I can setup cygwin on Windows and use ssh to remote in. All I'm ...
0
votes
1answer
95 views

Process monitoring w/ Haskell angel

I'm attempting to monitor a process w/ haskell's angel process monitoring tool. https://github.com/MichaelXavier/Angel The process continues to restart in an infinte loop when it is run w/o receiving ...
0
votes
1answer
122 views

How filter top output by the COMMAND column?

I want get the same result when pressing u to filter by USER, but instead using the column COMMAND and of course, I need this live (I mean, updating constantly) ;) I'm on Ubuntu.
0
votes
1answer
46 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 ...
1
vote
1answer
181 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. ...
1
vote
1answer
493 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 ...
0
votes
0answers
388 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 ...
2
votes
1answer
891 views

Cron jobs running twice - Ubuntu server 12.04

I have a couple of simple cron jobs running under root. However, they seem to be running twice, and I can't figure out why. No other users have any cron jobs running and the the only cronfile is for ...
1
vote
2answers
709 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?
5
votes
2answers
2k 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. ...
2
votes
2answers
744 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 ...
0
votes
3answers
289 views

throttle cpu usage for a cronjob

I've got a cronjob that is basically nothing more than mysqldump whatever | gzip > backup.sql.gz. The database is fairly big. I've noticed that while the job is running, my apache is much less ...
0
votes
1answer
68 views

Mysql multi request at same time

I have a Ubuntu-server. It is running Mysql & Apache. I have several request at same time. I I saw processes, by top command. I have 10 Apache process and always one process for Mysql. I ...
1
vote
1answer
192 views

Process killing trouble

I am trying to program a server software which involves a lot of testing on java / scala platform. Whenever i compile and execute the code. It starts listening on port 80. Sometimes i need to ...
1
vote
1answer
57 views

Why can't I see the monit binary in the process list after starting it?

I have monit running and working (I set up a dummy warning that is getting sent), but I don't see any binary called "monit" in the process list. Furthermore if I sort the processes by newest process, ...
5
votes
2answers
2k views

Determine process using a port, without sudo

I'd like to find out which process (in particular, the process id) is using a given port. The one catch is, I don't want to use sudo, nor am I logged in as root. The processes I want this to work for ...
0
votes
1answer
345 views

how can i know the maximum allowed number of forks for a process in ubuntu?

I am using PROCESS CONTROL in PHP to create forks. my server's operating system is Ubuntu. How can i know what is the capacity of my server in handling those forks? is there a limit? and if so, can i ...
4
votes
2answers
2k views

Why are there so many processes running?

I host several Rails applications on a VPS using Ubuntu 8.04, Nginx, Passenger, Mysql, RVM, so all the usual suspects. In the last days it was the first time I really had to debug a problem and look ...
6
votes
2answers
3k views

How can I redirect an already running process's stdout/stderr?

(Running on an Ubuntu 10.04 64-bit server) Yesterday, I made the mistake of starting a process (which I didn't realize was going to take several days to run) over SSH without using screen. I've ...
1
vote
1answer
277 views

how to limit the number of simultaneous processes?

I have an ubuntu server and I am using it for cpu heavy verifications. I want to limit the number of simultaneous verifications to 10. Is there an easy way to limit the process called "vis" to being ...
2
votes
2answers
2k views

klogd using high CPU

One of my servers has a process running called klogd which is running at 99.9% CPU according to top (output from top below) PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND ...
9
votes
3answers
15k views

How to get - number of threads per process?

This is one Ubuntu 9.10 server. Also how to see memory usage per process? Thanks
3
votes
2answers
306 views

Monitor a process on linux

I'd like to get an overview of resource usage of one particular process running on a ubuntu server. Can anyone tell me how I'd go about doing that. Thanks
0
votes
2answers
2k views

What might cause HD spin-up under Ubuntu?

I'm pretty new to Linux, so bear with me. On my 2.6.28-13-server #45-Ubuntu SMP, I am using hdparm -W1 -S120 /dev/sda to spindown the HD after 10 minutes. But every one or two hours or so, it spins ...
0
votes
5answers
182 views

Monitoring ports in Linux

How to find out what processes are listening on specific ports in Ubuntu?
3
votes
4answers
1k views

How can I tell what files a process has open?

I have a daemon process and I want to know what files it has open (and ideally what its CWD is). Is there any shell command that can tell me that?
5
votes
4answers
7k views

How do I automatically restart a process on server reboot/process exit?

On my Ubuntu server I use God to monitor some Ruby processes/scripts, including a Queue system. God automatically checks when one of my processes exists and restarts it. It also keeps track of memory ...
0
votes
1answer
299 views

Launching a process on startup in ubuntu fails to start other processes

On Ubuntu Server I've written a c++ program which launches another process which is in python. The c++ process runs fine on startup but the python process never launches. It gets created and when I ...
5
votes
4answers
5k views

Giving a process a specific name in GNU/Linux?

How do I launch a process so that it would have a specific identifier in ps command? UPD: I have a couple of servers running on one box. Most of them are in deployment mode. However one is in ...