The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
monitoring running processes nhatch Shell Programming and Scripting 2 12-21-2007 06:03 AM
running processes with no hang up yakyaj UNIX for Advanced & Expert Users 3 01-30-2007 07:18 AM
parsing currently running processes blowtorch High Level Programming 7 10-12-2006 12:36 AM
getting certain info for all processes currently running Yifan_Guo High Level Programming 3 03-25-2005 04:53 PM
Running two processes in background jacob_gs Shell Programming and Scripting 6 05-13-2002 08:40 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-03-2006
Registered User
 

Join Date: Jul 2006
Posts: 13
how to find all processes that are running

Hi
i've been googling a lot but can't find an answer. All I would like to know is how to find out all processes that are running on a machine.
I know ps gives all YOUR processes.
thanks
Reply With Quote
Forum Sponsor
  #2  
Old 07-03-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 360
Code:
ps -A
look at ps(1)

Last edited by Hitori; 07-03-2006 at 07:40 AM.
Reply With Quote
  #3  
Old 07-03-2006
Registered User
 

Join Date: Jul 2006
Posts: 13
thank you Hitori, what does >> mean? stdout?
Reply With Quote
  #4  
Old 07-03-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 360
Nothing at all. Something like quote . I've meant look at man page ps(1)
Reply With Quote
  #5  
Old 07-03-2006
Registered User
 

Join Date: Jul 2006
Posts: 13
thanks Hitori I have
Reply With Quote
  #6  
Old 07-04-2006
Registered User
 

Join Date: Jun 2006
Posts: 59
One more question

What is the difference between ps -e and ps -ef .
Also i have just loggged in and given the command ps -ef | grep gap44049

gap44049 19759 19056 1 16:57:34 pts/th 0:00 grep gap44049
gap44049 19758 19056 1 16:57:34 pts/th 0:00 ps -ef
gap44049 19056 19024 0 16:44:06 pts/th 0:00 /usr/local/bin/tcsh
gap44049 19024 19023 0 16:43:58 pts/th 0:00 -tcsh

What do these 4 processes mean when i have only one session running ?
Reply With Quote
  #7  
Old 07-04-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 360
ps -ef | grep gap44049

Implying that gap44049 is your login you can type simply ps -f instead of ps -ef | grep gap44049.

In output that you recieved there are info about all processes that are being executed (tcsh -the shell, ps, grep commands) (dont know what means ' -tcsh')

-f means full, i.e. show process uids, ppids
-e shows different set of columns
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 02:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0