How to configure time zone using POSIX format in Centos 5?
I was in process of developing a new script to configure a time zone. After some study I got the unix utility /usr/bin/tzselect to get the user inputs. Now I am able to configure the time zone depending on the user inputs except for the POSIX format.
This utility /usr/bin/tzselect provide an option to give a POSIX time format. Suppose if a user provide the posix format as GMT-14 then how do I configure the time zone? I am using Centos 5.
I have a file named "suspected" with series of line like these :
{'protocol': 17, 'service': 'BitTorrent KRPC', 'server': '219.78.120.166', 'client_port': 52044, 'client': '10.64.68.44', 'server_port': 8291, 'time': 1226506312L, 'serverhostname': ''}
{'protocol': 17, 'service': 'BitTorrent... (3 Replies)
Hi, how do I set the DNS in centos.
I don't mean of creating DNS server, but setting what should be the DNS server of centos.
I mean to what server he should go in order to translate url into ip (6 Replies)
Please Give me Step by step Instruction Or Video Tutorial For installing and configuring Jira And Confulence in Centos 5.5 , What are the Requirements For Installing and Configuring , wht are the Softwares need for it to work perfectly ... pls reply thanks in advance ....
:wall: (1 Reply)
hi everybody,
iam using 32 bit centos 6.2 on my machine. i have purchase TP-LINK, TL-WN727N wireless usb, but i was not able to install on my desktop. i was not able to find drivers for centos 6.2 official site of TPLINK.
$ uname -a
Linux workstation 2.6.32-220.el6.i686 #1 SMP Tue Dec 6... (0 Replies)
Hi everyone,
how i can configure a single audit service in the global zone for all zones, on solaris BSM.
I will be glad to hear back from you.
Thanks and Regards (3 Replies)
I have a cluster of two Solaris server (veritas cluster). one working and the other is standby
I am going to change the date on them , and am looking for a secure solution as it is giving an important service.
my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
can some one help me out as it is showing 2 different time zones in global zone and nonglobal zone .In global zone it is showing in GMT while in nonglobal zone i it showing as PDT.
System in running with solaris 10 (3 Replies)
Hi guys thanks for the help for my previous posts.Now i have a requirement that i download a XMl file which has UTC time stamp.I need to convert UTC time into Unix server timezone.
For ex if the time zone of unix server is CDT then i need to convert into CDT.whatever may be the system time... (5 Replies)
HI Forum,
i was trying to configure ipv6 on my centos box with 2 physical interface bonded as bond0.
what all things need to change?
Regards,
Ben (0 Replies)
Hi,
I have a Solaris 10 zone which I need to configure on a new network. I have configured the new IP on the zone itself and I can ping the interface from a node on the same network, but not from another network. Basically I need to know how to route the traffic from the zone to it's... (3 Replies)
Discussion started by: sparcman
3 Replies
LEARN ABOUT OPENSOLARIS
tzselect
tzselect(1M) System Administration Commands tzselect(1M)NAME
tzselect - select a time zone
SYNOPSIS
/usr/bin/tzselect
DESCRIPTION
The tzselect program asks you a series of questions about the current location and outputs the resulting time zone description to standard
output. The output is suitable as a value for the TZ environment variable.
All user interaction is through standard input and standard error.
OPTIONS
The tzselect command has no options.
EXIT STATUS
The following exit values are returned:
0 Timezone information was successfully obtained.
>0 An error occurred.
FILES
/usr/share/lib/zoneinfo directory containing timezone data files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO zdump(1M), zic(1M), ctime(3C), attributes(5)SunOS 5.11 6 Sep 2001 tzselect(1M)