- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: first process in 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
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
тАО07-18-2006 05:16 PM
тАО07-18-2006 05:16 PM
In HPUX 11.11i or 11.23 which is the first process which spawns other processes ?
If i remember correctly in Sun Solaris it was scheduler process with pid 0.
Just curious how hpux spawns the process world.
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 05:19 PM
тАО07-18-2006 05:19 PM
Re: first process in hpux
In HPUX it is the init process which starts the other processes.
You can run ps -ef|more and see all the system daemons start with a PPID of 1 which is the PID of init process
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 05:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 05:28 PM
тАО07-18-2006 05:28 PM
Re: first process in hpux
But if you are asking which process spawns other process in the system then it is init.
Have a look at the man pages of init, the first line explains
"The init daemon and command is a general process spawner"
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:27 PM
тАО07-18-2006 07:27 PM
Re: first process in hpux
The init daemon and command is a general process spawner. Its primary role is to create processes from a script stored in the file /etc/inittab.
ps -ef|more
UID PID PPID C STIME TTY TIME COMMAND
root 0 0 0 Jul 15 ? 0:17 swapper
root 1 0 0 Jul 15 ? 0:00 init
root 8 0 0 Jul 15 ? 0:00 ioconfigd
root 9 0 0 Jul 15 ? 0:25 nfsktcpd
root 10 0 0 Jul 15 ? 0:00 autofskd
root 11 0 0 Jul 15 ? 0:00 lvmkd
root 12 0 0 Jul 15 ? 0:00 lvmkd
reference:
http://en.wikipedia.org/wiki/Init
init man page:
http://docs.hp.com/en/B2355-60127/init.1M.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:48 PM
тАО07-18-2006 07:48 PM
Re: first process in hpux
swapper is the first process in hp-ux , and with PID= 0 .
UID PID PPID C STIME TTY TIME COMMAND
root 0 0 0 Jul 13 ? 0:14 swapper
--------------------------------------------
Init is the 2nd process with PID=1 . And vhand is the 3rd with PID=2 .
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:48 PM
тАО07-18-2006 07:48 PM
Re: first process in hpux
First process started by HPUX is "swapper" with pid 0 used as RAMDISK. Next process is "init" with pid 1, which is ancestor of all the process.
init process with pid-1 is common across all the unix like Linux/Solaris.
Regards,
Rajesh SB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2006 07:50 PM
тАО07-18-2006 07:50 PM
Re: first process in hpux
Also you can check this good document:
[ HP-UX Process Management: White Paper: ]
http://docs.hp.com/en/5965-4642/index.html
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2006 06:28 PM
тАО07-19-2006 06:28 PM