Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zdump(8) [redhat man page]

ZDUMP(8)						      System Manager's Manual							  ZDUMP(8)

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. -c cutoffyear Cut off the verbose output near the start of the given year. SEE ALSO
newctime(3), tzfile(5), zic(8) ZDUMP(8)

Check Out this Related Man Page

zdump(1M)						  System Administration Commands						 zdump(1M)

NAME
zdump - time zone dumper SYNOPSIS
zdump [-v] [-c cutoffyear] [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 GMT. This is consistent with the behav- ior 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: -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 cutoffyear Cuts off the verbose output near the start of the year cutoffyear. 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 | +-----------------------------+-----------------------------+ SEE ALSO
zic(1M), ctime(3C), mktime(3C), attributes(5), environ(5) SunOS 5.10 19 May 1997 zdump(1M)
Man Page

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calculating start and end of UK summertime

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)
Discussion started by: esb4me
10 Replies

2. Shell Programming and Scripting

For loop with one variable as the name of other

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)
Discussion started by: click
2 Replies

3. HP-UX

DST change on Compaq Tru64

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)
Discussion started by: md1982
15 Replies

4. Programming

TZ, localtime and strftime problem on AIX and Solaris

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)
Discussion started by: biju64
6 Replies

5. Solaris

How to backup ZFS filesystems to files on USB drive?

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)
Discussion started by: gjackson123
22 Replies

6. Virtualization and Cloud Computing

OpenVZ domains/sites stopped working after restore

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)
Discussion started by: postcd
0 Replies

7. AIX

Timezone issues -- Daylight savings

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)
Discussion started by: filosophizer
5 Replies

8. Solaris

Solaris 11 Daylight Saving Time

Hello, Quick question: How do I verify if my Solaris 11 hosts/zones, configured with NTP, would change automatically to the DST? Thanks! (1 Reply)
Discussion started by: feroccimx
1 Replies

9. Shell Programming and Scripting

Bug in Gnu date?

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)
Discussion started by: apmcd47
10 Replies