hi list, is there a command to find out the date & time that centos installed? thanks T. Hiep
centos.users at digitalmedia.newsquest.co.uk
2007-Jun-15 13:27 UTC
[CentOS] installed centos date & time
On Friday 15 June 2007 12:55, Hiep Nguyen wrote:> hi list, is there a command to find out the date & time that centos > installed?One way would be to check the creation time of the install.log or upgrade.log in /root (providing you haven't deleted them). ls -lc --time-style=full-iso /root/*.log -- Best regards, Rob Hall - Red Hat Certified Engineer Senior Systems Administrator Newsquest Media Group Ltd, registered in England, number 1676637 Registered office: 58 Church Street, Weybridge, Surrey KT13 8DP
Hiep Nguyen wrote:> hi list, is there a command to find out the date & time that centos > installed? > > thanks > T. Hiep$ rpm -qi centos-release Name : centos-release Relocations: (not relocatable) Version : 5 Vendor: CentOS Release : 0.0.el5.centos.2 Build Date: Sun 08 Apr 2007 02:22:04 PM CDT Install Date: Thu 19 Apr 2007 03:04:00 PM CDT Build Host: builder6 Group : System Environment/Base Source RPM: centos-release-5-0.0.el5.centos.2.src.rpm Size : 35601 License: GPL Signature : DSA/SHA1, Sun 08 Apr 2007 02:33:45 PM CDT, Key ID a8a447dce8562897 Summary : CentOS release file Description : CentOS release files -- Bob Nichols Yes, "NOSPAM" is really part of my email address.
On 6/15/07, Hiep Nguyen <hiep at ee.ucr.edu> wrote:> hi list, is there a command to find out the date & time that centos > installed?rpm -qa --last | tail -n 1 This will give you the first package installed and the time it was installed, which should be the date the system was stood up. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
Message: 36 Date: Fri, 15 Jun 2007 04:55:03 -0700 (PDT) From: Hiep Nguyen <hiep at ee.ucr.edu> Subject: [CentOS] installed centos date & time To: centos at centos.org Message-ID: <Pine.LNX.4.64.0706150453301.15383 at storm.ee.ucr.edu> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed> hi list, is there a command to find out the date & time that centos > installed? > > thanks > T. Hiep# ll /root/install.log will give you this information. -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3