1833832 Members
3142 Online
110063 Solutions
New Discussion

SYSTEM REPORT

 
SOLVED
Go to solution
matthew mills
Frequent Advisor

SYSTEM REPORT

Is there a command that can give me a system hardware report? Like the RAM, CPU, hard drives, etc… ??
7 REPLIES 7
Uday_S_Ankolekar
Honored Contributor
Solution

Re: SYSTEM REPORT

# /opt/ignite/bin/print_manifest
Output of this will give you most of the details you wanted

-USA..
Good Luck..
Pete Randall
Outstanding Contributor

Re: SYSTEM REPORT

Matthew,

See attached.


Pete

Pete
Raj D.
Honored Contributor

Re: SYSTEM REPORT

Yes ,


1. sysinfo

sysinfo
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/sysinfo-3.3.1/


2. print_manifest which comes with Ignite-UX.

3. cfg2html from: http://come.to/cfg2html

4. nickel, u may search from: http://hpux.connect.org.uk/

ftp://ftp.hp.com/pub/catia/Utils/


Nickel is a very good script for system info. You can try the HP Nicket script , its a pretty good script and it generates the report in HTML format ,

Hope this can help you ,

Cheers,
Raj.



" If u think u can , If u think u cannot , - You are always Right . "
Pete Randall
Outstanding Contributor

Re: SYSTEM REPORT

Hmmm . . . . . maybe I should have pasted that rather than attaching it. Here goes:

If you have Ignite installed, you can use the print_manifest command.

You can also use SAM to display system properties (Sam -> Performance
Monitors -> System Properties).

There are also utilities like "cfg2html" ( http://come.to/cfg2html ),
"nickel" ( ftp://ftp.hp.com/pub/catia/Utils/nickel.shar ) and "sysinfo"
( http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/ ).

Finally, you can also obtain this information from the command line with a
series of little scripts like these:

CPU

HPUX=/stand/vmunix

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"


Number of CPUs

ioscan -k |grep -n processor |wc -l




RAM

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



Finally, you can obtain CPU speed and RAM without CSTM or root access as described by Nancy Rippey here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889


Pete

Pete
matthew mills
Frequent Advisor

Re: SYSTEM REPORT

Thanks!
RAC_1
Honored Contributor

Re: SYSTEM REPORT

Number of ways to do it.

1. print_manifest command. (You need to have ignite product installed.
2. cfg2html tool
3. sysinfo tool
4. nicketl tool
5. STM-support tool manager
echo "selall;info;wait;infolog" | cstm
There is no substitute to HARDWORK
Borislav Perkov
Respected Contributor

Re: SYSTEM REPORT

Hi Mathew,

print_manifest if you have Ignite
sysinfo from http://hpux.connect.org.uk/
cfg2html from http://come.to/cfg2html

For me the best is last one cfg2html.

Regards,
Borislav