Sponsored Content
Operating Systems Solaris Zpool status shows scrub date of Dec 31, 1969 Post 302996769 by Don Cragun on Tuesday 2nd of May 2017 04:46:42 AM
Old 05-02-2017
It looks like scrub cleared the counts and cleared the timestamp. Note that in the US Eastern timezone, the local time corresponding to the UNIX Epoch -- which is the time with timestamp 0 (midnight at the start of January 1, 1970 GMT) is Wed Dec 31 19:00:00 1969 EST.
 

9 More Discussions You Might Find Interesting

1. SCO

Tape Status shows 2 Hard errors and 5 Underruns on new tape

when I do a tape status /dev/rStp0 I get the following on a new tape and I have tried several: Status : ready beginning-of-tape soft errors : 0 hard errors: 2 underruns: 5 My BackupEdge has stopped backing up my system because it asks for a new volume yet my total system data is under 20... (5 Replies)
Discussion started by: psytropic
5 Replies

2. UNIX for Dummies Questions & Answers

Shell Scripts - shows today’s date and time in a better format than ‘date’ (Uses positional paramete

Hello, I am trying to show today's date and time in a better format than ‘date' (Using positional parameters). I found a command mktime and am wondering if this is the best command to use or will this also show me the time elapse since 1/30/70? Any help would be greatly appreciated, Thanks... (3 Replies)
Discussion started by: citizencro
3 Replies

3. Solaris

zpool status -v erros message

# zpool status -v pool: pool1 state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see:... (0 Replies)
Discussion started by: beginner
0 Replies

4. Hardware

Assistance required when booting M3000, error shows; * MBU_A Status:Degraded; Ver:0701h; Serial:

Here is the error showing in the XCSF, can anyone recommend further diagnosis for this specific error?; XSCF> showhardconf SPARC Enterprise M3000; + Serial:PX61142029; Operator_Panel_Switch:Locked; + Power_Supply_System:Single; SCF-ID:XSCF#0; + System_Power:On;... (4 Replies)
Discussion started by: Touchpoint
4 Replies

5. Solaris

zpool status shows things NOT OK, but 3rd party raid says all is well

Hi, I've gone around with this on Oracle's site (and tech support) and ended up empty handed and without ideas of what to do to fix the problem. Background: V245, Solaris 10, has 2 12-disk infortrend RAIDs attached. Have replaced faulty disks many times - familiar with the routine. However,... (5 Replies)
Discussion started by: jdigjudy
5 Replies

6. Shell Programming and Scripting

How to add day of week at the end of each line that shows the date?

I have a file that looks like: file1: www_blank_com 20121008153552 www_blank_com 20121008162542 www_blank_com 20121009040540 www_blank_com 20121009041542 www_blank_com 20121010113548 www_blank_com 20121011113551 www_blank_com 20121012113542 I want the new file to show the day of... (3 Replies)
Discussion started by: castrojc
3 Replies

7. UNIX for Dummies Questions & Answers

How to scrub directory only if on own partition/drive?

Hi all, I've been working on a script to run a disk wipe (using Jim Garlick's scrub tool) on the filesystem in Xerox production printer RIPs. Easy enough if there's just one partition, but I need to cater for the possibility of multiple drives/partitions, and either ZFS or UFS (don't know if... (2 Replies)
Discussion started by: DavidDawesFXA
2 Replies

8. Solaris

Solaris 9 Zone : Date command in crontab shows delayed(One Hour) output

SOLARIS 9 Zone : date command in crontab shows delayed(One Hour) output Hi folks, the date command shows the correct date and time, How ever, if the date command executed through crontab in any form of scrip the output shows as one hour delayed, similar to date -u.. Can some one help in... (12 Replies)
Discussion started by: judi
12 Replies

9. Shell Programming and Scripting

• Write a shell script that upon invocation shows the time and date and lists all the logged-in user

help me (1 Reply)
Discussion started by: sonu pandey
1 Replies
DATEFMT_GET_TIMETYPE(3) 						 1						   DATEFMT_GET_TIMETYPE(3)

IntlDateFormatter::getTimeType - Get the timetype used for the IntlDateFormatter

	Object oriented style

SYNOPSIS
public int IntlDateFormatter::getTimeType (void ) DESCRIPTION
Procedural style int datefmt_get_timetype (IntlDateFormatter $fmt) Return time type used by the formatter. PARAMETERS
o $fmt - The formatter resource. RETURN VALUES
The current date type value of the formatter. EXAMPLES
Example #1 datefmt_get_timetype(3) example <?php $fmt = datefmt_create( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'timetype of the formatter is : ' . datefmt_get_timetype($fmt); echo 'First Formatted output with timetype is ' . datefmt_format($fmt, 0); $fmt = datefmt_create( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::SHORT, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Now timetype of the formatter is : ' . datefmt_get_timetype($fmt); echo 'Second Formatted output with timetype is ' . datefmt_format($fmt, 0); ?> Example #2 OO example <?php $fmt = new IntlDateFormatter( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'timetype of the formatter is : ' . $fmt->getTimeType(); echo 'First Formatted output is ' . $fmt->format(0); $fmt = new IntlDateFormatter( 'en_US', IntlDateFormatter::FULL, IntlDateFormatter::SHORT, 'America/Los_Angeles', IntlDateFormatter::GREGORIAN ); echo 'Now timetype of the formatter is : ' . $fmt->getTimeType(); echo 'Second Formatted output is ' . $fmt->format(0); ?> The above example will output: timetype of the formatter is : 0 First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT Now timetype of the formatter is : 3 Second Formatted output is Wednesday, December 31, 1969 4:00 PM SEE ALSO
datefmt_get_datetype(3), datefmt_create(3). PHP Documentation Group DATEFMT_GET_TIMETYPE(3)
All times are GMT -4. The time now is 05:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy