cancel
Showing results for 
Search instead for 
Did you mean: 

BOOT SEQUENCE

sreeIN
Occasional Contributor

BOOT SEQUENCE

can anybody explain what is swapper process(PROCESS 0) in the boot sequence of HP UX
5 REPLIES
ani007
Super Advisor

Re: BOOT SEQUENCE

Hi,
The swapper process is part of the kernel.It should have PID 0 and is in charge of scheduling processes. Please find the URL (boot sequence)

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1274843768268+28353475&threadId=1359863.
ani007
Super Advisor

Re: BOOT SEQUENCE

Kranti Mahmud
Honored Contributor

Re: BOOT SEQUENCE

Hi sreeIN,

BOOT SEQUENCE of HPUX:

Boot Sequence:
1. Poweron.
2. PDC Activates and checks for cpu and memory and other peripheral connected to it.
3. Checks if AUTOBOOT Flag is on. If yes , its try to locate the Primary boot path, and loads Initial system loader , from Primary boot path.
4. ISL Loads the secondery loader called hp-ux.
5. hpux loads the kernel /stand/vmunix
6. kernel starts first process swapper , and then init
7. Shell /sbin/pre_init_rc executes
8. init locates /etc/inittab
9. /etc/inittab starts the system the default run level , mentioned with "initdefault" parameter.
10. Then executes /sbin/bcheckrc and activates LVM ,

It does following:

1. activates LVM (if appplicable).
2. runs eisa_config in automatic mode
3. checks the file systems before mounting
4. checking reside in /sbin/fs//bcheckrc)
5. mounting any file systems.
6. It checks for the file /sbin/lvmrc and , /etc/lvmrc activates the LVM , if AUTO_VG_ACTIVATE=1 mentioned.
7. Then it spawns getty process , cons:123456:respawn:/usr/sbin/getty console console and it gives login : prompt...


Rgds-Kranti

Dont look BACK as U will miss something INFRONT!
sreeIN
Occasional Contributor

Re: BOOT SEQUENCE

can u detail what actually swapper process does...............
Laurent Menase
Honored Contributor

Re: BOOT SEQUENCE

swapper is there to schedule tidy kernel memory, page out process when system is short in memory,...