Operating System - HP-UX
1832504 Members
4651 Online
110043 Solutions
New Discussion

Startup .. processes, where are located?

 
SOLVED
Go to solution
Manuales
Super Advisor

Startup .. processes, where are located?

Hi ...
sorry, where are procceses located in the startup?
what is the path in hp-ux 11.11 ?

Thanks, Manuales.
6 REPLIES 6
Torsten.
Acclaimed Contributor
Solution

Re: Startup .. processes, where are located?

You will find the common config files here:

/etc/rc.config.d

and the binaries (links) here:

/sbin/init.d

the links listed are linked to the real binaries located in the different "run level directories", like /etc/rc1.d (for run level 1, and so on).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: Startup .. processes, where are located?

Hi Manuales:

You should read this document. It's not very long (only about a dozen pages) and it will answer all of your questions:

http://docs.hp.com/en/934/startup.pdf

Regards!

...JRF...
DCE
Honored Contributor

Re: Startup .. processes, where are located?



Start up scripts are located in three spots

/sbin/init.d has the actual scripts

/sbin/rcX.d contains the links dictating at what level the script either stops or starts

/etc/rc.config.d contains a flag that is referenced that allows/disallows the script to run.


Geoff Wild
Honored Contributor

Re: Startup .. processes, where are located?

In /etc/rc.config.d are file that set whether an app starts or not, like samba.

Startup scripts are in /sbin/init.d

In order to start at boot, a link has to be made from /sbin/rcX.d to the /sbin/init.d/script (where X is the runlevel - ie 3).

Some pid's of running proccesses are in /var/run some in /var/opt/APP/locks/ some in /etc...

IE, samba's is in /var/opt/samba/locks/smbd.pid and syslog is /etc/syslog.pid



Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Manuales
Super Advisor

Re: Startup .. processes, where are located?

Thanks my friends !!!

Manuales.
Manuales
Super Advisor

Re: Startup .. processes, where are located?

Hi James R. Ferguson
Really, really for this link, is very easy to understand this topic with this kind of files .. really thanks for share it with all of us

http://docs.hp.com/en/934/startup.pdf

Thanks !! :0D
Manuales