==================
Install Winpower 
==================

        1.  Enter /HPUX directory. If system is running in GUI mode, double click setup.bin to start the installation. If system is running in Text mode, execute ./setup_console.bin to start the installation. 
        2.  Read the information provided, then press ENTER to continue the installation. 
        3.  When the installation program is completed,reboot the system to set enviroment variables for Winpower(which is set in /etc/profile).
        4.  Check whether the SHLIB_PATH environment variable correctly pointed to shared library path /opt/MonitorSoftware/lib,

            echo $SHLIB_PATH

            if not, you must set it manually.
            
            SHLIB_PATH=/opt/MonitorSoftware/lib:$SHLIB_PATH
            export SHLIB_PATH


==============        
Run Winpower
==============
        1.  Start Agent
            Open the Termenal,execute command:
            cd /opt/MonitorSoftware/
            ./agent start
            
        2.  Start Manager
            execute command:
            cd /opt/MonitorSoftware/
            ./monitor
            
        3.  Get Full Access
            In "System" menu, click "Act as Administrator" menu item to start the "Administrator" dialog, enter correct password to get full access.
            The default password is set to "Administrator".It can be changed in "Modify Administrator Password" dialog.
          
        4.  Communicate with UPS
            In "System" menu, click "Auto Search UPS" menu item to auto search the UPS connected with Computer.


====================        
Stop Winpower
====================
        1.  Close Manager.
        2.  Open the Terminal, enter "/opt/MonitorSoftware" directory:
            and execute command:
            ./agent stop
            

=======================
Uninstall Winpower
=======================         
         1. Open the Termenal,execute command:
            cd /opt/MonitorSoftware/
            ./Uninstall

    
==================================
kernel parameter configuration
==================================
	If you meet this problem as a Java Out of Memory error when running winpower, maybe three kernel parameters need to be increased.
	1.max_thread_proc -- The maximum number of threads allowed in each process,must set larger than 64.
	2.nkthread -- The total number of kernel threads allowed in the system.(winpower starts about 80 threads.)
        3.maxdsiz -- The maxinum size of data segment of a process. Recommand this value be set larger than 128Mb.

 
	Your may set these parameters in SAM.
	
