Hi AIX Gurus,
what's the best way to get the date of OS installation?
Thx!
Printable View
Hi AIX Gurus,
what's the best way to get the date of OS installation?
Thx!
Marcin wrote:[color=blue]
> Hi AIX Gurus,
>
> what's the best way to get the date of OS installation?[/color]
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
hi experts
i checked, i'm not beleving it would be correct.
tell in another way......
vinayag
Hajo Ehlers wrote:[color=blue]
> Marcin wrote:[color=green]
> > Hi AIX Gurus,
> >
> > what's the best way to get the date of OS installation?[/color]
>
> 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[/color]
It works by me.
I made a small modification -- I list only "bos.rte.*" family ( lslpp
-ch "bos.rte.*" .... ).
Thanks Hajo.
--
Greets,
Mrc
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.