1836447 Members
2751 Online
110100 Solutions
New Discussion

STM reports 0 memory

 
Steve Martin_4
Occasional Contributor

STM reports 0 memory

When I run STM and select memory , information the report comes back with 0 memory. This is not
happening on all systems. I tried updating the version of STM to no avail. Any suggestions?
2 REPLIES 2
Pete Randall
Outstanding Contributor

Re: STM reports 0 memory

A simplistic suggestion:

Don't use STM to get memory info, use this script:


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



Pete

Pete
Stefan Farrelly
Honored Contributor

Re: STM reports 0 memory

The only other thing to try is updating the firmware on your server. Is it running the same firmware revision as the other servers which STM works properly on ?
Im from Palmerston North, New Zealand, but somehow ended up in London...