- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Simple question about shutdown-scripts
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
Forums
Discussions
Discussions
Discussions
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
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
12-08-2004 09:44 PM
12-08-2004 09:44 PM
I have a simple question about the shutdownscripts in /sbin/rc?.d:
I know, that startup scripts (S999*) will be executed in ascending order.
Now the question is: how is the sequence, when shutting down? Is it ascending, too (e.g. K100xx runs before K200xx), or is it inverse?
Thanks for all help
Best Regards
Daniel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 09:48 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 09:49 PM
12-08-2004 09:49 PM
Re: Simple question about shutdown-scripts
I use KXXX + SXXX = 1000
example
/sbin/rc3.d/S900Oracle
/sbin/rc2.d/K100Oracle
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 09:51 PM
12-08-2004 09:51 PM
Re: Simple question about shutdown-scripts
I wanted to tell you that you can check the order by looking at /etc/rc.log.old, at the end when it shuts down...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2004 09:58 PM
12-08-2004 09:58 PM
Re: Simple question about shutdown-scripts
Have a nice Day
Best regards
Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2004 01:58 AM
12-09-2004 01:58 AM
Re: Simple question about shutdown-scripts
In the case of HP-UX it seems that the collating of the ls command determines the order (ls obeys LC_COLLATE, or LANG)
Have a look at the script /sbin/rc
There's a simple ls command to gather Kill or Start scripts.
So order can be seen from e.g.
ls -1 /sbin/rc2.d/K*