Sponsored Content
Full Discussion: change time
Operating Systems Solaris change time Post 302151322 by anhtt on Friday 14th of December 2007 01:08:01 PM
Old 12-14-2007
change time

The time of our Solaris server now is slowly more 20 seconds.
How can we change it ?
 

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 Desktop Questions & Answers

Change time source?

I need to change the time on my SUN box, it is five minutes fast. (4 Replies)
Discussion started by: michelemcdonald
4 Replies

3. 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

4. Linux

How To change time?

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

5. 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

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. AIX

AIX TIME CHANGE

Hi Guys , I see a weird problem with one of the AIX Machine, The time is changing randomly on the server. The seconds part of the time is what is the problem which is jumping on a uneven order and coming back to the original state after some time and again the same.. I have collected the time... (8 Replies)
Discussion started by: kkeng808
8 Replies

9. 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
nischttl(1)							   User Commands						       nischttl(1)

NAME
nischttl - change the time to live value of a NIS+ object SYNOPSIS
nischttl [-AfLP] time name... DESCRIPTION
nischttl changes the time to live value (ttl) of the NIS+ objects or entries specified by name to time. Entries are specified using indexed names (see nismatch(1)). The time to live value is used by object caches to expire objects within their cache. When an object is read into the cache, this value is added to the current time in seconds yielding the time when the cached object would expire. The object may be returned from the cache until the current time is earlier than the calculated expiration time. When the expiration time has been reached, the object will be flushed from the cache. The time to live time may be specified in seconds or in days, hours, minutes, seconds format. The latter format uses a suffix letter of d, h, m, or s to identify the units of time. See the examples below for usage. The command will fail if the master NIS+ server is not running. Setting a high ttl value allows objects to stay persistent in caches for a longer period of time and can improve performance. However, when an object changes, in the worst case, the number of seconds in this attribute must pass before that change is visible to all clients. Setting a ttl value of 0 means that the object should not be cached at all. A high ttl value is a week, a low value is less than a minute. Password entries should have ttl values of about 12 hours (easily allows one password change per day), entries in the RPC table can have ttl values of several weeks (this information is effectively unchanging). Only directory and group objects are cached in this implementation. OPTIONS
The following options are supported: -A Modify all tables in the concatenation path that match the search criterion specified in name. This option implies the -P switch. -f Force the operation and fail silently if it does not succeed. -L Follow links and change the time to live of the linked object or entries rather than the time to live of the link itself. -P Follow the concatenation path within a named table. This option only makes sense when either name is an indexed name or the -L switch is also specified and the named object is a link pointing to entries. EXAMPLES
Example 1: Changing the ttl of an Object The following example shows how to change the ttl of an object using the seconds format and the days, hours, minutes, seconds format. The ttl of the second object is set to 1 day and 12 hours. example% nischttl 184000 object example% nischttl 1d12h object Example 2: Changing the ttl for a password Entry This example shows how to change the ttl for a password entry. example% nischttl 1h30m '[uid=99],passwd.org_dir' Example 3: Changing the ttl of Entries Pointed to by a Link The next two examples change the ttl of the object or entries pointed to by a link, and the ttl of all entries in the hobbies table. example% nischttl -L 12h linkname example% nischttl 3600 '[],hobbies' ENVIRONMENT VARIABLES
NIS_PATH If this variable is set, and the NIS+ name is not fully qualified, each directory specified will be searched until the object is found. See nisdefaults(1). EXIT STATUS
The following exit values are returned: 0 Successful operation. 1 Operation failed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
nis+(1), nischgrp(1), nischmod(1), nischown(1), nisdefaults(1), nismatch(1), nis_objects(3NSL), attributes(5) NOTES
NIS+ might not be supported in future releases of the SolarisTM Operating Environment. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment. For more information, visit http://www.sun.com/directory/nisplus/transition.html. SunOS 5.10 10 Dec 2001 nischttl(1)
All times are GMT -4. The time now is 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy