Operating System - Tru64 Unix
1748151 Members
3815 Online
108758 Solutions
New Discussion юеВ

command to restart tru64

 
Fahad Imran Butt
Occasional Contributor

command to restart tru64

By which command we can restart our Tru64 Unix based System?
6 REPLIES 6
Venkatesh BL
Honored Contributor

Re: command to restart tru64

shutdown -r now
Victor Semaska_3
Esteemed Contributor

Re: command to restart tru64

Fahad,

You can use the -r option but be aware that if you're running v4.0x of Tru64 that none of the shutdown scripts will be executed. From the shutdown man page:

Note that the -h and -r flags use a broadcast kill signal and not the run level transition scripts. To use the run level transition scripts, execute the shutdown command without the -h or -r flag. This will bring the system down to single user mode. From single user mode, execute shutdown with the -h or -r flag. Alternatively, you can execute init 0 which will bring the system from level 3 to the console prompt.

If you're running Tru64 V5.x then add the -s option: # shutdown -rs now

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.
Ravi_8
Honored Contributor

Re: command to restart tru64


#reboot

also does
never give up
Rodney Hills
Honored Contributor

Re: command to restart tru64

"reboot" does not run the shutdown scripts for associated subsystems. Therefore it shouldn't be run directly by the user.

-- Rod Hills
There be dragons...
Hein van den Heuvel
Honored Contributor

Re: command to restart tru64

I have used shutdown -r now a lot. Too often.

More than once I wished I had given myself a minute or two. And at times I wished my collegeas (and even myself) had told me why it came down.

So I try to be a good boy and use both a modest delay time, and a message if there is any chance anyone else is on the system. Example:

shutdown -r +5 testing new disk array

[those reboots are not for production systems. Just lab testing]

Hein.



Victor Semaska_3
Esteemed Contributor

Re: command to restart tru64

Hein,

I know what you mean about giving yourself a minute or two. I hate that sinking feeling I get right after pressing at the end of the 'shutdown' command and then realize your on the wrong system!

Vic
There are 10 kinds of people, one that understands binary and one that doesn't.