Questions tagged [process]

Questions about identifying processes, about listing them, sending signals, killing them, assigning and using process priorities.

A computer program is a passive collection of instructions; a process is the actual execution of those instructions.

787 questions
76
votes
5 answers

Tell a process PID by it's window?

How I can tell a process image name (to run from terminal using sudo) showing on the Ubuntu UI?
Ted
  • 965
67
votes
2 answers

ps -ef vs ps aux

What is the difference between ps -ef | grep thin and ps aux | grep thin As per the output there is a variation but i'm not clear what are the things being listed.
Bijendra
  • 830
50
votes
2 answers

How do I know which processes are running and who own the process?

I want to change the mongodb database directory. Some says that I need to change the owner of the new directory to the username that is running mongodb https://stackoverflow.com/questions/5798549/why-cant-i-start-the-mongodb How do I know which user…
user4951
  • 755
45
votes
2 answers

How to identify the process locking a file?

I want to know the exact process that is using the lock file. I don't want to fix it, but just to know what is my system doing. How can I find out? For example, this message: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily…
Braiam
  • 67,791
  • 32
  • 179
  • 269
39
votes
5 answers

How do I determine the path to a binary of a process?

Is there a way to find out the directory/disk location a process was started from? I am aware of the /proc mount but not really where to look inside of it.
30
votes
2 answers

In htop, I sometimes see lists of 64 processes, identical for all but the PID. What are they?

I've noticed this situation several times (but I'm not sure if it is always the same command). I don't even know how to describe the lead-up to this situation, unless it is because of a detached script I've been testing which hasn't terminated…
Peter.O
  • 24,681
25
votes
5 answers

How to identify and kill hanging process, when system hangs and reacts slowly on user input?

Recently when I tried to open a video with VLC, my system slowed down, the open applications webbrowser, VLC and filemanager and others didn't react any longer. The mouse just reacted still very slowly. On a windows machine i would press a keycombi…
NES
  • 33,195
21
votes
1 answer

What is console-kit-daemon for?

I am running Ubuntu in console mode. Do I need console-kit-daemon to be started? What is it doing? Why is it necessary? Can I turn it off? How can I turn it off? And so on...
Max Muster
  • 333
  • 1
  • 4
  • 14
18
votes
3 answers

How to get the full command line used to launch a process

Eclipsed launched a process for me, and I'd like to see the full command line used. I tried "ps auxwww", but it seems to truncate the path to 4096 characters, is there any way to get PS to stop truncating the path, or to use another tool to find the…
16
votes
1 answer

Process status of S+ S S< Sl

Upon checking the process status, I read many strange status D I I< R+ Rl S S+ S< Sl Sl+ SLl SLl+ SN SNsl S
Wizard
  • 2,891
15
votes
4 answers

What is cslistener?

There seems to be a process called "cslistener" on my machine that is listening on port 9000. A scan using nmap resulted in this, where 172.29.137.150 is the address of my PC. Nmap scan report for 172.29.137.150 Host is up (0.000013s latency). Not…
Kalle Elmér
  • 8,288
12
votes
2 answers

Random cc1 processes make my Ubuntu freeze

This is really weird. Sometimes, seemingly without any good reason a bunch of processes named cc1 will pop up and consume all my CPU causing my ubuntu to nearly freeze. After 10-15 seconds those processes disappear again. Does anyone have an idea…
Stan
  • 1,060
  • 2
  • 11
  • 15
11
votes
3 answers

Resume a process via a PID number

I wanted a daemon to start on boot so I added a line to /etc/rc.local that ended in "&" I did that so it would run in the background. The daemon is loaded and working fine but when the daemon is running you can press keys that do other important…
new_linux
  • 113
  • 1
  • 1
  • 5
8
votes
2 answers

Can process be reloaded by PID?

I run a daemon which cannot be restarted via init.d or service command. Is there a way to restart a process just by passing a process id to some command?
neziric
  • 869
7
votes
2 answers

How do I list all processes owned by my user?

List all process names for my user. I could do it with ps aux | grep username But the output would be like: maythux 18343 0.0 0.1 1070868 34504 ? Sl Jun03 0:07 empathy maythux 21562 0.0 0.1 703716 32104 ? Sl Jun10 0:00…
Maythux
  • 84,289
1
2 3 4 5