1
vote
4answers
273 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
80 views

Is there a top like tool that shows processes and ports, live?

I'd like to be monitoring ports in "realtime" and the processes that use them. Is there any tool that can handle that? I imagine somethinkg like top, but with a column that lists all ports the process ...
2
votes
1answer
103 views

Process monitoring and service manager for Python web application [closed]

We're setting up a Python web application using the CherryPy web server on a bunch of Linux servers (it's behind an nginx load balancer sending traffic to the various servers). We're in the process of ...
4
votes
2answers
78 views

How to detect exceptionally long file locks in linux?

I have a point of contention on my linux server. One of a number of processes access a single file and lock the file at a random time for a considerable period (>60 seconds) which, in turn, causes ...
0
votes
2answers
87 views

Zombie processes still alive and working fine, but can't be killed?

Am I misunderstanding something, or should this not be possible? All my daemon processes are in zombie state after I tried to stop the control service: # ps ax | grep controller 13768 pts/11 S+ ...
-3
votes
2answers
48 views

unknown/deleted process running under apache [closed]

Here is out of ps aux| grep atd on my server. apache 1299 0.0 0.0 5328 2768 ? S 08:21 0:00 /usr/sbin/atd root 15407 0.0 0.0 4020 708 pts/3 S+ 11:02 0:00 grep atd ...
1
vote
3answers
49 views

Change disk used by a long running process

Let's suppose I have process that does long calculations (e.g. it's been running for days), it uses a disk as temporary storage to store intermediate results (for example mounted at /mnt and I want to ...
0
votes
1answer
285 views

Nagios check_procs returns wrong value when called from NRPE

I have added the following line in nrpe.conf of a monitored server say named myserver: command[check_mysrv_process]=/usr/lib/nagios/plugins/check_procs -c 1: -C java -a mysrv which works locally as ...
0
votes
2answers
46 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 ...
4
votes
2answers
147 views

Remove a zombie process from the process table

I've got an annoying zombie process that gets adopted by init, and it won't go away. I've read there is a way to create a dummy process, attach the zombie as a child of that new process and then kill ...
2
votes
0answers
48 views

how to move process from one namespace to other? [closed]

Is there any available method to move process/group of processes from one namespace to other in Linux? I mean methods via commands of some packages or it can be done via setns()? E.g. I have processes ...
0
votes
0answers
78 views

hald (HAL daemon) behavior analysis

We were looking at the behavior of HAL daemon on a Linux host (Ubuntu 12.04.2 LTS 64-bit). We looked at both its syslog and system calls (using strace). According to the documentation, HAL daemon ...
0
votes
0answers
11 views

How to call the proc_register() function/ execve()

Is there any way monitoring the calling of the function " proc_register"? so that each time a proc registery is called (ot there is a new process creation) i will get the notification/alert/other..?
0
votes
3answers
163 views

get notification when process starts running

I am trying to figure out a way to get a notification when one of my processes starts to run once again (i have tried monitoring the proc file but didn't succeed, monit doesn't handle getting the same ...
0
votes
1answer
152 views

change java process name

I am trying to change a java process name using the start-stop-daemon. When running the process without the daemon I simply add to the script: "exec -a kuku" And the java process name in the proc file ...
0
votes
1answer
75 views

using monit to monitor processes

i am trying to figure out how to use monit to get a notification when one of my processes starts to run once again. let me be clear- at first the process is running, stops to run and then runs again. ...
2
votes
0answers
83 views

How to find out cgroup of a particular process?

Is there any method to get cgroup of process? The only one package that I know (cgroup-bin), just provide some manipulations with cgroups and allow to change cgroup of process/list of processes, but ...
-2
votes
1answer
35 views

How do I see all processes start (both linux AND win)? [closed]

I have a situation in which I need to monitor processes starting. I have found lots of ways to see what processes are running at any given moment (e.g. by polling), but sometimes processes start and ...
0
votes
0answers
24 views

How lxc-console implements implementation of the process into container?

Let's assume that we have some host with containers on it. When I type lxc-console I can get access from host's cmd to container's cmd, so I want to know what exactly happens? I mean how lxc-console ...
0
votes
1answer
36 views

How Puppet handles manifests in terms of processes?

I want to find out how Puppet handles manifests: in master process or Puppet forks it to execute in child process? It necessary for me to know what exactly do puppet master while handling manifests, ...
0
votes
1answer
32 views

How to deny checking list of running processes?

How to prevent a user from checking list of processes started by another user ? In other words, how do I forbid a user to see which processes are running by another user ?
0
votes
0answers
60 views

Controlling Apache Tika with Supervisord

I am using TikaJAXRS on my server to process files, a part of Apache Tika project. I made a service wrapper to run it. So normally, I run it with service tikaserver start. But basically, the command ...
0
votes
1answer
49 views

How to know which user killed a process

Is there a way in linux to find out which user or which process killed another process? Maybe a log? I searched through /var/log and specifically on auth.log.* but I didn't find anything ...
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 ...
0
votes
2answers
185 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
votes
3answers
261 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
96 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
1k 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?
2
votes
0answers
411 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
2answers
85 views

Can many low priority processes have effect on speed of other higher prioritized processes on the server?

So here is the situation: We have a couple of linux servers which we use for our work. So one of the users has a script running (just for fun, no work), which distribute a ton of other scripts to all ...
0
votes
1answer
615 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
votes
1answer
30 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
187 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 ...
-2
votes
1answer
292 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
123 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.
-5
votes
1answer
101 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 ...
2
votes
2answers
365 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
171 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
255 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
422 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 ...
-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 ...
2
votes
1answer
769 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 ...
2
votes
1answer
144 views

Overhead of many php-fpm processes on Linux?

I'm migrating the configuration of a webserver that runs PHP applications using PHP-FPM behind nginx. The server has about 40-50 (and growing) vhosts on it. The server is a single CPU VM with 1GB of ...
0
votes
0answers
87 views

Manage a PHP background process

When you have a PHP background process running, what are recommended approaches to: 1/ Monitor that the process is alive and/or automatically launch a new one if it dies 2/ Make sure that there are ...
2
votes
2answers
473 views

My linux server “Number of processes created” and “Context switches” are growing incredibly fast

I have a strange behaviour in my server :-/. Is a OpenVZ VPS (I think is OpenVZ, because /proc/user_beancounters exists and df -h returns /dev/simfs drive. Also ifconfig returns venet0). When I do cat ...
1
vote
3answers
434 views

linux/solaris kill many proccess with one command

Is it possible to kill all find process with one command? I do not want to kill each process as kill -9 25295 , kill -9 11994 , etc.. Rather, what I want is a simple way or command that kill all find ...
0
votes
1answer
71 views

Linux released memory

If My process allocates some big memory and then deallocates, would top or gnome-system-monitor show that my memory usage of that process decreased ? or kernel will still reserve that memory for that ...
1
vote
2answers
842 views

how to find suspicious process details and its command line arguments

On my Linux server, i am getting a suspicious perl process, which is trying to send spam from my server, using a perl script. Here is the ps -aux output. apache 10078 0.0 0.0 4028 705 pts/1 ...
1
vote
1answer
100 views

Show kernel stack usage for a process in Linux

I am trying to determine how much kernel stack is being used by processes on a server. I found a document that indicates that the output from sysrq-t shows the amount of unused stack in the 4th field ...
1
vote
1answer
999 views

Write to stdin of a running process using pipe

I am in a similar situation as in this post But I couln't get the solution provided there to work in my situation as the answer seems related to that question only. In particular, I couldnt ...