LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 02: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, 02: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



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 07:26 AM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 01:19 PM
Disabling process listing from normal users ZeiP Linux - Security 8 01-05-2004 10:16 AM
problem with binding process and than execute another process chapa Programming 0 08-27-2003 03:47 AM
Directory Listing mattbeekler Linux - Software 8 07-22-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:44 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
Open Source Consulting | Domain Registration