Questions tagged [process]

An instance of a running computer program.

761 questions
33
votes
3 answers

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 no capabilities to know information about cgroup…
zerospiel
  • 467
  • 1
  • 5
  • 10
31
votes
2 answers

Linux/Debian - What does 'pee' in moreutils do?

I recently discovered the 'moreutils' package in Debian (and Ubuntu). It's a collection of convenient unix tools. One of the commands is 'pee'. The man page says: pee is like tee but for pipes. However it's a short man page, I have filed a bug…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
27
votes
7 answers

How to kill a process with parent 1

I am running Bacula on a RedHat box. From time to time, the storage daemon bacula-sd stops working and becomes . [root@backup ~]# ps -ef | grep defunct | more root 4801 29261 0 09:25 pts/5 00:00:00 grep defunct root 5825 1…
andreas-h
  • 1,114
  • 1
  • 17
  • 28
27
votes
3 answers

Windows 7 or Server 2008 Show running time for a Process

Is there any simple way to show how long a specific PID instance has been active?
user160910
27
votes
5 answers

What is svchost and why are multiple instances of it running?

There's six instances running on my desktop, and probably ten on a server I manage. What is this, and is it vital to system function?
jldugger
  • 14,342
  • 20
  • 77
  • 129
25
votes
6 answers

Kill a process and force it to return 0 in Linux?

In the Linux environment, how can I send a kill signal to a process, while making sure that the exit code returned from that process is 0? Would I have to do some fancy GDB magic for this, or is there a fancy kill signal I'm unaware of? Test…
sega01
  • 351
  • 1
  • 3
  • 3
25
votes
4 answers

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 tested it with cat /dev/zero > /dev/null. The…
Massimo
  • 70,200
  • 57
  • 200
  • 323
23
votes
2 answers

Putting a process in the background without stopping it - (ctrl+z)?

If I start a process by typing it in normally at the command line, such as wget http://site.com/bigfile.zip and then decide I want to move that to the background, I know that I can use something like ctrl+z and then bg 1 (or jobs first if needed…
cwd
  • 2,763
  • 9
  • 33
  • 48
23
votes
3 answers

How do I start a process in suspended state under Linux?

Practically, I need a process which behaves, as if I had pressed Ctrl+Z just after it started. Hopefully, it is possible to do such thing using a shell script. (Also, knowing the resulting PID would be great, so I could continue the process…
java.is.for.desktop
  • 929
  • 3
  • 9
  • 15
23
votes
2 answers

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?
BlueGene
  • 2,241
  • 9
  • 30
  • 33
22
votes
4 answers

How do you kill a process tree in linux?

Sometimes, sending a SIGTERM to a process will cause it to send SIGTERM to all its child processes. However, sometimes this doesn't work. Is there a command or a utility that will allow me to kill a process and all its child processes at the same…
itsadok
  • 1,869
  • 5
  • 22
  • 33
21
votes
7 answers

How do I log CPU usage per process?

I have a box on Linode that's going through weird behavior. Every now and then CPU and disk I/O will shoot to 100% and the server becomes unresponsive and has to be booted. I'd like to investigate better what's going on, but I don't know how to find…
agentofuser
  • 557
  • 3
  • 6
  • 14
21
votes
5 answers

Best way to kill Zombie and D state processes in linux

What is the best way to kill Zombie processes and D state process by single command.
vnix27
  • 886
  • 2
  • 11
  • 19
18
votes
2 answers

Display complete command line (including arguments) for Windows process

I want to display a process's command line (including any arguments) from the command line itself. In other words, I want to show the "Command Line" column in the Task Manager but from a command line. Is this possible? For example, the output might…
user35042
  • 2,681
  • 12
  • 34
  • 60
18
votes
5 answers

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 particular 'network service/process' I should be watching…
l0c0b0x
  • 11,867
  • 7
  • 47
  • 76
1
2
3
50 51