Sponsored Content
Full Discussion: AIX TIME CHANGE
Operating Systems AIX AIX TIME CHANGE Post 302488476 by kkeng808 on Monday 17th of January 2011 10:20:58 AM
Old 01-17-2011
The actual time is the normal time out of the system. I generated the the report combining the actual time with the system generated output using the below script which will collect the sys time for every 1 second

Code:
x=0
while [ $x -lt 30000 ]
do
date >> time_seconds.out
sleep 1
done

===============================
Output:-
Mon Jan 17 13:40:20 CET 2011
Mon Jan 17 13:40:21 CET 2011
Mon Jan 17 13:40:22 CET 2011
Mon Jan 17 13:40:23 CET 2011
Mon Jan 17 13:40:24 CET 2011
Mon Jan 17 13:40:25 CET 2011
Mon Jan 17 13:40:26 CET 2011
Mon Jan 17 13:40:27 CET 2011
Mon Jan 17 13:40:32 CET 2011
Mon Jan 17 13:40:33 CET 2011
Mon Jan 17 13:40:34 CET 2011
Mon Jan 17 13:40:35 CET 2011
Mon Jan 17 13:40:36 CET 2011
Mon Jan 17 13:40:37 CET 2011
Mon Jan 17 13:40:38 CET 2011
Mon Jan 17 13:40:39 CET 2011
Mon Jan 17 13:40:40 CET 2011
Mon Jan 17 13:40:37 CET 2011
Mon Jan 17 13:40:38 CET 2011
Mon Jan 17 13:40:43 CET 2011
Mon Jan 17 13:40:44 CET 2011
Mon Jan 17 13:40:45 CET 2011
Mon Jan 17 13:40:46 CET 2011
Mon Jan 17 13:40:47 CET 2011
Mon Jan 17 13:40:48 CET 2011
Mon Jan 17 13:40:49 CET 2011
Mon Jan 17 13:40:46 CET 2011
Mon Jan 17 13:40:47 CET 2011
Mon Jan 17 13:40:52 CET 2011
Mon Jan 17 13:40:53 CET 2011
Mon Jan 17 13:40:54 CET 2011
Mon Jan 17 13:40:55 CET 2011
Mon Jan 17 13:40:56 CET 2011
Mon Jan 17 13:40:57 CET 2011
Mon Jan 17 13:40:58 CET 2011
Mon Jan 17 13:40:59 CET 2011
Mon Jan 17 13:41:00 CET 2011
Mon Jan 17 13:41:01 CET 2011
Mon Jan 17 13:40:58 CET 2011
Mon Jan 17 13:40:59 CET 2011
Mon Jan 17 13:41:00 CET 2011

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Time change not working...

Hi, I am pretty new to the Solaris world. Just installed the version 8 and found that the time is off. I am in the Central time zone. In the beginning, the date and time was off by a day. After changing the /etc/default/init, there is no avail. The date is now correct but the time is still 5 hours... (7 Replies)
Discussion started by: conflansun
7 Replies

2. UNIX for Dummies Questions & Answers

How to change time as root?

Hi, Can someone tell me how to change time inside red hat linux machine as root? ThanX! (1 Reply)
Discussion started by: whatisthis
1 Replies

3. Linux

How To change time?

what command must i use to change time ? (4 Replies)
Discussion started by: Sirius
4 Replies

4. UNIX for Dummies Questions & Answers

Change the time in AIX

I have already updated the DST change but my system time is about 10 minutes off. How do i set the time in the AIX 5.3? Thanks Dave (1 Reply)
Discussion started by: rocker40
1 Replies

5. Solaris

change time

The time of our Solaris server now is slowly more 20 seconds. How can we change it ? (3 Replies)
Discussion started by: anhtt
3 Replies

6. AIX

How to change time on servers

Hi all We are currently using AIX 5.3, we reuquire to change the time according to the daylight saving scenario. We are using the internal clock and are not synced with ntp server. Can any one please tell me how to do that without effecting the processes running on the servers? (2 Replies)
Discussion started by: masquerer
2 Replies

7. Shell Programming and Scripting

how to change time hr:mm to mm:hr in perl

Hi I want to match time hr:mm and change to mm:hr please let me know how to do that in perl (2 Replies)
Discussion started by: lakshmikant
2 Replies

8. Debian

change time

Hi all, I want change the time settings from EST to IST by using command line in Debian os. but it is not taken. Can any body show me the how to change the time settings by using command line. Thanks, (1 Reply)
Discussion started by: mastansaheb
1 Replies

9. AIX

Bug in AIX 6.1/7.1 Time Zone DST Change -again

Hi Everyone Just wanted to share with you that IBM AIX is having again problem with Summer Time Shift.. IBM Possible Action Required: System time may not change properly at DST start/end dates on AIX 7.1 and AIX 6.1 - United States For me it means some additional overtimes in the... (0 Replies)
Discussion started by: gito
0 Replies
Mon::Protocol(3pm)					User Contributed Perl Documentation					Mon::Protocol(3pm)

NAME
Mon::Protocol - Methods for parsing / dumping a protocol block SYNOPSIS
use Mon::Protocol; DESCRIPTION
METHODS
new Creates a new object. A hash can be supplied which sets the default values. An example which contains all of the variables that you can initialize: $c = new Mon::Protocol; dump_data Returns the current internal structure as a string dump suitable for passing to "parse_data". "parse_data" Parses a command block (from begin_block to end_block), as generated by dump_data. "type"(new_type) Sets or returns the type of the current command block. See @TYPES for valid type codes. In the future, it is possible that this module will perform additional checking based on the type, for now it is left to the application to interpret this. "get_section_list" Returns an array containing all section names within the block. "get_section"(section_name) Returns a hash containing the key/value pairs of the specific section. "delete_section"(section_name) Completely removes the specified section from the block. "add_to_section"(section_name,$hash_ref) Adds the key/value pairs in the hash to the specified section. $foo->add_to_section("_hostgroup", { "ns1.baz.com" -> "ok" }); "delete_from_section"(section_name,$key) Deletes the key/value pair from the section. $foo->delete_from_section("_hostgroup", "ns1.baz.com"); "error" Should any of the functions return an error (-1), this function can be used to retrieve a more elaborate error message and to reset the internal error state. perl v5.14.2 2012-04-27 Mon::Protocol(3pm)
All times are GMT -4. The time now is 04:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy