LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2002, 03:45 PM   #1
Jester888
LQ Newbie
 
Registered: Jan 2002
Location: Knoxville, TN
Distribution: Mandrake 8.1
Posts: 12

Rep: Reputation: 0
process listing


How do I list the running processes via the command line? to see process name and PID at the least. I am running Mandrake 8.1 and KDE if that is any help.

 
Old 01-23-2002, 03:56 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Re: process listing

Quote:
Originally posted by Jester888
How do I list the running processes via the command line? to see process name and PID at the least. I am running Mandrake 8.1 and KDE if that is any help.

KDE has a graphic program but I forgot it's name.

To do it on the console, use the "ps" program. There are a lot of options you can pass to ps to modify the output. A common invocation is "ps ax" which will display all processes currently runing, including that of other users, it'll show the PID, the terminal if any, the state of the process, the time it was started and the command itself.

Add the 'f' option and you get more info like CPU usage and MEM usage.

Read the ps man page (run "man ps") to see how you can modify the output.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how a father process know which child process send the signal SIGCHLD icoming Programming 10 07-20-2010 08:26 AM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 02:19 PM
Disabling process listing from normal users ZeiP Linux - Security 8 01-05-2004 11:16 AM
problem with binding process and than execute another process chapa Programming 0 08-27-2003 04:47 AM
Directory Listing mattbeekler Linux - Software 8 07-22-2003 03:27 PM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration