Start and stop the license manager In Peoplesoft Cobol

How to Start and stop the license manager


1)  Must be logged in as  root

2)  Check status & stop
    cd $COBDIR/lmf
     lmfgetpv                      <<  Shows Status
     lmfgetpv k                   <<  Stops LMF

3)  To start
     cd /usr/lib/mflmf          ( on AIX  it would be /opt/lib/mflmf on other OS's )
     sh ./mflmman

>>>>>>> 
Verify the status that the License Manager is running
./lmfgetpv            If it is running this command will return the version number of the running License Manager & the path from where it was loaded.

Starting the License Manger
./mflmman [FORCE | WAIT] [TRACE]
            Force = The License Manager does not by default start up if there are still licensed tasks running that were started from a previous run.  When this happens, you can use FORCE to force the License Manager to first terminate the previously started tasks & then to start.     
            Wait = This suspends the License Manager until any outstanding licensed tasks from a previous License Manager have finished.  Use this when you do no want the existing licensed tasks to be terminated prematurely, and want to wait until they have finished naturally.
            Trace = Creates a log of the License Manager activity in MF-LMF.log
Stopping the License Manager
./lmfgetpv k      This will stop the License Manager