Operating System - HP-UX
1751898 Members
5079 Online
108783 Solutions
New Discussion юеВ

Re: will set_parms date reboot my system ?

 
SOLVED
Go to solution
prasadb
Super Advisor

will set_parms date reboot my system ?

i want to change my system date i could search this commadnd set_parms date, but i wonder to know whether it will reboot the system ?

is there any way to know which command reboots the system and which does not ?

thanx in advance
5 REPLIES 5
Jeeshan
Honored Contributor

Re: will set_parms date reboot my system ?

Hi

The change will take effect after rebooting the system, if you wanna change with set_parms.

#man set_parms
a warrior never quits
Dennis Handly
Acclaimed Contributor
Solution

Re: will set_parms date reboot my system ?

Oops pasted in wrong place.

If you want to change your system date, you use the date(1) command. set_parms(1M) date_time says:
The change takes effect immediately.

>is there any way to know which command reboots the system and which does not?

set_parms(1M) mentions which needs rebooting.
Generally only swinstall(1m), shutdown(1m) and reboot(1m) does.
prasadb
Super Advisor

Re: will set_parms date reboot my system ?

Ahsan says > The change will take effect after rebooting the system, if you wanna change with set_parms

Dennis says > The change takes effect immediately.

so the conclusion ?
Dennis Handly
Acclaimed Contributor

Re: will set_parms date reboot my system ?

>so the conclusion?

You obviously believe what set_parms(1M) says. But better yet, you use date(1).
http://docs.hp.com/en/B2355-60130/set_parms.1M.html

Some of the set_parms(1M) parms do require a reboot.
prasadb
Super Advisor

Re: will set_parms date reboot my system ?

many many thanks