Skip to ContentSkip to Footer
Start of content
- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - HP-UX
- >
- Networking
- >
- What is a "non-system" process?
Networking
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
Go to solution
Topic Options
- 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
- Email to a Friend
- Report Inappropriate Content
06-18-2009 06:53 AM
06-18-2009 06:53 AM
global_pstat_body.h has the following comment in struct __pst_dynamic referring to "non-system processes"
What *IS* a system process (from HP/UX' perspective)?
What distinguishes a system process from a non-system process?
What attribute can I examine to know the difference? Speculation: processes with PPID = 0?
- John
==============================================
struct __pst_dynamic {
... lines omitted
* The following 8 elements are sums across all non-system
* processes. Thus, "total virtual memory" refers to the number of
* virtual pages used by all non-system processes. The word
* "active" means that a thread in a process has run in the last 20
* seconds. Thus, "active virtual memory" refers to the sum of the
* virtual memory of all processes which have had a thread run in the
* last 20 seconds. "Real memory" refers to pages residing in core.
* Shared memory is included in all these totals, but is counted only
* once. Fields that end in "txt" apply to text pages only.
*/
_T_LONG_T psd_vm; /* total virtual memory */
_T_LONG_T psd_avm; /* active virtual memory */
_T_LONG_T psd_rm; /* total real memory */
_T_LONG_T psd_arm; /* active real memory */
_T_LONG_T psd_vmtxt; /* virt mem text */
_T_LONG_T psd_avmtxt; /* active virt mem text */
_T_LONG_T psd_rmtxt; /* real mem text */
_T_LONG_T psd_armtxt; /* active real mem text */
What *IS* a system process (from HP/UX' perspective)?
What distinguishes a system process from a non-system process?
What attribute can I examine to know the difference? Speculation: processes with PPID = 0?
- John
==============================================
struct __pst_dynamic {
... lines omitted
* The following 8 elements are sums across all non-system
* processes. Thus, "total virtual memory" refers to the number of
* virtual pages used by all non-system processes. The word
* "active" means that a thread in a process has run in the last 20
* seconds. Thus, "active virtual memory" refers to the sum of the
* virtual memory of all processes which have had a thread run in the
* last 20 seconds. "Real memory" refers to pages residing in core.
* Shared memory is included in all these totals, but is counted only
* once. Fields that end in "txt" apply to text pages only.
*/
_T_LONG_T psd_vm; /* total virtual memory */
_T_LONG_T psd_avm; /* active virtual memory */
_T_LONG_T psd_rm; /* total real memory */
_T_LONG_T psd_arm; /* active real memory */
_T_LONG_T psd_vmtxt; /* virt mem text */
_T_LONG_T psd_avmtxt; /* active virt mem text */
_T_LONG_T psd_rmtxt; /* real mem text */
_T_LONG_T psd_armtxt; /* active real mem text */
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-18-2009 07:59 AM
06-18-2009 07:59 AM
Solution
A process created by and for the maintenance of the system (kernel daemons are the best example). A user process is a normal application started by a user login instead of the system itself.
Distinguished by having PS_SYS in the pst_flag field in the pst_status structure returned by pstat_getproc(). [The PPID may be non-zero if a kernel daemon starts another kernel daemon process].
Distinguished by having PS_SYS in the pst_flag field in the pst_status structure returned by pstat_getproc(). [The PPID may be non-zero if a kernel daemon starts another kernel daemon process].
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-18-2009 08:13 AM
06-18-2009 08:13 AM
Re: What is a "non-system" process?
Perfect.
Can I therefore infer that all processes have swapper (PID 0) at the top of the process tree, but only those with init (PID 1) in the tree are user/non-system processes?
(Just getting my head around the process and scheduling concepts)
Can I therefore infer that all processes have swapper (PID 0) at the top of the process tree, but only those with init (PID 1) in the tree are user/non-system processes?
(Just getting my head around the process and scheduling concepts)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
End of content
United States
Hewlett Packard Enterprise International
Communities
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP