cancel
Showing results for 
Search instead for 
Did you mean: 

Edit File inittab

Eli Daniel
Super Advisor

Edit File inittab

Hi,
I need edit file inittab and add line the command start agent tivoli (dsmcad)

I dont understand the options in the inittab (man innitab) how can add line? What parameter use??

The directory run agent is:
/opt/tivoli/tsm/client/ba/bin/dsmcad

2 REPLIES
Kenan Erdey
Honored Contributor

Re: Edit File inittab

Hi,

you can add this entry. this runs in run level3. and doesn't wait for it. if you want this process run always, if you want it respawn if someone kills it, change once with respawn.

dsmcad:3:once:/opt/tivoli/tsm/client/ba/bin/dsmcad
Computers have lots of memory but no imagination
Manix
Honored Contributor

Re: Edit File inittab

Look what Clay said !!

http://h30499.www3.hp.com/t5/System-Administration/running-a-script-from-inittab/m-p/3891694#M281610


The only thing that may not be clear is that the action field should be "respawn". Each time your process terminates (ie the sleep ends) it will terminate and init will automatically restart the process. Make sure that all needed environment variables such as PATH are explicitly set in the script itself because the environment will be very sparse.
Once you edit inittab and add your entry; issue and "init q" command so that init will reread inittab and process your new entry.

Thanks
Manix

HP-UX been always lovable - Mani Kalra