Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
IndexSoft

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Recommend Us
Surveys

Features
HOWTOs
News
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 186 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  
Linux Knowledge Base and Tutorial: Forums



Linux Tutorial :: View topic - Processes
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Processes

 
Post new topic   Reply to topic    Linux Tutorial Forum Index -> Feedback and Suggestions
View previous topic :: View next topic  
Author Message
jouell
Newbie


Joined: Jan 06, 2006
Posts: 2

PostPosted: Wed Jan 11, 2006 6:22 pm    Post subject: Processes Reply with quote

Hi. Great Site!


One question:

http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=90

says "Note that on a single processor system, only one process can be running at once. Therefore, you will never see more than one process in state R. "

Is this true?


A process in the TASK_RUNNING states definiton is:

The process is either executing on a CPU or waiting to be executed.

So I surmise that multiple processes can have an "R" as the output of ps.


The man of ps confirms this:

R Running or runnable (on run queue)

and the picture here does too:


http://www.linux-tutorial.info/modules.php?name=Tutorial&pageid=174


Awesome Site, I've learned a ton already!!!

-John
Back to top
View user's profile Send private message
ffreeloader
Master


Joined: Aug 10, 2005
Posts: 579

PostPosted: Thu Jan 12, 2006 4:31 pm    Post subject: Reply with quote

[quote]says "Note that on a single processor system, only one process can be running at once. Therefore, you will never see more than one process in state R. "

Is this true?[/quote]

After reading the article I'd have to say that the author was thinking that only one process could actually be running at one time.

I know I have written stuff like that where the idea in my head didn't come out as planned through my fingers. I knew what I meant, but didn't quite say what I meant to. Embarassed
Back to top
View user's profile Send private message
jouell
Newbie


Joined: Jan 06, 2006
Posts: 2

PostPosted: Thu Jan 12, 2006 8:06 pm    Post subject: RE: Reply with quote

OK, for reference, lets separate the issues:


1) Process Behavior

I think we all agree that:

only one process can be running at once.


2) Ps behavior

I have seem ps list more than one process as state "R", (see link/image above) I believe this is due to the reasoning I outlined in the original post.
Back to top
View user's profile Send private message
jayismyson
Newbie


Joined: Mar 29, 2013
Posts: 1

PostPosted: Fri Mar 29, 2013 4:52 am    Post subject: Reply with quote

good
_________________
zhoujunjie0001@gmail.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Linux Tutorial Forum Index -> Feedback and Suggestions All times are GMT
Page 1 of 1

 

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001-2007 phpBB Group
  

More information about the site can be found in the FAQ


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.60 Seconds