Re: changing the timezone on a live system



"Richard B. Gilbert" <rgilbert88@xxxxxxxxxxx> writes:

The timezone is set in the TZ environment variable for each process. As
far as I know, there is no way to reset those environment variables
without stopping and restarting every process.

One possible trick is to set $TZ to "localtime" and use "zic -l".

You may be able to solve your problem by stopping and restarting a few
processes where the timezone really matters.

That is the only possible solution.

Casper
.



Relevant Pages

  • Re: changing the timezone on a live system
    ... Anything I could possibly force through mdb etc.. ... there is no way to reset those environment variables without stopping and restarting every process. ... You may be able to solve your problem by stopping and restarting a few processes where the timezone really matters. ...
    (comp.unix.solaris)
  • Re: Bulldog UPS
    ... This appears to reset ... the USB device by shutting down the current device, and restarting it on a ...
    (alt.os.linux.suse)
  • Re: Restarting for no apparent reason
    ... the reset button was pressed. ... restarting, and no blue screen ever appears. ... appear to be totally random. ... Mine did exactly the same when a CPU fan intermittently failed. ...
    (microsoft.public.win2000.general)
  • Re: cant upgrade to 2005 sp1
    ... I don't see DIRCMD defined in my environment variables. ... had it running for 24 hours before I reset the computer. ... string value = C:\Program Files\Common Files ...
    (microsoft.public.sqlserver.setup)
  • Re: [opensuse] dhcpd changes address on a static IP nic
    ... Somehow dhcpd tried to update the IP of a nic that had a static IP address. ... After restarting the nic/network to reset the IP correctly I noticed the ...
    (SuSE)