Questions tagged [process]

An instance of a running computer program.

761 questions
5
votes
4 answers

Process monitoring services

I'm looking into different services that help keep processes up and running (auto-restart in the event of a crash). Which ones do you prefer and what are your commends/suggestions? Here are a few methods I've found: respawn in…
Lin
  • 2,909
  • 7
  • 27
  • 25
5
votes
3 answers

How can I see which processes locked a file?

How do you find out which processes have a lock on a given file, in Linux?
Fragsworth
  • 1,181
  • 2
  • 12
  • 14
5
votes
3 answers

In server 2008 R2, if I run an app in administrator's mode, will child process still be in the same mode?

In server 2008 R2, if I run an app in administrator's mode, will the child process still be in the same mode? I raise this question because I suspect the child process from the app is not running in administrator's mode.
dvd818
  • 151
  • 2
5
votes
3 answers

Wchan section in ps output not showing anything

I know that if a process go into D state then it means that it is in uninterruptable state. The process can not be killed by any signal. It will only come out of that state on reboot or if I/O wait is over. I have many process in D state which…
shivams
  • 469
  • 1
  • 9
  • 15
5
votes
2 answers

Kill all currently running cron jobs

For some reason my cron job scripts aren't exiting cleanly and they're backing up my server. There are currently a couple hundred processes running for one of my users. I can use the following command to kill all processes by that user, but how can…
5
votes
5 answers

What's the best way of setting up a cron job to check that a long-running process is still going and if not, start it?

As per the title: What's the best way of setting up a cron job to check that a long-running process is still going and if not, start it? If I start a long-running process in cron, is it going to block? or does cron fork the process as an independent…
Ben
  • 395
  • 1
  • 4
  • 7
5
votes
1 answer

ttylog attaches to the wrong process - release notes a bit hard to understand too

I have a lengthy python script running on a machine: [root@server1]# ps aux | grep python root 30640 15.6 0.6 296416 102444 pts/4 S+ 11:29 2:38 python my_script.py But I'm now working remotely on my laptop and want to view the output of…
5
votes
2 answers

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.
chilltemp
  • 231
  • 1
  • 2
  • 4
5
votes
1 answer

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 updated in chunks (about 1000 bytes at a time), so I…
Mad_Ady
  • 475
  • 1
  • 6
  • 14
5
votes
4 answers

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 usage and acts properly when specific conditions…
Simone Carletti
  • 1,524
  • 3
  • 15
  • 30
5
votes
2 answers

Which tool provides per-process (or per-cgroup) resource (RAM/CPU/Disk) monitoring?

I want to have graphs about the percentage of CPU usage, RAM usage, Disk usage which is caused by specific processes (or process groups, or cgroups) on my server (running Debian). The tool needs to be FOSS, if there is a Debian package, that’s a…
Michael
  • 180
  • 6
5
votes
2 answers

Program to manage process workflow across machines?

I have an in-house Perl script that is in great need of refactoring. In the interest of not reinventing the wheel, I'm looking to see if an open-source equivalent to it exists, and I'm having trouble finding one. The script runs as a daemon on all…
Justin Ellison
  • 718
  • 5
  • 9
5
votes
3 answers

What is "Interrupts" process and why it so loves my CPU?

I have windows XP SP3 on Intel Core Duo 2GHz. The "Interrupts" process, according to the Process Explorer, continuously take 30-40% CPU. Is it normal?
Kamarey
  • 377
  • 3
  • 4
  • 10
5
votes
2 answers

In Windows Task Manager, in the Processes tab, what does I/O Other mean?

In Windows Server 2003, I'm seeing a process in Task Manager with a high value in the I/O Other column. I'm trying to determine if it's in some kind of error state, but I don't know what I/O Other means. I/O Reads and Writes are low. What is I/O…
Barry B
  • 61
  • 1
  • 4
5
votes
2 answers

Linux: ps -awx vs. ps -awwx

Does anyone know the difference of ps -awx vs. ps -awwx? I'm tracking down some processes, and I see significantly more information when I add an additional "w". Does this work like in other cases (such as SSH debugging) when you issue multiple…
drewrockshard
  • 1,763
  • 4
  • 20
  • 27