|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
server time
Hi All,
I have a number of servers that are running different time-zones. I can get find out the date and time of the servers with no problem However, my problem is I need to know only the servers that are running GMT time. I am installing patches, and one of them is corrupting /Etc/localtime. It is converting the servers that are running GMT to EDT. Before I run my next batch I need to pull these out. thanks. G... |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
I am assuming you can ssh to each server Code:
for i in server1 server2 server3 do ssh $i 'uname -a && date +%Z' done |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to rename file in FP server with server time stamp? | krsnadasa | HP-UX | 5 | 12-02-2011 05:08 AM |
| How often does Linux NTP server update its time with the external NTP server? | MichaelLi | Linux | 1 | 03-25-2011 09:43 AM |
| Time Zone for a User Different From Server Time | RoshniMehta | AIX | 1 | 06-23-2010 04:28 AM |
| How To Provide Time Sync Using Nts-150 Time Server On Unix Network? | pesty | UNIX for Advanced & Expert Users | 2 | 03-22-2007 02:20 AM |
| time server | fsmadi | Solaris | 1 | 03-05-2007 08:33 AM |
|
|