Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, I've been looking for how to adjust the shutdown time in these pages, and so far have not found what I'm looking for. I also downloaded the basic and advanced Sys Admin User's Guide for Solaris Express. Still, I cannot find anything to explanin how to do this. If someone could please tell me how to change the shutdown time so that when I click the menus, the system will shutdown quickly.
This is a home brew box w/4GB ram, 120GB seagate, 512MB ATI graphics, AMD Athlon 64 X2, running OpenSolaris 2008.11. I'm a unix noobie. Thanks.
I think that the OP talks about the 60 seconds that you must wait until the shutdown starts once you press the Shutdown button. I guess this can be adjusted from the gnome configuration.
Another way to start shutdown immediately is:
Thanks to all who answered. I would just like to have a Solaris installation where everything worked correctly so I could then proceed to learn it -- maybe with one of those "Teach Yourself System Adminstration in 24 Decades" books.
To jlliagre: It takes it about 1.25 min. After I click the System menu, then Shutdown, then Shutdown again, it waits 60 seconds. If the shutdown script is checking to see if services are running that need to be stopped or something like that, then I can learn to live with it. But if those 60 seconds are not needed, I would like to change the shutdown and reboot options to kick into action more quickly. If I need to dismount drives or something like that, I can do that if the shutdown script is doing that. I like the shutdown button in Linux Mint. If you have something mounted like a USB drive, it won't let you shutdown/reboot until you umount it. But it won't tell you that, you just have to know.
To kebabbert:
I knew about the reboot command, but not the poweroff. Thanks.
To bathory:
I wasn't sure if using the init 5 command like that was a safe way to shutdown (since there is a shutdown script that is attached to the gnome menu), so I didn't try it. But you mentioned that the gnome program can be configured to one's liking regarding this. Do you know how? Sorry, I'm a newbie. I sometimes don't even know how to look up what I'm looking for (because if you don't know the technical language, you can't ask for what you need).
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,788
Rep:
"init 5" takes some time to proceed for a reason. It close all services in an ordered and graceful way.
poweroff is obviously quicker but it kills all applications without letting them much chance to close their stuff properly. Although the risk is pretty low, I almost never shutdown Solaris that way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.