Operating System - HP-UX
1847591 Members
4733 Online
110265 Solutions
New Discussion

Re: image compile link date

 
Deepak kumar_3
Frequent Advisor

image compile link date

Hi,

How to know complie/link date of the Hp-UX image.

Deepak
6 REPLIES 6
Simon Hargrave
Honored Contributor

Re: image compile link date

What do you mean by "hpux image"? Do you mean the kernel? If so, an "ls -l /stand/vmunix" will show you the kernel creation date.

If not please give more details of what you require.
Mel Burslan
Honored Contributor

Re: image compile link date

I am under the impression that by means of image, you are referring to the hpux kernel making a resemblance to another flavor of unix where they call it system image. If this is right, you will not be able to find a single date but multiples in the output of following command:

what /stand/vmunix

hope this is what you are looking for
________________________________
UNIX because I majored in cryptology...
Florian Heigl (new acc)
Honored Contributor

Re: image compile link date

If You're not after the kernel, but really the size images install date, the following might give You the info You need:

root@lala:/prd/dvp/ora>swlist -v "UXCoreMedia" | more
# Initializing...
# Contacting target "lala"...
#
# swlist Installed Software Table of Contents
#
# For host: lala:/
#
# Date: Tue Jul 26 17:18:01 2005
#

# UXCoreMedia
vendor
tag HP
uuid
title "Hewlett-Packard Company"
description " Hewlett-Packard Company

If you have a software support contract with HP, please call the
HP Response Center. If not, please call your HP Sales Representative."
end
bundle
tag UXCoreMedia
software_spec UXCoreMedia,r=B.11.00.01,a=HP-UX_B.11.00_32/64,v=HP
data_model_revision 2.40
instance_id 1
control_directory UXCoreMedia
size 401257170
revision B.11.00.01
title HP-UX Media Kit (Reference Only. See Description)
description "
__________________________________________________________
Hewlett-Packard Company
UXCoreMedia
__________________________________________________________

This bundle represents ALL of the HP-UX products that are provided on
the HP-UX core media. It is not meant for installation. DO
NOT INSTALL THIS BUNDLE unless you want all languages installed on your
system. To install HP-UX on your system, mark and install the CDE Runtime
bundles in the language(s) desired plus other bundles
that contain functionality you desire."
mod_date Thu Feb 1 15:05:10 MET 2001
mod_time 981036310
create_date Wed Feb 9 17:40:28 MET 2000
create_time 950114428
install_date 200102011505.10
yesterday I stood at the edge. Today I'm one step ahead.
Deepak kumar_3
Frequent Advisor

Re: image compile link date

Hi,

No i have one C++ compile/linked image (for example hello.cpp is compile/linked and there is image hello) now i want to know the date when this file is compiled and linked.

Deepak
Mel Burslan
Honored Contributor

Re: image compile link date

unless you have cmpiled it yourself and have CVSlike repository for version tracking, I don't know a way to get this information out of the binary file. Try

what filename

and

file filename

commands but unless the programmer put this information in, they will not be there.

________________________________
UNIX because I majored in cryptology...
Florian Heigl (new acc)
Honored Contributor

Re: image compile link date

unless this data was saved in some debug symbol (check with file, then see gdb), I think there is no way for that.
yesterday I stood at the edge. Today I'm one step ahead.