- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- What is a "non-system" process?
Operating System - HP-UX
1813457
Members
4021
Online
109524
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- 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
- 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
- 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.
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP