Results 1 to 6 of 6
Hello, i am a newbie in linux.
Can someone tell me where i can find the files that contain all process status?
Thanks for the help ^^...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-16-2008 #1Just Joined!
- Join Date
- Sep 2008
- Posts
- 5
Where should i get the files that contain all running process?
Hello, i am a newbie in linux.
Can someone tell me where i can find the files that contain all process status?
Thanks for the help ^^
- 09-16-2008 #2
Hello and Welcome!
To find the status of your processes, try top.Jay
New users, read this first.
New Member FAQ
Registered Linux User #463940
I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.
- 09-17-2008 #3
Your other option, if you want a list of every process that's running, is to type
into a terminal.Code:ps aux
top has the advantage that it gives more info on (for instance) CPU and RAM usage, and it updates itself (every second by default). However, unless you have very few processes running, or a very large screen, top will only show the "busiest" processes. ps aux just prints a long list of everything, so you'll probably have to scroll back up to find a particular one.
A useful trick (which you might well know, but it cant hurt to mention) is to use grep. If for instance you run
it will give a list of all the processes listed in the output from ps aux that have "firefox" in the name.Code:ps aux | grep firefox
Hope that helps
Giles"Our greatest fear is not that we are powerless. Our greatest fear is Microsoft"
Registered linux user #391027
- 09-17-2008 #4Just Joined!
- Join Date
- Sep 2008
- Posts
- 5
Wogh, thanks for the hope...anyway...where could i find the files that contain all this proces,
for example :
if i type ps -aux :
root 2434 0.0 0.4 10220 2508 ? Ss Sep17 0:00 cupsd
root 2453 0.0 0.3 7088 1980 ? Ss Sep17 0:00 /usr/sbin/gdm-b
root 2454 0.0 0.0 1812 420 tty4 Ss+ Sep17 0:00 /sbin/mingetty
root 2455 0.0 0.0 1812 420 tty5 Ss+ Sep17 0:00 /sbin/mingetty
root 2456 0.0 0.0 1812 420 tty2 Ss+ Sep17 0:00 /sbin/mingetty
root 2457 0.0 0.0 1812 420 tty3 Ss+ Sep17 0:00 /sbin/mingetty
there will be result like this....the user and the process id....
where could i find the files that contain all the process that running (contain all process id number)?
- 09-17-2008 #5
ps reads from the /proc directory. If you look in there, you'll see a whole bunch of directories each named with a number. That number is the PID and represents a process. Within those directories is information about that process.
- 09-17-2008 #6Just Joined!
- Join Date
- Sep 2008
- Posts
- 5


Reply With Quote

