Shut Down or Reboot a Solaris System Shut Down ali odmevajoč sistem Solaris
Solaris is usually used as a server operating system. Solaris se običajno uporablja kot operacijski sistem za strežnike. Because of this, you want to make sure that you shut the system down as gracefully as possible to ensure there isn't any data loss. Zaradi tega, ki ga želite poskrbite, da vam zapre sistema za elegantno, kot je mogoče, da se zagotovi ne obstaja nobena taka izgubo podatkov.
For every application that is installed on your server, you should make sure that you have the correct scripts in /etc/rc(x).d to gracefully shut down the service. Za vsako vlogo, ki je nameščen na strežniku, se morate prepričati, da ste pravilno skripte v / etc / rc (x). D se elegantno zapreti storitev.
Shutdown Shutdown
You have more than one command option that you can use. Imate več kot en ukaz možnost, da jih lahko uporabljate. The best command is this, executed as root: Najboljši je ta ukaz, izvršene kot root:
shutdown -y -i5 -g0 shutdown-y-I5-G0
This will immediately shut the system down. To bo takoj zapreti sistem navzdol. You can also use the older command that still works: Uporabite lahko tudi ukaz, da starejši še vedno dela:
sync;sync;init 5 Sinhronizacija, Sinhronizacija, init 5
You can even use: Lahko celo uporabite:
poweroff PowerOff
Reboot Ponovni zagon
If you are trying to reboot the system as opposed to turning it off, you could use: Če poskušate zagnati sistem v nasprotju z obračanjem to ne sveže, lahko uporabite:
shutdown -y -i6 -g0 shutdown-y-i6-G0
Or: Ali:
sync;sync;init 6 Sinhronizacija, Sinhronizacija, init 6
Or even: Ali celo:
reboot reboot
So many commands to do the same thing… almost seems silly. Toliko ukazov, da storijo enako stvar ... skoraj se zdi neumno.

Daily Email Updates Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



There are differences between shutdown, reboot, init 6. Obstajajo razlike med ustavitev dela ali obratovanja, odmevajoč, init 6.
Shutdown will issue a warning, and can be deferred. Shutdown bo izdala opozorilo, in mogoče odložiti.
init 6 calls application shutdown scripts. init 6 zahteva izvajanje skriptov zaustavitve. reboot does not. reboot ne.
Thanks for the tip… I had read somewhere that reboot calls the shutdown scripts, but I guess that was incorrect. Hvala za nasvet ... sem nekje prebral, da zahteva reboot shutdown skripte, vendar mislim, da je bila napačna.
Does any one know how to get the shutdown/hibernate options to appear on the logoff screen for my version: developers solaris 10? Ali kateri koli od vedeti, kako priti shutdown / hibernate možnosti, da se nahajajo na zaslonu odjavo za svoj prevod: razvijalcem, Solaris 10?
I just want to use it on my home PC as a desktop OS. Rad bi le uporabljati na svoj dom PC kot namizni OS.
The sync's you've added before init are totally superflous. Sinhronizacijo's ki ste jih dodali pred init popolnoma superflous.
“poweroff” only exists on the big SunFire systems. "PowerOff" obstaja samo v velikih sistemih SunFire.
avoir poweroff and reboot : as they don't call the /etc/…. avoir PowerOff in odmevajoč: saj ne klicem / etc / .... scripts they should be avoided unless absolutely necessary. scenarijev bi jih bilo treba izogibati, razen če je to nujno potrebno.
prefer “init _number_” (works on old and new versions) for solaris. raje "init _number_" (dela na starih in novih različic) za Solaris.
(note: on linux, prefer “telinit _number_” to go in that mode (ex: telinit 1 to go into single user mode) (opomba: na linux, raje "telinit _number_", da bi šel v ta način (ex: telinit 1 iti v enemu uporabniku mode)
Solaris 10 Developers edition – the CME desktop (the old one that looks a bit like an Amstrad 286 GUI, lol) doesn't seem to have a button to shutdown. Solaris 10 Razvijalci izdaja - namizje CME (starega, da izgleda nekaj podobnega AMSTRAD 286 GUI, lol), se ne zdi, da je gumb za zaustavitev.
The KDE desktop – I think I used the command line (terminal, konsole) and just typed in 'shutdown' – it's a bit temperamental cause the default install configures things like DHCP and expects the machine to be online all the time; mine isn't, so sometimes it refuses to entirely close. KDE - Mislim, da sem uporabil ukazno vrstico (terminal, Konsole) in le vnesli v 'ustavitev dela ali obratovanja "- to je malce temperamentna vzrok privzeto namestitev konfigurira stvari, kot so DHCP, in pričakuje, da bo stroj, ki se ves čas na spletu, rudnik mar t, tako da včasih noče povsem blizu. Sometimes it doesn't want to start either but it's usually ok and hasn't ever crashed. Včasih se ne želi začeti bodisi vendar je ponavadi ok, in ni nikoli padla. I haven't looked at what I should disable / enable yet on the running services… Nisem pogledal, kaj je treba onemogočiti / omogočili še na tekmovanje v teku storitev ...
nb – Sun's manual and help pages for commands for mounting USB harddrives are wrong for Developer 10! nb - Sun so ročni in strani za pomoč za ukaze za vgradnjo USB harddrives narobe za razvijalce 10!
How do you create a shutdown script that would reboot the computer for every 30 minutes with the warning script? Kako ustvariti shutdown skript, ki bi ponovno zagnati računalnik za vsakih 30 minut, z opozorilom scenarij?
#!/bin/ksh #! / bin / ksh
echo “please reboot this computer NOW” echo "prosim odmevajoč tega računalnika ZDAJ"
#END SCRIPT # END SCRIPT
put that script in crontab and configure so it runs every 30 minutes dal, da je skript v crontab in nastaviti tako, da vozi vsakih 30 minut
i have a question .. imam vprašanje ..
#shutdown -y -i5 -g0 # shutdown-y-I5-G0
here g means gracefully and i means init 5 to shutdown Tukaj g pomeni elegantno in i sredstva init 5. do zaustavitve
what is -y ? kaj je-y? what it indicates? kaj to pomeni?
the '-y' means 'yes, i really mean to do this' "-y" pomeni "ja, jaz pošteno pomeni, da to stori"