1850512 Members
2335 Online
104054 Solutions
New Discussion

Re: HP Hardware

 
J_105
Occasional Advisor

HP Hardware

HI,
I'm very new to HP. I need to find out some information. Where do I find the information about HP's
1)IDE Controller
2)Memory
3)monitor
4)Multimedia controller
5)network
6)ports
7)processor(CPU info)

Thank you.
12 REPLIES 12
Denver Osborn
Honored Contributor

Re: HP Hardware

Is this information needed for an HP Workstation or PC?

Please post what model of Workstation or Computer that you're looking for information on and I can point you to the specs for it.

-denver
J_105
Occasional Advisor

Re: HP Hardware

well,I don't want for any particular workstation or PC. I want to check for the hardware info in general. I mean,in which directory on the machine ,this info is stored.like for linux,processor information is stored in
/proc/cpuinfo.
Bill Hassell
Honored Contributor

Re: HP Hardware

Run the command: print_manifest and you'll get everything you need. If print_manifest is not on the system then contact your system administrator ASAP as this is a basic requirement to recover from a boot disk failure. Another useful command is: ioscan -kf


Bill Hassell, sysadmin
Con O'Kelly
Honored Contributor

Re: HP Hardware

Hi

As Bill has said ioscan is a very useful command to determine hardware on your system .

However it does not provide any indepth information on the specific hardware. I'd suggest you also look at Support Tools Manager but exercise care using it if your are not familiar with how it works.

For example:
# cstm
cstm> sel dev all
cstm> info
cstm> infolog

This will provide you with detailed information on all hardware including CPU type, RAM etc

There is also a GUI version which is easier to use.
For example:
# xstm

Click "Device" menu -> Select -> All
Then click "Tools" menu -> Information -> Run
Then click "Tools" menu -> Information -> Information Log
This will give you a report on system hardware and give you options to save as a text file etc.

Cheers
Con
J_105
Occasional Advisor

Re: HP Hardware

Thanks for the reply. But my problem is still not solved.
I want such command or filename which will exist on every machine. I dont want any prereq for them.
ioscan -kf doesnt provide the information I'm looking for. print_manifest or stm are not on my machine.

any other solutions????
Thanks.
Radim Jarosek
Regular Advisor

Re: HP Hardware

Hi,

as guys wrote, the best solution for you is command print_manifest. Nevertheless, you can write script yourself to collect information which you want.

Some example for you can be

http://come.to/cfg2html


HTH

Radim
Pete Randall
Outstanding Contributor

Re: HP Hardware

There are also websites where you can info on a variety of HP PA-RISC products:

Servers:
http://whp-sp-orig.extweb.hp.com/country/us/eng/prodserv/servers.html

Workstations:
http://www.hp.com/workstations/risc/index.html


Pete


Pete
J_105
Occasional Advisor

Re: HP Hardware

well,no luck yet!!
In which file on the machine ,CPU information is stored?If I want to look for the memory and CPU information on my machine, where do I look for?
Steven E. Protter
Exalted Contributor

Re: HP Hardware

The cstm utility can tell you how much memory and what type there is on your machine.

It can probably also help you with the cpu.

CPU speed and number information is available in X-Windows xstm and by booting the machine at the console. At boot time there is a display of CPU status and information.

If the machine is newer, at the console you can use GSP.

Ctrl-B
Hit enter twice.

Type help

hit enter

There are lots of utilities for finding out information on your system hardware.

Do any HP-UX boxes use IDE controllers?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jeff Schussele
Honored Contributor

Re: HP Hardware

Hi j,

Your problem is you're thinking too much in a Wintel mindset. These are not Intel Windows systems, they are HP PA-RISC systems & as such do not have a *single* file where all this can be found.
As mentioned several times the print_manifest command is your best bet to get all this info with a single command.
It's part of the Ignite-UX product & would be located in the /opt/ignite/bin directory.
If you don't have it then you should DEFINITELY get it & install it. It's FREE & can be obtained here:

http://www.software.hp.com/products/IUX/index.html

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
J_105
Occasional Advisor

Re: HP Hardware

Hi,
I used print_manifest and it alomost gives all the information I'm looking for except CPU frequency and CPU version. So I have written this little c program.It gives CPU frequency but not CPU version. Can you pls help me to modify the code sothat I can get CPU version.

Thanks all.

#include
#include
#include


/*
* Example 2: get information about all processors, first obtaining
* number of processor context instances
*/


main()
{
struct pst_dynamic psd;
struct pst_processor *psp;


if (pstat_getdynamic(&psd, sizeof(psd), (size_t)1, 0) != -1) {
size_t nspu = psd.psd_proc_cnt;
psp = (struct pst_processor *)malloc(nspu * sizeof(*psp));
if (pstat_getprocessor(psp, sizeof(*psp), nspu, 0) != -1) {
int i;
for (i = 0; i < nspu; i++) {
int clock = psp[i].psp_iticksperclktick;
(void)printf("%d MHz on processor #%d\n",
clock/10000, i);
}
}
else
perror("pstat_getprocessor");
}
else
perror("pstat_getdynamic");
}
Pete Randall
Outstanding Contributor

Re: HP Hardware

There is no "file" that contains this information. You need to obtain it by querying the running kernel. I use something like this:


echo `hostname` "is a " `model |sed 's/9000\/800\///' |sed 's/9000\/899\///'` "with" `ioscan -k |grep -n
processor |wc -l` `cpuspeed` "Mhz processors and" `memory` "KB of memory" >> /tmp/diskmap.out




The cpuspeed script looks like this:

HPUX=/stand/vmunix

MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ




The memory script looks like this:

HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" | adb $HPUX /dev/kmem | grep "${MYSYMBOL}: *." | awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM




Hope this is more what you're looking for.


Pete


Pete