An instance of a running computer program.

learn more… | top users | synonyms

0
votes
0answers
9 views

Jira/Confluence hogging memory with lots of processes

We've been working with Jira and Confluence on a Debian 6 VPS for a while now. Everything is fine as far as their daily use is concerned. The issue we are encountering now is that occasionally, the ...
-4
votes
1answer
52 views

Linux Server Memory: Is this enough?

One of (weblogic)process on my WAS server(redhat linux) is killed at last night. There is no log. so I doubt my system memory. Is the system or process has enough memory? server specification and ...
3
votes
1answer
41 views

How to find what processes were running at a time in the past?

I am asked to investigate a high CPU usage alert which occurred this morning. I used sar -p and saw the high CPU usage showing up at that time Next I used ps -eo pcpu,pid,user,args | sort -r -k1 | ...
-3
votes
1answer
36 views

How can I close httpd open conncetion? [closed]

I have a lot of open connection of httpd and ram usage, how can i solve this?
0
votes
1answer
9 views

YouTrack java process started to disappear on VPS

I had YouTrack installed on my VPS, and lately it just stopped working. Installation method I used is described here: ...
13
votes
4answers
30k views

Is there an equivalent command for 'init.d/networking restart' in OS X

From time to time, I've encountered issues with OS X clients' network connections (Wired and Wireless, Leopard/Snow Leopard) where nothing will fix the issue, until you reboot. Is there a ...
25
votes
5answers
63k 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 ...
0
votes
1answer
44 views

init / inittab respawn (count number of times it occurs) [closed]

I added the following line in my /etc/inittab to respawn a program if it crashes. #test must always run. aa:2345:respawn:/home/pi/test/test Is there a way to know how many times the init/respawn ...
14
votes
4answers
5k views

Do background processes get a SIGHUP when logging off?

This is a followup to this question. I've run some more tests; looks like it really doesn't matter if this is done at the physical console or via SSH, neither does this happen only with SCP; I also ...
0
votes
1answer
20 views

kill tcp port binding by deleting proc/[0-9]/net/… in linux

I have a script to call syscall Kill the process that holds a certain TCP port in Linux (ubuntu). But even if I do that, sometimes the port still remains in /proc/[0-9]/net directory binding the port. ...
0
votes
1answer
54 views

Set CPU affinity for all processes of specific user with taskset

I have ubuntu server 14.04, and I'm wondering if there is any easy way to achieve this task. For example, I can already do this for single processes with taskset -pac 2 29435, but is there any way to ...
3
votes
4answers
368 views

Rogue processess in linux

I'm running Apache on Linux server. I have noticed the following processes running which I am not expecting to see, and appear rogue. Can anyone please advise me what they mean? Running ps aux | ...
0
votes
1answer
15 views

Source of long running find process on server

I'm wondering where a long running find process on my ubuntu linux server (14.04 LTS) came from and what the meaning of it is. Here is the output of ps: 16915 ? SN 32:41 /usr/bin/find /tmp ...
2
votes
1answer
1k 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 ...
21
votes
6answers
53k views

Dump a linux process's memory to file

Is it possible to dump the current memory allocated for a process (by PID) to a file? Or read it somehow?
2
votes
3answers
2k views

/proc/pid/environ missing variables

google is giving no love on this one today, so I turn to the experts... I'm currently hacking together a script that relies on the /proc/pid/environ feature in Linux (RHEL 4) to check for a ...
7
votes
2answers
33k 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
1answer
28 views

NUMA processor definition

NUMA, non-uniform memory access designates a symetric multi-processing system where processors are grouped into nodes, with each group sharing some level of memory, so that memory access on same node ...
3
votes
4answers
1k views

Which is better — single high speed processor or double lower speed processor?

I'm looking forward to buy a Dell PowerEdge Tower server, that would cater to a low or moderate expected load, at least for the time being. I have a question about it's processor -- whether it is ...
0
votes
0answers
31 views

Odd entries in Debian Linux /var/log/auth.log

I have found some odd entries all of the sudden in my /var/log/auth.log files. They are showing up every 10-20 seconds or so. There isn't anything in cron that would do this, and I am at a loss of ...
3
votes
2answers
140 views

Killing Parent and Child processes on Remote with Powershell

I'm attempting to kill a parent process and it's child process (There will only be one child) on a remote computer. When executing this script (Which is part of a larger one) i get the following ...
0
votes
1answer
1k views

Why is cron running twice?

I wanted to execute my PHP mailing-script automatically with cron. I always get the mail twice though. The script runs fine when started manually. I put this in the crontab for testing: 54 13 * * * ...
16
votes
5answers
15k views

Set max file limit on a running process

I have a long running process that is eventually going to hit the max open file limit. I know how to change that after it fails, but is there a way to change that for the running process, from the ...
0
votes
1answer
28 views

Is it possible to kill a process based on its environment, from the command line?

Scenario: Let's assume I have a script that spawns a few processes. There may be times when the script has to be aborted. Most times this is fine. However, sometimes one or two of the spawned ...
0
votes
0answers
17 views

Running and sleeping in top

I usually use top to get an idea of the server load before (and while) running a compute job. Recently my attention was drawn to the process state column. In particular I noticed that all Matlab ...
-1
votes
3answers
588 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 ...
1
vote
0answers
61 views

Hundreds of zombie sh processes spawn then die

I have a few Ubuntu Server 14.04.03 LTS boxes that will occasionally spawn hundreds of zombie sh processes. This process spike will be picked up by the monitoring system, and send an alert. I found ...
1
vote
2answers
685 views

Moving a process to and from swap [closed]

I've got several server-type processes 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 want ...
0
votes
1answer
22 views

Know which file is related to a process execution

In Unix, with top I have an output similar to this: 13916 root 18 0 903m 129m 9936 S 51.4 0.1 3:07.01 php How can I know which file is this php process executing? For example: 13916 root 18 0 903m ...
3
votes
2answers
141 views

Pressing Ctrl-C stops bash script, but don't stop PHP script called by the script

I need to run a few scripts every few minutes. The logic was made in PHP, and it's working great. To keep things together I've made the bash script below, which also runs fine. #!/bin/bash ...
5
votes
13answers
18k 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 ...
3
votes
1answer
4k 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 ...
119
votes
9answers
64k 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
160 views

What can be used to prevent the termination/killing of a process, even by the root user?

Is there a security framework or general tool that can be used to ensure that a certain process started at boot in Linux cannot be terminated by any user or other process, including the root user?
0
votes
3answers
500 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 ...
5
votes
2answers
247 views

top is only showing current user processes

Recently got a dedicated server running CentOS 6.7, we have ran updates and noticed that top is only showing processes for the current user. [myuser@server2 ~]$ top -b -n1 top - 20:19:20 up 1 day, ...
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 ...
0
votes
0answers
23 views

Why upstart starts my processes in an inconsistent way

I'm debugging a strange issue with upstart managed jobs. I have a ruby web application which is started using passenger and I generate upstart configuration files using foreman The problematic ...
5
votes
6answers
11k 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 ...
2
votes
1answer
36 views

Lot of duplicate sshd daemons getting created in Solaris

I have a Solaris server where I found lot of sshd services running: ps -ef | grep 23492 root 25449 23492 0 15:27:17 ? 0:00 /usr/sbin/sshd2 -oPidFile=/var/run/sshd2_22.pid -R ...
0
votes
1answer
20 views

Why when setting a process ppid to 1 will disown it?

When i write a shell script like below: # demo.sh somework & Then run it sh demo.sh.Use & will cause the demo.sh exit and make the somework's parrent PID be 1, the init. Then i exit my ...
1
vote
2answers
4k 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 ...
0
votes
0answers
45 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 ...
8
votes
4answers
14k 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
107 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
vote
1answer
27 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 ...
1
vote
1answer
399 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
124 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 ...
1
vote
0answers
26 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 ...