- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PID numbering on HPUX
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
Forums
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
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
тАО11-05-2003 08:19 AM
тАО11-05-2003 08:19 AM
I suspect that DB connections are created and terminated at a very rapid pace during these few minutes and am trying to help the application group identify what is going on during these 5 to 10 minutes bursts.
I have two questions at this point.
1 - Does UX begin with PID #1 and boot time and increment up as each process is created, and if so, what is the highest number a PID can have before it begins at #1 again?
2 - What tools might you suggest that a relatively novice admin might use to identify what these process might be doing during their very short life span?
I realize there is not much to go on here, but I'm trying to learn how to isolate and explain what might be going on here...
Thanks!!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:27 AM
тАО11-05-2003 08:27 AM
Re: PID numbering on HPUX
Max number of pids is a kernel param, maxproc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:29 AM
тАО11-05-2003 08:29 AM
Re: PID numbering on HPUX
maxuproc number of processes allowed for a specific user.
NPROC total number of entries in the process table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 08:35 AM
тАО11-05-2003 08:35 AM
Re: PID numbering on HPUX
while :
do
ps -elf >> /tmp/outfile
sleep 1
date
done
This will list all processes each second (sleep interval)
Don't run too long, disk space will be consumed rapidly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 09:39 AM
тАО11-05-2003 09:39 AM
Re: PID numbering on HPUX
from glossary(9):
--- snip
process ID
Each active process in the system is uniquely identified during its lifetime by a positive integer less than or equal to PID_MAX called a process ID. A process ID cannot be reused by the system until after the process lifetime ends. In addition, if there exists a process group whose process group ID is equal to that process ID, the process ID cannot be reused by the system until the process group lifetime ends. A process that is not a system process shall not have a process ID of 1.
--- snap
If I recall correctly, PID_MAX is 30000.
Best regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 09:43 AM
тАО11-05-2003 09:43 AM
Re: PID numbering on HPUX
You could script ps -ef commands and append the output to a file or you could use Glance to watch processes. You might find that many of these transient processes share a few common parent PID's (PPID's) and thus the parent is what you want to focus upon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 10:57 AM
тАО11-05-2003 10:57 AM
Re: PID numbering on HPUX
Actaully PIDs start at 0 & this PID's purpose is to spawn the init process - PID 1 - which will then spawn all the PIDs that spawn PIDs that spawn PIDs, etc.
PID 0 does not live past boot so you never see it. PID 1 however lives forever & like a good grandparent will adopt any child PID abandoned or orphaned by it's parent.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 01:34 PM
тАО11-05-2003 01:34 PM
SolutionBill Hassell, sysadmin