- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Meaning of 'L' in ps state output
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2006 11:25 PM
тАО02-24-2006 11:25 PM
Meaning of 'L' in ps state output
what is the meaning of 'L' in the 2nd position of the process state field as displayed by ps?
$ ps -e -o state,cmd|grep /init
SL /sbin/init -a
"man ps" seems to be silent on that particular issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2006 05:51 AM
тАО02-25-2006 05:51 AM
Re: Meaning of 'L' in ps state output
Acccording to:
http://www.linofee.org/~jel/develop/ps/ps.html#procstatecodes
Found through:
Google:
+tru64 +ps +"process state"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2006 06:34 PM
тАО02-25-2006 06:34 PM
Re: Meaning of 'L' in ps state output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 04:00 PM
тАО02-26-2006 04:00 PM
Re: Meaning of 'L' in ps state output
'L' represents the swap state of process/task. Unswappable tasks(ie tasks locked in memory) are denoted by 'L'.
Regards,
Rani.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 06:14 PM
тАО02-26-2006 06:14 PM
Re: Meaning of 'L' in ps state output
If that is the case, I suppose an 'L' should show up for a process that has called plock(PROCLOC) but that is not the case. (I just tried it on Tru64 5.1B PK2).
Do I miss something here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 07:15 PM
тАО02-26-2006 07:15 PM
Re: Meaning of 'L' in ps state output
One app that I know of which uses plock() is collect. But, I don't see that listed as 'L'. So, I think there is a slight difference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 10:19 PM
тАО02-26-2006 10:19 PM
Re: Meaning of 'L' in ps state output
"Process has been locked into memory and
cannot be swapped out."
Some more testing shows that mlockall() triggers the 'L' flag, but, as I said before, plock() does not.
So the doc seems incomplete in the sense that when an 'L' is shown, it indicates that the process is locked into memory, but not all processes locked into memory show up with 'L'.
Bug or feature?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 11:22 PM
тАО02-26-2006 11:22 PM
Re: Meaning of 'L' in ps state output
plock() locks text and/or data.
mlockall() locks *all* pages. I think this includes heap as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2006 11:55 PM
тАО02-26-2006 11:55 PM