Get the installation date.

Hi AIX Gurus,

what's the best way to get the date of OS installation?

Thx!

0
11/13/2006 9:55:14 AM
comp.unix.aix 10935 articles. 6 followers. drkirkby (98) is leader. Post Follow

4 Replies
303 Views

Similar Articles

[PageSpeed] 43
Marcin wrote:
> Hi AIX Gurus,
>
> what's the best way to get the date of OS installation?

The best way i do not know:

Some ways:
Get the date from the creation time of the bosinstlog file
$ ls -l /var/adm/ras/bosinstlog

Get the earliest installed software on the system
$  lslpp -ch | cut -f7 -d: | grep "/" | awk '{ print $3 $1 $2 }' FS="/"
| sort -nu | head -1

where the second one is harder to fake

hth
Hajo

0
service490 (1039)
11/13/2006 11:02:57 AM
hi experts
i checked,  i'm not beleving it  would be correct.

tell in another way......

vinayag


Hajo Ehlers wrote:
> Marcin wrote:
> > Hi AIX Gurus,
> >
> > what's the best way to get the date of OS installation?
>
> The best way i do not know:
>
> Some ways:
> Get the date from the creation time of the bosinstlog file
> $ ls -l /var/adm/ras/bosinstlog
>
> Get the earliest installed software on the system
> $  lslpp -ch | cut -f7 -d: | grep "/" | awk '{ print $3 $1 $2 }' FS="/"
> | sort -nu | head -1
> 
> where the second one is harder to fake
> 
> hth
> Hajo

0
ravinayag (24)
11/13/2006 2:19:11 PM
It works by me.
I made a small modification -- I list only "bos.rte.*" family ( lslpp
-ch "bos.rte.*" .... ).

Thanks Hajo.

-- 
Greets,
Mrc

0
11/13/2006 2:30:26 PM

Just keep in mind it's using the System Clock / Timezone during
install.

Not a big deal if it's off by +/- 12 hours, but when we had a drive and
planar board replaced the CE didn't set the time before installing.
The year was at 1970 which wasn't very funny at the time.

0
mugi (53)
11/16/2006 4:40:08 AM
Reply:
Similar Artilces:

FAQ - Etiquette
There are several FAQs about the Oracle database scattered around the Internet, and many ways of finding answers to the simpler questions about Oracle very quickly. The following list is a suggestion of where you might find answers to questions that you feel should have an easy answer. The Co-operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html The archive for this news group http://www.google.com select the GROUPS tab then work through the list to comp -> databases -> oracle A search engine for searching the manuals for current versions...

How to get a vendor to listen to you
I don't know how much of this is true or just conjecture, but it does paint an interesting picture about how to get support for a platform, despite political repercussions. Yousuf Khan http://www.theinquirer.net/?article=12797 ...

No cc/gcc in my fc5, How can I install cc/gcc to my FC5?
As the title, thanks a lot!! Jay wrote: > As the title, thanks a lot!! > Google: http://www.mjmwired.net/resources/mjm-fedora-fc5.html -- change to leews to mail On Thu, 12 Oct 2006 00:35:42 -0700, Jay wrote: > As the title, thanks a lot!! You might have better luck in alt.linux.redhat or another 'help' group - as you can tell, this one has been hijacked. ray wrote: > On Thu, 12 Oct 2006 00:35:42 -0700, Jay wrote: > >> As the title, thanks a lot!! > > You might have better luck in alt.linux.redhat or another 'help' > group - as you can ...

Spammer getting through my NAT router?
I have a home network that I thought was pretty secure. It uses an old Macintosh running the NAT program IPNetRouter. Sometimes I use the FTP or web server function of IPNetRouter, but fortunately no one writes viruses for old out–of-date Macs these days and I have never had a problem. These are currently turned off. I am upstairs running Windows XP with ZoneAlarm Pro (mostly to check for anything I don’t know about going out). I was surprised to find a few rare cases of ICMP packets coming in from the outside and reaching my PC. Most of these were responses to pings initi...

How to get combinations of a matrix
hello, I have R=[ 0 1 1 0 ] means 2 number are there and 4 places in R. I need 16 different R combinations. can anyone help me??? Thanks Ankur Ankur Garg wrote: > > > hello, > > I have R=[ 0 1 1 0 ] > means 2 number are there and 4 places in R. > > I need 16 different R combinations. > > can anyone help me??? > > Thanks > Ankur I'm not sure if I've understood your assignment properly, but this gives an interesting output that might be sort of what you want. str2num(reshape([reshape(dec2bin(0:15)',1,64); char(ones(1,64)*32)],8,16)') ...

How could I get two desktop Macs in two apartments of the same building to share the same contents?
How could I get two desktop Macs in two apartments of the same building to share the same contents, so that if I change the contents of one computer, the changes are reflected in the other computer? I would be the only person operating the computers. In both apartments I want to operate printers connected to the desktop Macs. I have an Airport Extreme and an Airport Express already hooked up to my existing Mac, so I'm wondering how I could extend my network into the second apartment, which is in a different apartment of the same building. Robert On 2013-03-18, Robert Montgo...

Get the pid of a os.startfile(filename)
Hi to all, How can I get the Process ID (PID) of an application started because of os.startfile(filename)? Or, better, How can I get the PID of a running program, suposing I know the name of the running application? Many thanks. Daniel Hi ! With W2K or WXP : tasklist /FI "IMAGENAME eq exename.exe" And, with Python, how capture this information : def findPID(exename): import os a = os.popen4('tasklist /FI "IMAGENAME eq '+exename+'"') a[0].flush() try: info=a[1].readlines()[3].split() except: info=[exename...

I Keep Getting and "unknown database" error when I open my program that is using Flashfiler
Hi, I have been using AccuEvents for my entertainment company over the past= 6 years or so. I'm not very good working with this Flashfiler server, so = I try not to make changes. However, due to a problem with one of the compu= ters on my network tried to make changes for the software to work. Now I k= eep getting an "unknown database" error when I open up the software after I= 've started the server. I have gone both thru the tcpi/int and single serv= er steps, but it keeps coming back with "unknown database". Can someone he= lp me solve this? Al...

sort and get index?
In matlab, the sort function returns two things: [a,b]=sort([5, 8, 7]) a = 5 7 8 b = 1 3 2 where a is the sorted result, and b is the corresponding index. Is there C++ code available to achieve this? Better compatible with STL vector. Thanks "b83503104" <b83503104@yahoo.com> wrote... > In matlab, the sort function returns two things: > > [a,b]=sort([5, 8, 7]) > > a = 5 7 8 > b = 1 3 2 > > where a is the sorted result, and b is the corresponding index. > Is there C++ code available to achieve this? Probably. You co...

Cannot get PiCTeX to process an example file.
Hi All, I bought the PiCTeX manual from PCTeX and copied the LaTeX code (see below) from page 71 of the manual. I guarantee there are no typos in my copying. I also bought the LaTeX CD from TeXnicCenter and use PiCTeX which came on that CD. When I run the code below through the LaTeX compiler from TeXnicCenter I get the errors: ! Undefined control sequence. <argument> \fiverm l.2566 \setplotsymbol({\fiverm .}) ! Undefined control sequence. <argument> \fiverm l.3102 \setshadesymbol ({\fiverm .}) ! Undefined control sequence. \ninepoint I have used TeXnicCent...

difference between chan gets / gets
Hi ! What difference between command chan gets and gets, chan puts and puts ? Many thanks ! serge_darin@mail.ru <serge_darin@mail.ru> wrote: > What difference between command chan gets and gets, chan puts and > puts ? They are supposed to be the same. puts is here for compatibility (and for those too lazy to write those extra 5 chars, like me), whereas chan is an attempt to have related functionality together in a single command. If you're old to tcl, you'll likely be used to top-level "puts", whereas if you're new to tcl, you're more likely to memo...

getting rid of a while(1) "poll"
Typical problem where a while(1) consumes gobs of CPU. Not as straightforward (to me) to figure out how to replace it with something more CPU friendly. The overall system has three daemons: 1) suck_packets_d 2) first_order_packet_filter_and_packet_buffer_d 3) extract_interesting_packet_features_and_generate_report_d Using some sort of blocking calls in 1) or 2) seems like a bad idea, because packet volume can be high and I want to keep up with it as much as possible. I could use some help thinking this through if anyone is so inclined. C / Linux pseudocode for daemon (2) (biggest ...

[telecom] Woman allegedly records own arrest, gets accused of wiretapping
Woman allegedly records own arrest, gets accused of wiretapping Massachusetts wiretapping law prohibits secretly recording police. by David Kravets May 11 2014 Ars Technica A Massachusetts woman faces charges of allegedly using a hidden mobile phone to audio-record her own suspicion-of-disorderly-conduct arrest. .... http://arstechnica.com/tech-policy/2014/05/woman-allegedly-records-own-arrest-gets-accused-of-wiretapping/ Per Monty Solomon: >Massachusetts wiretapping law prohibits secretly recording police. Can somebody explain the rationale for such laws? -- P...

Get Rich
Take advantage of a great deal ...

US-OK-Tulsa: Cisco Firewall Eng, Network Mgmnt exp, install/troubleshoot Cisco P (45347557609)
US-OK-Tulsa: Cisco Firewall Eng, Network Mgmnt exp, install/troubleshoot Cisco P (45347557609) ============================================================================================== Position: Cisco Firewall Eng Reference: SMC02024 Location: Tulsa OK Duration: 3-6M Skills: Minimum Certifications: Cisco Firewall Specialist; Cisco VPN Specialist. Preferred Certifications: CCSP,CCDP,CCNA Must have Network Management experience Exp with Installation configuration and troubleshooting of Cisco PIX ...

Process getting terminated
I am facing a very strange problem. We have a process that is getting terminated without giving any clue as to how it got terminated. There are 3 threads in the process and my logs indicate that each of them was in a waiting state when the process got terminated. I have put __try __except inside each of the top level functions being executed by the threads so that I do not miss any exception if any which might cause the process to be terminated. I hooked the ExitProcess function at the very beginning (inside winmain before the other threads are created) to figure out if any thread was ...

Problem Installing SCO OpenServer 5.0.5
Hi, Am trying to install SCO OpenServer 5.0.5 on a PIII with a 20GB Maxtor HD. I manage to install fine (no errors showing) and get UNIX to see the entire drive but upon reboot (removing the floppy and CD-ROM as instructed), instead of teh boot: prompt, it says NO OS. What am I doing wrong? Thanks, Don Don wrote: > > Hi, > > Am trying to install SCO OpenServer 5.0.5 on a PIII with a 20GB Maxtor > HD. I manage to install fine (no errors showing) and get UNIX to see > the entire drive but upon reboot (removing the floppy and CD-ROM as > instructed), instead of teh b...

Re: Scary date9. informat and how to judge if a string is a date? #8
I don't know that certain rules, so I could not say, if a given string might be read as date or not. I can only try to interpret it if I see the results: 12 2 3 oct08 02OCT2008 seems like SAS takes the first number which is identifyable as such, that's 2 and ignores the 3. Sounds like: "search the first num part. If found, search for the first char and pick out 3 chars, starting with the first for the month. Then look for the next number and test if it is in the range between 0 and 99 (two places) or >1533 (not really sure, around that the Gregorian calender starts, belo...

How can I get the mean of all elements of a 2D Array?
I found a VI to extract the minimal and maximal value of a array, but not the mean. Is there another possibility? Thanks Simon Use the Mean function.:smileywink: On the function palette, right at the very top, is a button called 'Search'. "Mean" is such a simple function, you should make your own. The following code works for 2D, 3D, 4D, etc. arrays. :D <img src="http://forums.ni.com/attachments/ni/170/198999/1/2Dmean.png"> (You might suggest to NI that "mean" should be made polymorphic with respect to array dimensionality.)Message Edited by alte...

How get on a computer from a lan?
I have a pc IBM Netvista and I know that it's possible start it from the lan when connected at lan. Do you know a program, codes and how do it? TKS On Fri, 27 May 2005 13:17:17 -0300, Rudy <rudy@genesi.ws> wrote: > I have a pc IBM Netvista and I know that it's possible start it from the > lan when connected at lan. > Do you know a program, codes and how do it? > TKS you need a dhcp server, as well as nfs, i think that's it. should boot from net fine once you have that. -- Using Opera's revolutionary e-mail client: http://www.opera.co...

type 1 font install
I=B4m trying to install Serpentine font in a Miktex 2.6 system, but everything I do is to get error messages. First of all, I don't know how to rename the files properly. I know that the new names should start with "l", but I can't find information about this specific font to complete the new font names (according to Berry font naming scheme). Does anyone know how to find this information? Or even better, does anyone know the new font names for Serpentine font? Thanks for helping me, Smash. Smash wrote: > I�m trying to install Serpentine font in a Miktex 2.6 system, bu...

How to get a Maximal Image View in a Window?
*** post for FREE via your newsreader at post.newsfeed.com *** After I resized a (image) window how can I get the image maximized to fit the window? thanks Phuoc -- _/\__/\__/\__/\__/\__/\_ www.folksfun.com -----= Posted via Newsfeed.Com, Uncensored Usenet News =----- http://www.newsfeed.com - The #1 Newsgroup Service in the World! -----== 100,000 Groups! - 19 Servers! - Unlimited Download! =----- PC HUA <home-AT-huaonline.DOT.com> wrote: > *** post for FREE via your newsreader at post.newsfeed.com *** > > After I resized a (image) window how can I ...

How to get the function of the fitting surface?
Hi, all. I've some test data in three dimension. I can get the fitting surface by some function, e.g., the griddata function. I wanna to know whether MATLAB can get the function of the surface. If can, how to get it? Many thanks for your kind. bowlder. In article <41888f1d.47620859@news.cn99.com>, bowlder <bowlders@tom.com> wrote: > Hi, all. > I've some test data in three dimension. > I can get the fitting surface by some function, e.g., the griddata function. > I wanna to know whether MATLAB can get the function of the surface. > If can, how to get i...

How can you get sshd listinening TWO or more ports simultaneously?
How can you get sshd listinening TWO or more ports simultaneously? Cash Valentine wrote: > How can you get sshd listinening TWO or more ports simultaneously? man sshd_config Scan for "Port" and/or "ListenAddress". ...

How can i get VSC-88 Sound Canvas
Roland don't sell that if you're not buying something else...and i don't need something else ...any clue some one got a copy or ??? anything will help <jetteb@ca.ibm.com> wrote in message news:1128096404.059323.306750@g44g2000cwa.googlegroups.com... | Roland don't sell that if you're not buying something else...and i | don't need something else ...any clue some one got a copy or ??? | http://www.edirol.it/europe/details.asp?id=12&la=UK&gid=-1&gruppo=Search%20products&code=216 ...