Unix Startup and Shutdown

Startup

- Power up the machine

- Login as 'root'

- Unix > mount sid01:/usr/sap/trans/usr/sap/trans

- Unix > mount (to check NFS mount is OK)

- Unix > df -k (as above)

Shutdown

- Login as 'root'

- Unix > ps -ef | more

- Unix > sync

- Unix > init 0

- Power down the machine


What is the command used to find whether the system is up or down?

$ ps -ef | grep dw

If you get an output of dw the system is up.

What you can also do is:

$ cdD
$ cd work
$ grep RUNNING dev_disp

or just run

$ top -s 1

No comments:

topics