16.11.2014 Views

solaris-tips-for-linux-users

solaris-tips-for-linux-users

solaris-tips-for-linux-users

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LinuxとSolarisのコマンド 比 較 (1)<br />

• 覚 えておきたいOS 起 動 / 停 止 のコマンド<br />

基 本 操 作 Red Hat Enterprise Linux Oracle Solaris<br />

OS 起 動 GRUBのメニューから 起 動 。 OBP(Open Boot PROM) 環 境 から 起 動<br />

コマンドを 実 行 。<br />

{0} ok boot<br />

シングルユーザモー<br />

ドで 起 動<br />

OS 停 止<br />

OS 再 起 動<br />

その 他 の 実 行 例<br />

GRUBコマンドでランレベル 指 定 。<br />

kernel /vmlinuz-... root=... 1<br />

shutdownコマンドを 実 行 。 停 止 オプ<br />

ション(-h) 指 定 。<br />

# shutdown -h now<br />

shutdownコマンドを 実 行 。 再 起 動 オプ<br />

ション(-r)を 指 定 。<br />

# shutdown -r now<br />

・10 時 に 停 止<br />

# shutdown -h 10:00<br />

・5 分 後 に 停 止<br />

# shutdown -h +5<br />

詳 細 は 「LinuxユーザのためのOracle Solarisコマンド 実 例 集 」を 参 照 。<br />

OBP(Open Boot PROM) 環 境 からシン<br />

グルユーザモードで 起 動 。<br />

{0} ok boot -s<br />

shutdownコマンドを 実 行 。 停 止 オプショ<br />

ン(-i5)を 指 定 。<br />

# shutdown -y -g0 -i5<br />

shutdownコマンドを 実 行 。 再 起 動 オプ<br />

ション(-i6)を 指 定 。<br />

# shutdown -y -g0 -i6<br />

・ネットワーク 経 由 で 起 動<br />

{0} ok boot net:dhcp<br />

・30 秒 後 に 再 起 動<br />

# shutdown -y -g30 -i6<br />

10<br />

Copyright 2014 FUJITSU LIMITED

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!