1752653 Members
5863 Online
108788 Solutions
New Discussion юеВ

Re: Print_manifest

 
TYP3R
Frequent Advisor

Print_manifest

Hi Gurus

A very newbie questions. I'm trying to get infomation from a server like number of processor, processor speed, total memory and memory in each banks, size of hard drive etc.. I know there is a print_manifest in /opt/ignite/bin/print_manifest . Can you tell me the print_manifest file is a program that i run to get these information ? like ./print_manifest and if soo where does the out of that file store to?

Thanks in Advance

William
4 REPLIES 4
Torsten.
Acclaimed Contributor

Re: Print_manifest

/opt/ignite/bin/print_manifest is a binary.

For help, run

man print_manifest

The output will be send to the screen, but you can re-direct it to a file

/opt/ignite/bin/print_manifest > /tmp/manifest.output

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: Print_manifest

Hi William:

When you create an Ignite recovery tape a print_manifest is automatically created as:

'/var/opt/ignite/recovery/latest/manifest'

Regards!

...JRF...
J. Bravo
Respected Contributor

Re: Print_manifest

Hi!

print_manifest is a tool provided by Ignite, the output of the command is placed into /var/opt/ignite/local/manifest. When I need to know the server configuration I use cfg2html, it's a free of charge tool.

www.cfg2html.com

Regards;

J. Bravo.
Pete Randall
Outstanding Contributor

Re: Print_manifest

The are several ways to obtain this information:

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/ ).

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}')

#Note: for 11.23 RISC, use
MHZ=$(echo itick_per_tick/D \ # echo "itick_per_usec/d" \
| adb -k $HPUX /dev/kmem \ # | adb $HPUX /dev/kmem
| tail -1 \ #For Itanium, use machinfo
| 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


Support Tools Manager (STM) CPU info:

echo "selclass qualifier cpu;info;wait;infolog" | cstm




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


Support Tools Manager (STM) RAM info:

echo "selclass qualifier memory;info;wait;infolog" | cstm




You can obtain CPU speed and RAM without CSTM or root access as described by Tom
Ferony (under Nancy Rippey's login) here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889


Pete

Pete