How about the "machinfo" command? If you you have an 11.23 machine, that command is very valuable.
I don't think this exists in 8, 9 & 10.
I'm looking at writing a script that collects the hardware inventory, services running, host OS information then the software packages and files installed.
At the moment there is nothing like this, unless I use a commercial product like Peregrine ED, which I don't have several $million to spend.
Im surprised no one mentionned print_manifest
Do a man print_manifest... (started with 10.20 I think)
Great, thanks, I'll look at this when I get access.
What I'd really like to know is how to list packages and the files they own in HP/UX. Then I can incorporate the inventory with the other platforms I currently process.
Under Linux dpkg -l lists all packages and versions installed. Then dpkg -L lists which files and where the files are installed. I guess I'll have to write something different for each version of HP/UX.
this command will list what you want...
Now about packages in HPUX there is nothing called of the sort...
You would have products or filesets and both can be listed with swlist
e.g. swlist -l product or swlist -l fileset
Do a ma swlist
If you want to get all the files listed that belong to a fileset then use the -l file option of swlist
e.g.
HP-UX's SD devides SW into bundles (which only HP can package), products, subproducts, filesets, files.
With the swpackage command you can create SW depots if you provide
a Package Specification File.
Alternatively you can look up the contents of installed SW packages in the filesystem
beneath /var/adm/sw/<SW_SOFTWARE_SPEC>/pfiles/INDEX
There are also the sizes and checksums stored which an swverify will look up.
You can obtain a lot of system information if you query the Support Tools Manager which is part of the OnlineDiag SW package.
(try: $ /usr/sbin/swlist -l fileset OnlineDiag )
For instance you can say (which will also list the Serial No. that you need to file support cases)
If you want to know how much physical RAM your box has just substitute system above by memory.
Last edited by buffoonix; 08-30-2008 at 06:49 PM..
A big thanks, this is precisely what I was after. For the sake of executive summary reports I have to call them Applications/Packages with versions. As I become more discreet I suppose I can then call them Products and filesets for HP/UX.
Hi all,
I have googled around quite a bit and tried many different commands to get system information about my AIX 5.3 box but none of the commands I've used have given me quite what I'm looking for. I am interested in finding out the model of the motherboard, and amount of available RAM, the... (2 Replies)
Hi,
How to get the FreeBsd system hardware and software basic information using terminal command with guest login?
Here below i have specified some of the information i need. Please have a look at this and guide me.
OS Name:
OS Version :
OS Manufacturer:
OS... (2 Replies)
Hi,
How to get the Solaris system hardware and software basic information using terminal command with guest login?
Here below i have specified some of the information i need. Please have a look at this and guide me.
OS Name:
OS Version :
OS Manufacturer:
OS Configuration:
... (15 Replies)
Hi,
How to get the Linux system hardware and software basic information using terminal command ?
Here below i have specified some of the information i need. Please have a look at this and guide me.
OS Name:
OS Version :
OS Manufacturer:
OS Configuration:
OS Build Type:... (6 Replies)
Hi,
How to get the AIX system hardware and software basic information using terminal command with guest login?
Here below i have specified some of the information i need. Please have a look at this and guide me.
OS Name:
OS Version :
OS Manufacturer:
OS Configuration:
... (4 Replies)
Hey,
I am after the commands to get the following information for my Unix system:
default visual editor (i dont even know where to start with this one)
default window manager (this one either, no idea)
total quota (just the size, none of the other data. I've narrowed it down to quota -sv)... (1 Reply)
hi
I am new to this forum. hope to get help from u all.
how can i write these by using shell programming?
1. The name of the machine and the date/time at which the report was produced.
2. Licensing information such as the operating system revision level and license restrictions in terms of... (1 Reply)
Hi All,
I am new to Unix and am working on AIX ( rs6000 ). I am looking for the system info of the unix box like
1. Number of CPUs
2. CPU speed
3. RAM size
Your help is much appreciated
Thanks
rao. (6 Replies)
I'm just getting started with unix and would like to know 1) how to tell how big the harddrive is 2) how to tell if there are multiple harddrive installed on the machine 3) a relitavely easy way to tell what programs are installed on the machine.
I'm using Sun OS 5.6
Thanks (3 Replies)