LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-22-2009, 03:15 AM   #1
ponna85
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
Question urgent


how many number of process will b running(approx) when a linux system is idle.or how can i find the system is idle by prgm..

Last edited by ponna85; 01-22-2009 at 03:17 AM.
 
Old 01-22-2009, 03:19 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
If the system is idle then 0 process are running or it is not idle. You can find that the system is idle when ps -ef only reports ps -ef, but then it is not idle anymore because it runs ps -ef and to run ps -ef you need to run bash. Why is it urgent please?

Last edited by Agrouf; 01-22-2009 at 03:22 AM.
 
Old 01-22-2009, 05:04 AM   #3
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
Use:
Code:
top
to check processes that are running. Checkout
Code:
man top
for top options.

In any case if a system has a desktop manager (KDE/gnome) running then it'll have process 0 (init), all services that you have enabled (web server, samba, sshd etc), X server, desktop environment (along with its children such as panel, menus etc) running.
 
  


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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
Urgent Question Regarding Urgent Questions! Need Help Now! Crashed_Again LQ Suggestions & Feedback 11 10-17-2007 08:07 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM

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

All times are GMT -5. The time now is 11:48 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