Operating System - HP-UX
1834394 Members
2982 Online
110066 Solutions
New Discussion

Re: timezone in nettl.LOG000

 
YLTan
Frequent Advisor

timezone in nettl.LOG000

Does anyone know how to switch off the checking of TZ when netfmt command is use to view nettl.LOG000 beside exporting TZ variable.

The file nettl.LOG000 is set to MST7MDT but I need SST-8 timezone.
tyl
9 REPLIES 9
T G Manikandan
Honored Contributor

Re: timezone in nettl.LOG000

But are you now using SST-8 timezone.
If that is the case stop and start nettl.

/etc/nettl -stop
/etc/nettl -start

This should make things OK
Bill McNAMARA_1
Honored Contributor

Re: timezone in nettl.LOG000

did you try the nettladm gui?
It works for me (tm)
YLTan
Frequent Advisor

Re: timezone in nettl.LOG000

I tried stop and start nettl but I kept getting the following message each time I do this command

#netfmt -t 1 nettl.LOG000

netfmt (169) Warning: The input file was created in a timezone that
is different from the present timezone. You may want to
adjust the environment variable TZ while formatting this file.
TZ found in trace/log file header: MST7MDT
TZ of this process: SST-8
tyl
YLTan
Frequent Advisor

Re: timezone in nettl.LOG000

nettladm gui don't have the option to chg Timezone
tyl
T G Manikandan
Honored Contributor

Re: timezone in nettl.LOG000

What is $TZ?

What is the timezone inside /etc/TIMEZONE.


REvert
YLTan
Frequent Advisor

Re: timezone in nettl.LOG000

my content of /etc/TIMEZONE is

TZ=SST-8
export TZ
tyl
T G Manikandan
Honored Contributor

Re: timezone in nettl.LOG000

What is the local user variable set as

#echo $TZ

If that is different change that to

#TZ=SST-8
#export TZ
#/etc/nettl -stop
#/etc/nettl -start

REvert
YLTan
Frequent Advisor

Re: timezone in nettl.LOG000


my env variable TZ is set to SST-8

i did a start and stop for nettl, it is still the same message appearing
tyl
YLTan
Frequent Advisor

Re: timezone in nettl.LOG000


I just found out how to rid the warning. Stop nettl, zero the nettl.LOG000 then start nettl. It will take the env TZ and put it in the nettl.LOG000 file.

thanks to those who try to help...;)
tyl