Subscribe to How-To Geek Mag-subscribe sa Paano-Upang Geek

Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Shut Down or Reboot a Solaris System Shut Down o Reboot isang Solaris System

Solaris is usually used as a server operating system. Solaris ay kadalasang ginagamit bilang isang sistema ng server operating. 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. Dahil dito, nais mong siguraduhin na sarhan ang sistema down na maganda hangga't maaari upang masiguro na walang anumang data pagkawala.

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. Para sa bawat application na na-install sa iyong server, dapat mong tiyakin na ikaw ay may tama ang script sa / etc / RC (x). D na maganda sarhan itumba ang serbisyo.

Shutdown Pagpipinid
You have more than one command option that you can use. Kayo ay may higit sa isang utos opsyon na magagamit mo. The best command is this, executed as root: Ang pinakamahusay na utos ay ito, naisakatuparan bilang root:

shutdown -y -i5 -g0 shutdown-y-i5-g0

This will immediately shut the system down. Ito ay agad na isinara ang sistema ng pababa. You can also use the older command that still works: Maaari mo ring gamitin ang mga mas lumang mga utos na iyon pa rin gumagana:

sync;sync;init 5 sync; sync; init 5

You can even use: Maaari mo ring gamitin:

poweroff poweroff

Reboot Reboot
If you are trying to reboot the system as opposed to turning it off, you could use: Kung kayo ay nagsisikap na reboot ang sistema bilang laban sa paggawa sa mga ito off, maaari mong gamitin:

shutdown -y -i6 -g0 shutdown-y-i6-g0

Or: O:

sync;sync;init 6 sync; sync; init 6

Or even: O kahit na:

reboot reboot

So many commands to do the same thing… almost seems silly. Kaya maraming mga utos para gawin ang mga parehong bagay ... halos parang gago.

This article was originally written on 12/13/06 Tagged with: Ang artikulong ito ay orihinal na isinulat sa 12/13/06 Tagged with: Solaris Solaris

Daily Email Updates Araw-araw na Updates Email

You can get our how-to articles in your inbox each day for free. Maaari kang makakuha ng aming kung-paano na mga artikulo sa iyong inbox sa bawat araw para sa libre. Just enter your name and email below: Ilagay lamang ang inyong pangalan at email sa ibaba:


Name: Pangalan:
Email: Email:

Comments (10) Comments (10)

  1. Steve Steve

    There are differences between shutdown, reboot, init 6. May mga pagkakaiba sa pagitan ng shutdown, reboot, init 6.

    Shutdown will issue a warning, and can be deferred. Shutdown ay isyu ng isang babala, at maaaring ipinagpaliban.

    init 6 calls application shutdown scripts. init 6 tawag application shutdown script. reboot does not. reboot ay hindi.

  2. The Geek Ang Geek

    Thanks for the tip… I had read somewhere that reboot calls the shutdown scripts, but I guess that was incorrect. Thanks for the tip ... I had read sa tabi-tabi na ang tawag sa reboot ang mga script shutdown, datapuwa't ako hulaan na iyon ay hindi tama.

  3. Ally Kapanig

    Does any one know how to get the shutdown/hibernate options to appear on the logoff screen for my version: developers solaris 10? Ang anumang isa malaman kung paano makakuha ng pagpipinid / hibernate opsyon na lumabas sa screen logoff para sa aking bersyon: developer Solaris 10?
    I just want to use it on my home PC as a desktop OS. Ako makatarungan magkulang sa gumamit ito sa aking bahay PC bilang isang desktop OS.

  4. Colin Colin

    The sync's you've added before init are totally superflous. Ang i-sync ang nagdagdag ka ng bago init ng lubos na superflous.
    “poweroff” only exists on the big SunFire systems. "Poweroff" lamang ang umiiral sa malaking sistema ng SunFire.

  5. olivier d olivier d

    avoir poweroff and reboot : as they don't call the /etc/…. avoir poweroff at reboot: bilang hindi sila tumawag sa / etc / .... scripts they should be avoided unless absolutely necessary. script na dapat sila na iwasan absolutely maliban na lamang kung kinakailangan.

    prefer “init _number_” (works on old and new versions) for solaris. Mas gusto "init _number_" (gawa sa luma at bagong bersyon) para sa Solaris.

    (note: on linux, prefer “telinit _number_” to go in that mode (ex: telinit 1 to go into single user mode) (tandaan: sa linux, ginusto "telinit _number_" upang pumunta sa mode na (ex: telinit 1 upang pumunta sa single user mode)

  6. Ihatebloatware Ihatebloatware

    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 Developers edisyon - ang CME desktop (ang lumang isa na hitsura ng isang bit ng isang Amstrad 286 GUI, lol) ay hindi tila sa may a button upang shutdown.

    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. Ang kde desktop - tingin ko ay ginamit ko ang mga command na linya (terminal, konsole) at nag-type lamang sa 'shutdown' - ito ay isang bit barumbado sanhi ng default na ang i-install ang mga bagay-bagay configures tulad ng DHCP at inaasahan ang mga makina na maging online sa lahat ng oras; minahan isn ' t, kaya kung minsan ang tumangging buo close. Sometimes it doesn't want to start either but it's usually ok and hasn't ever crashed. Minsan ito ay hindi na nais upang simulan ang alinman ngunit ito ay karaniwang ok at hindi kailanman crashed. I haven't looked at what I should disable / enable yet on the running services… Hindi ko pa tumingin sa kung ano ang dapat kong i-disable / enable pa sa pagpapatakbo ng mga serbisyo ng ...

    nb – Sun's manual and help pages for commands for mounting USB harddrives are wrong for Developer 10! NB - Sun's manual at tumulong sa mga pahina para sa mga utos para sa tumataas harddrives USB ay mali para sa mga Developer 10!

  7. Christian O Kristiyano O

    How do you create a shutdown script that would reboot the computer for every 30 minutes with the warning script? Paano mo gumawa ng isang shutdown ng script na reboot ang computer para sa bawat 30 minuto sa script ng babala?

  8. ayam ayam

    #!/bin/ksh #! / bin / ksh

    echo “please reboot this computer NOW” echo "paki-reboot ang computer NOW"
    #END SCRIPT # END script

    put that script in crontab and configure so it runs every 30 minutes ilagay na ang script sa crontab at i-configure kaya tumatakbo sa bawat 30 minuto

  9. ranga ranga

    i have a question .. ako ay may isang katanungan ..

    #shutdown -y -i5 -g0 # shutdown-y-i5-g0

    here g means gracefully and i means init 5 to shutdown g dito ay nangangahulugan na maganda at ako ay nangangahulugan init 5 sa pagpipinid

    what is -y ? kung ano-y? what it indicates? kung ano ito ay nagpapahiwatig?

  10. JoeSchmoe JoeSchmoe

    the '-y' means 'yes, i really mean to do this' ang '-y' ay nangangahulugan na ang 'oo, ako tunay na ibig sabihin nito na gawin ito'


Leave a Comment Iwanan ng isang Puna




Leave your Iwanan ang iyong mga friendly friendly comment here. puna dito.

If you have a computer help question, Kung ikaw ay may isang computer ng tulong tanong, click here to leave it on the forums i-click dito upang mag-iwan ito sa forums instead. sa halip ng.

Note: Your comment may not show up immediately on the site. Tandaan: Ang iyong puna ay maaaring hindi magpapakita agad sa site.

Our Friends Ang aming mga Friends
Getting Started Pagsisimula


About How-To Geek Tungkol sa Paano-Upang Geek
What Is That Process? Ano ba ang Proseso Iyon?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
mDNSResponder.exe mDNSResponder.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.