Sponsored Content
Full Discussion: Change time source?
Special Forums UNIX Desktop Questions & Answers Change time source? Post 40108 by RTM on Tuesday 9th of September 2003 11:31:06 AM
Old 09-09-2003
To change it check out the date command ( man date).

To keep in synced (if connected to a network/Internet), check out ntp (try man xntpd). Look in /etc/rc2.d for S74xntpd to see if it's attempting to start on boot. If it is running, check your /etc/inet/ntp.conf to verify it's looking for the correct ntp servers ( list of ntp servers can be found at freebsd.org )
 

10 More Discussions You Might Find Interesting

1. Linux

How To change time?

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

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

3. UNIX for Advanced & Expert Users

How To Fetch Time From Putside Source On Unix Platform?

CAN ANY PLESE TEL ME,HOW CAN I FETCH TIME FROM SOME EXTERNAL SOURCE (eg. NETWORK TIME SERVER S 200) ON UNIX PLATFORM,PROVIDED TIME IS COMING FROM SOME IP "X".WHAT CODE SHOULD I RUN IN STARTUP (2 Replies)
Discussion started by: pesty
2 Replies

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

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

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

7. Shell Programming and Scripting

How to change values in datafile from source file

Hi all, I have this source file source.txt : hdrEthernetSwitch1IPAddress 112.13.9.34 hdrEthernetSwitch2IPAddress 112.13.8.245 noOfRevASLAvailable 8000 noOfRevASLInUse 122 maxDOSPayload 7777 pcmdEvdoRUM Enabled pcmdEvdoFlow Enabled And I have this datafile to be modified : ... (5 Replies)
Discussion started by: luna_soleil
5 Replies

8. UNIX for Dummies Questions & Answers

Iptables to change source IP

Hey everyone! I am trying to configure iptables/netfilter so that all traffic coming from a certain port (8001) has its source ip re-written as a different ip. Can this be done? Basically its a possible workaround for another issue I'm having with a multihomed server. SNMP data is coming in on... (3 Replies)
Discussion started by: msarro
3 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

10. IP Networking

Change source ip on static internet

Hi, Environment: Linux: Ubuntu 12.04 I am connected to internet using static ip. This means my internet provider Pacenet has assigned me static ip. Now, whenever I am trying to change source ip for tcp/ip (ip4) using iptables firewall, I am unable to access internet at all. Can anybody... (4 Replies)
Discussion started by: ashv
4 Replies
DMXChangeDesktopAttributes(3)				     Library Functions Manual				     DMXChangeDesktopAttributes(3)

NAME
DMXChangeDesktopAttributes - change global bounding box SYNOPSIS
#include <X11/extensions/dmxext.h> int DMXChangeDesktopAttributes(Display *dpy, unsigned int mask, DMXDesktopAttributes *attr); DESCRIPTION
DMXChangeDesktopAttributes() resizes the bounding box of the whole screen when using the Xinerama extension. Otherwise, it has no effect on the screen layout. An attribute mask is placed in mask and the attributes to change are placed in attr. The values that are used to compute mask are as follows: DMXDesktopWidth DMXDesktopHeight DMXDesktopShiftX DMXDesktopShiftY The DMXDesktopAttributes structure is: typedef struct { unsigned int width; unsigned int height; int shiftX; int shiftY; } DMXDesktopAttributes; width and height specify the new width and height for the bounding box. shiftX and shiftY specify where the Xinerama origin will be placed with respect to the origin of the new bounding box. This allows the left and upper edges of the bounding box to be changed without changing the visual position of the windows on the desktop. If width or height is not specified, the current values will be used. If shiftX or shiftY is not specified, 0 will be used. All coordinates are in the global DMX coordinate system. If Xinerama is not active, an error will be generated. RETURN VALUE
DMXChangeDesktopAttributes() will return 0 on success, DmxBadXinerama if Xinerama is not active, DmxBadValue if the size of the bounding box is too large, and DmxBadReply if there was a protocol error. DMXChangeDesktopAttributes() can generate BadLength (if the request is malformed, which should never happen when using this library inter- face), and BadValue (if any values are out of range). SEE ALSO
DMXGetDesktopAttributes(3), DMX(3), Xdmx(1) X Version 11 libdmx 1.1.2 DMXChangeDesktopAttributes(3)
All times are GMT -4. The time now is 01:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy