ZDUMP(1) General Commands Manual ZDUMP(1)NAME
zdump - time zone dumper
SYNOPSIS
zdump [ -v ] [ -c cutoffyear ] [ zonename ... ]
DESCRIPTION
Zdump prints the current time in each zonename named on the command line.
These options are available:
-v For each zonename on the command line, print the time at the lowest possible time value, the time one day after the lowest possible
time value, the times both one second before and exactly at each detected time discontinuity, the time at one day less than the
highest possible time value, and the time at the highest possible time value, Each line ends with isdst=1 if the given time is Day-
light Saving Time or isdst=0 otherwise. zonename should be the relative path file name from /usr/share/zoneinfo/ which directory
contains all zone data.
-c cutoffyear
Cut off the verbose output near the start of the given year.
SEE ALSO ctime(3), zic(8)ZDUMP(1)
Check Out this Related Man Page
zdump(1M) System Administration Commands zdump(1M)NAME
zdump - time zone dumper
SYNOPSIS
zdump [--version] [-v] [-c [loyear,]hiyear] [zonename]...
DESCRIPTION
The zdump command prints the current time for each time zone (zonename) listed on the command line. Specify zonename as the name of the
time zone database file relative to /usr/share/lib/zoneinfo.
Specifying an invalid time zone (zonename) to zdump does not return an error, rather zdump uses GMTO. This is consistent with the behavior
of the library calls; zdump reflects the same behavior of the time routines in libc. See ctime(3C) and mktime(3C).
OPTIONS
The following options are supported:
--version Outputs version information and exits.
-v Displays the entire contents of the time zone database file for zonename. Prints the time at the lowest possible time
value; the time one day after the lowest possible time value; the times both one second before and exactly at each
time at which the rules for computing local time change; the time at the highest possible time value; and the time at
one day less than the highest possible time value. See mktime(3C) and ctime(3C) for information regarding time value
(time_t). Each line of output ends with isdst=1 if the given time is Daylight Saving Time, or isdst=0 otherwise.
-c [loyear],hiyear Cuts off the verbose output near the start of the given year(s) . By default, the program cuts off verbose output
near the start of the years -500 and 2500.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
FILES
/usr/share/lib/zoneinfo Standard zone information directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO zic(1M), ctime(3C), mktime(3C), attributes(5), environ(5)SunOS 5.11 3 Jan 2006 zdump(1M)
I have a need to calculate when British Summer Time starts and ends. After messing around, the following seems to work in Bash.
echo `date +%Y`-03-`cal 3 \`date +%Y\` | grep -oE "^]{2}" | tail
-1`T01:00:00Zand
echo `date +%Y`-03-`cal 10 \`date +%Y\` | grep -oE "^]{2}" | tail ... (10 Replies)
Hello all,
I find it hard to explain what I need so I will post the code
OVZINCLUDE="16810 16811 1689"
PLUS_16810="test"
PLUS_16811="test"
for VPS in $OVZINCLUDE
do
echo "Dumping VPSes: $OVZINCLUDE "
vzdump --compress --snapshot ${PLUS_$VPS} $VPS
done
... (2 Replies)
Hello all,
I hope someone can help me.
We have Compaq Tru64 UNIX V5.1B (Rev. 2650).
By latest Belarus government act Europe/Minsk timezone was changed to
GMT+3 without DST (was GMT+2 with DST).
Please advice how to do changes on our machine.
Thank You in advance,
md1982 (15 Replies)
Hello all,
I have the following code that seems to be misbehaving depending on the timezone setting (TZ Environment variable). It gives the correct value when TZ is in POSIX format and the wrong value when in OLSON format.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include... (6 Replies)
Dear Solaris 10 Experts,
I need to carry out a manual backup of all zpool/zfs filesystems on a Solaris 10 x86 server in order to port it onto VM Ware hardware but don't know how
to do it. Past exercises have been smooth using ufsdump & ufsrestore for small standalone servers. Below are the zfs... (22 Replies)
Hello, i created .tgz backups of my vms using vzdump.
I accidentally deleted vms, its files just disappeared i dont know how.
So what i did is that i restored backups by vzdump, but result is that i can SSH into a VM etc, i can also use their IP to access control panel on VPS, BUT, domains not... (0 Replies)
Hello,
I like to set the CDT timezone, but it shows CST still even after I activated the DayLight Time
cat /etc/environment | grep TZ
TZ=CST6CDT
Now looking at date:
root@test8:/>date
Tue Dec 20 05:34:45 CST 2016
How can I make it from CST to CDT ?
thanks (5 Replies)
So as I write this today is two days after the clocks go back here in the UK. I have a script that worked last week. Yesterday it developed a bug. I eventually found the culprit is Gnu Date.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS... (10 Replies)