06-27-2013
Hi I am using
sunos
sure i went through many sites regarding my question.But i didnt get the correct one.So needs your help.
Last edited by mohanalakshmi; 07-17-2013 at 09:21 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a list of interfaces and time the interface was last active. I can't figure out how to convert the time in the second column,
Fa1/14 0
Se0/0/0 0
Fa1/11 0
Fa1/9 0
Fa1/0 0
Se0/0/1 1240401408
Gi1/0 0
Fa0/0 1240401408
Fa1/3 0
Fa1/8 0
Fa1/15 0
Fa1/13 0
Fa1/10 0
Fa1/1 0
Fa1/12... (7 Replies)
Discussion started by: mrlayance
7 Replies
2. Shell Programming and Scripting
Hi,
I need to convert a number representing time in UTC seconds to a date. Ex:
3BE0082C --> Oct 31 2001 15:31:08
I have tried the following perl command but it gives a different answer?
$ perl -e 'print scalar localtime(shift), "\n"' 3BE00B2C
Thu Jan 1 03:00:03 1970
Any ideas? Thanks. :) (10 Replies)
Discussion started by: GNMIKE
10 Replies
3. AIX
Hello,
Using AIX6.1 box.
I have UTC time value and need to convert it to local time value - I mean time zone and DST should be taken into consideration.
I hope it could be done using shell environment - I don't want to write a program.
thanks
Vilius
---------- Post updated at 02:30 PM... (2 Replies)
Discussion started by: vilius
2 Replies
4. Shell Programming and Scripting
Hello All -
I have a script that grabs data from the net and outputs the following data
46029 46.144 -124.510 2010 07 26 22 50 320 4.0 6.0 2.2 9 6.8 311 1012.1 -0.9 13.3 13.5 13.3 - -
46041 47.353 -124.731 2010 07 26 22 50 250 2.0 3.0 1.6 8 6.4 - 1011.6 - ... (0 Replies)
Discussion started by: drexnefex
0 Replies
5. AIX
Okay, so let's say we have a string like:
20110105_193345
This represents:
January 5th, 2011 = 20110105
24-hour style time 19:33:45 = 193345
Okay, so we have our time. It's January 5th, 2011 at 19:33:45. I want to convert this time from Eastern Time Zone (which it currently is in)... (1 Reply)
Discussion started by: syndex
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
A few days ago I changed my CentOS box's timezone to -07:00.
Now the date commands output look like this (run almost simultaneously, less than 1 second delay)..
# date
Mon Sep 5 20:23:40 PDT 2011
# date -u
Tue Sep 6 03:24:05 UTC 2011
The hours difference seems correct, but why is... (2 Replies)
Discussion started by: forte712
2 Replies
7. Solaris
I have a cluster of two Solaris server (veritas cluster). one working and the other is standby
I am going to change the date on them , and am looking for a secure solution as it is giving an important service.
my opinion is that the active one doesn't need to be restarted (if I don't change the... (1 Reply)
Discussion started by: barry1946
1 Replies
8. Shell Programming and Scripting
Hi Folks,
My server time is in EDT. And i am sending automated mails from that server in which i need to display the current date time as per IST (GMT+5:30). Please advice how to display the date time as per IST.
IST time leads 9:30 mins to EDT. and i wrote something like below.
... (6 Replies)
Discussion started by: Showdown
6 Replies
9. AIX
Hello AIX friends,
We have timezone settings on our AIX 6.1 boxes set to Europe/London.
How can I change it to UTC timezone with Daylight saving disabled.
After running "smit chtz_user" I don't see UTC option in the listing.
Please advise.
TIA (3 Replies)
Discussion started by: prvnrk
3 Replies
10. UNIX for Dummies Questions & Answers
hi,
my system date and time zone is PDT. whenever i append date time stamp to a file it appends the system date thats PDT date time zone. i want to append GMT time zone. is there a mechanism or option which can append the date time stamp according to GMT. (4 Replies)
Discussion started by: Little
4 Replies
LEARN ABOUT NETBSD
compat_sunos
COMPAT_SUNOS(8) BSD System Manager's Manual COMPAT_SUNOS(8)
NAME
compat_sunos -- setup procedure for m68k, sparc and sparc64 architectures
DESCRIPTION
NetBSD/sparc64, NetBSD/sparc and some of the NetBSD/m68k architectures can run SunOS executables. Most executables will work.
The exceptions include programs that use the SunOS kvm library, and various system calls, ioctl()'s, or kernel semantics that are difficult
to emulate. The number of reasons why a program might fail to work is (thankfully) longer than the number of programs that fail to run.
Static executables will normally run without any extra setup. This procedure details the directories and files that must be set up to allow
dynamically linked executables to work.
The files you need are on your SunOS machine. You need to worry about the legal issues of ensuring that you have a right to use the required
files on your machine. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr/lib /emul/sunos/usr/5lib
2. cp SunOS:/usr/lib/lib*.so.*.* NetBSD:/emul/sunos/usr/lib
3. cp SunOS:/usr/5lib/lib*.so.*.* NetBSD:/emul/sunos/usr/5lib
4. cp SunOS:/usr/lib/ld.so NetBSD:/emul/sunos/usr/lib/ld.so
5. If you ever expect to use YP, you will want to create a link:
ln -s /var/run/ypbind.lock /etc/ypbind.lock
Alternatively, you can use an NFS mount to accomplish the same effect. On your NetBSD machine, do the following:
1. mkdir -p /emul/sunos/usr
2. mount SunOS:/usr /emul/sunos/usr
This will place the SunOS libraries on your NetBSD machine in a location where the SunOS compatibility code will look for first, where they
do not conflict with the standard libraries.
NOTES
When using compat_sunos on NetBSD/sparc64, the COMPAT_NETBSD32 option must also be used.
BUGS
A list of things which fail to work in compatibility mode should be here.
SunOS executables can not handle directory offset cookies > 32 bits. Should such an offset occur, you will see the message ``sunos_getdents:
dir offset too large for emulated program''. Currently, this can only happen on NFS mounted filesystems, mounted from servers that return
offsets with information in the upper 32 bits. These errors should rarely happen, but can be avoided by mounting this filesystem with offset
translation enabled. See the -X option to mount_nfs(8). The -2 option to mount_nfs(8) will also have the desired effect, but is less
preferable.
The NetBSD/sparc64 support is less complete than the other ports.
BSD
February 3, 2001 BSD