how to add a script, that execute at start time
Answers were Sorted based on User's Feedback
Answer / venugopal adep
We can add the script in rc scripts to start the script at
the time boot or stop the scripts at the time of
shutdown/reboot.
RC scripts are located in /etc/rcX.d/ where X is the run-
level.
If the RC scripts start with 'S' (start script) or 'K'
(kill/stop script)
| Is This Answer Correct ? | 3 Yes | 0 No |
what is the diff between ufslog and vxfslog?
How will see the kernel version
What is a heart-beat?
How to bring the Disk into diskgroup on veritas.
How to set passwd never expire for a user
Tell me some of the differences between Solaris and Sun OS?
how many run level in solaris?
What are the packages for DNS?
How to check and analyze the logs in /var/adm/messages?
Hello Everyone, One of our servers is showing a strange issue, let me paste the output Code: root # uptime 4:37pm 3 users, load average: 0.00, 0.04, 0.04 Its been running since months but you can see after time there isn't any output like up 191 days(s). Even the who command with b and r option isn't giving any output. Code: root # who -b root # root # who -r root # the date command displays correct output. I am not sure but is it because someone has played with utmpx and wtmpx files, is reboot the only solution we have. Can anyone help us since we don't intend to reboot the server for such a reason and also no one has complained till yet.
what are the common errors you find in Solaris Volume manager?
Explain about init phases