- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Parent Process ids
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
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
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
06-28-2001 04:54 AM
06-28-2001 04:54 AM
Parent Process ids
In my server when i do a ps -ef
the following output comes in the screen with all the parent process id's as 1
admpadm 11916 1 0 23:46:17 ? 0:19 startup/AsGwyServer_inms03p12.sh -ms16m -mx32m -Duser.timezo
admpadm 10708 1 0 23:41:04 ? 8:28 startup/INCorrelatorEngineServer.sh -ms16m -mx32m -Duser.tim
admpadm 10929 1 0 23:42:25 ? 0:44 startup/S12_2CorrelatorEngineServer.sh -ms16m -mx32m -Duser.
admpadm 9385 1 0 23:32:38 ? 0:00 /opt/alcatel/admp/scripts/startup/SecurityGatewayServer.sh /
as 4236 1 0 23:14:10 ? 21:59 bin/ascurim
admpadm 9423 1 0 23:32:48 ? 0:12 startup/SecurityOSGatewayServer.sh -ms16m -mx32m -Duser.time
sec 9355 1 0 23:32:28 ? 0:13 /opt/almap/sec/bin/lss
admpadm 11219 1 0 23:43:37 ? 3:41 startup/SNMP_0CorrelatorEngineServer.sh -ms16m -mx32m -Duser
admpadm 4382 1 0 23:14:21 ?
Can anyone ls tell why the parent process id's are showing as 1 and is there any patches needs to be installed if its a kernel problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:11 AM
06-28-2001 05:11 AM
Re: Parent Process ids
What makes you think youre having trouble?
parent ID of 1 can mean it has been launched by init, the other case is of orphaned process, in this case you will have to kill the processes...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:14 AM
06-28-2001 05:14 AM
Re: Parent Process ids
If a process looses connection to its original parent, the init process will take over as parent process. If you start a program running in the background ( & ) from a script and you kill the script's process id, the program's parent id will be 1 ( init ), because no process can run without a parent except for the swapper ( process id 0 ppid 0 ).
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 05:38 AM
06-28-2001 05:38 AM
Re: Parent Process ids
when any process(b) is running if the parent process(a) of that process(b)dies then process(b) becomes orphan, unix is designed like that if any process becomes orphan then it's ppid will be set to pid of init which is 1. After process(b) completes its job, the pid and ppid of that process(b) will be withdrawn by the os.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 07:02 AM
06-28-2001 07:02 AM
Re: Parent Process ids
1. The process id 1 is init.
This process is created after the swapper ( id = 0 ).
2. If you got a process P0 which creates a child P1 and the parent process die ( P0 ) before the P1 is die, so the new parent for P1 will be init process ( id = 1 ). This technic prevents from zambie's process ( By executing a wait() function for each exit() function executed by a process ).
3. All server (in terms of applications ) implements this feature in order to respond to clients requests.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2001 11:03 PM
06-28-2001 11:03 PM
Re: Parent Process ids
I think, These process are started duing the system startup by init process.. this happens when a root does su - the user and then start any daemons OR processes. Nothing to worry about.. it is a normal behaviour. If you start them manually they will habe your process ID as PPID.
hope this helps
Manju