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(8) BSD System Manager's Manual ZDUMP(8)NAME
zdump -- time zone dumper
SYNOPSIS
zdump [--version] [-v] [-c [loyear,]highyear] [zonename ...]
DESCRIPTION
zdump prints the current time in each zonename named on the command line.
These options are available:
--version Output version information and exit.
-v For each zonename on the command line, print the time at the lowest possible time value, the time one day after the lowest possi-
ble 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 Daylight Saving Time or
isdst=0
otherwise.
-c [loyear,]highyear
Cut off the verbose output near the start of the given year(s). By default, the program cuts off verbose output near the starts
of the years -500 and 2500.
LIMITATIONS
The -v option may not be used on systems with floating-point time_t values that are neither float nor double.
Time discontinuities are found by sampling the results returned by localtime at twelve-hour intervals. This works in all real-world cases;
one can construct artificial time zones for which this fails.
SEE ALSO ctime(3), tzfile(5), zic(8)BSD October 29, 2003 BSD
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)