Operating System - HP-UX
1837243 Members
5986 Online
110115 Solutions
New Discussion

Monitor Power Supply of the Server via Command

 
amir238
New Member

Monitor Power Supply of the Server via Command

hi,

Is there any command or tool available to check the status of Power Supplies in the system. Pls advise.

Thanks & rgds.
Amir
7 REPLIES 7
Rasheed Tamton
Honored Contributor

Re: Monitor Power Supply of the Server via Command

Hi Amir,

You can use stm. Or the command line mode cstm.

Regards,
Rasheed Tamton.
Rasheed Tamton
Honored Contributor

Re: Monitor Power Supply of the Server via Command

cstm <
amir238
New Member

Re: Monitor Power Supply of the Server via Command

hi temton,

Thanks for your prompt reply.
i tried to run but /var/tmp/system.cstm not created. Pls advise.

rgds
Amir
amir238
New Member

Re: Monitor Power Supply of the Server via Command

hi tamton,
I checked the output on screen and no info available for the power supplies.

Pls advise.

rgds
Amir
Rasheed Tamton
Honored Contributor

Re: Monitor Power Supply of the Server via Command

Hi Amir,

#swlist -l product|grep -i "support tools"
Tool-Mgr B.11.11.16.09 Support Tools Manager for HPUX systems

#ps -ef|grep stm

STM has to be installed and running on the system to use the command.

If it is installed and not running, you can start it by running /sbin/init.d/diagnostic start

If it is running do the below command:
echo "scl type system;info;wait;infolog" |/usr/sbin/cstm|more

echo "scl type system;info;wait;infolog" |/usr/sbin/cstm > /var/tmp/system.stm

Regards,
Rasheed Tamton.

Torsten.
Acclaimed Contributor

Re: Monitor Power Supply of the Server via Command

Hi,

what hardware we are talking about?

For most servers:

Logon to the MP and run PS (power status)

MP:CM> ps

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!   
Safarali
Valued Contributor

Re: Monitor Power Supply of the Server via Command

Tamton I also joining this session
I tried this command but it does not showing power supply output
mp console will give power supply status
but is any command line available in hP
in SUN prtdiag give will status fan, power supply temperature etc.

Safar