Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HP UX 11

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am new to HP-UX. With the time change from DST to EST a week or so ago. I need to change the clock on the system. Can someone please help me with this? Can I do it immediately or must wait for off hours?

TIA
 
have a look at the date manpage -- there's an option to make the clock run fast or slow so that you can adjust it while the system's up.

there's a way to do this automatically, but i've never bothered to be honest.......
Mike
michael.j.lacey@ntlworld.com
 
Some system-specific information can be changed after your system boots by running /sbin/set_parms. This is used to set an individual system parameter or all of the system parameters that would be set at boot time. /sbin/set_parms takes any of several arguments, depending on what you would like to configure (or re-configure):

hostname -- set / change hostname.
date_time -- set / change date and time.
timezone -- set / change time zone.
root_passwd -- set / change the root password.
ip_address -- set / change IP (Inernet Protocol) address.
addl_network -- set / change networking configuration (i.e., configure subnet mask, domain name service [DNS], network information service [NIS]).
initial -- this takes you through the entire Q&A session you would go through at system boot time.

In your case, you would run the command with the "date_time" argument: /sbin/set_parms date_time. Fill in the blanks and select OK to accept your changes.

p.s. You might have to set your display (e.g., export DISPAY=your_IP_address:0.0) if you prefer the GUI; otherwise, you get the command line interface.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top