LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.SetGObjectLock

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax

val=lp.SetGObjectLock('GObjectName','0/1')

Description

Set unset the locked status. An Object become locked when accesses to this Object are performed concurently or when it has not being freed by a process.

Parameters

GObjectName - the name of the Global Object

0/1 - 0 set to unlocked, 1 set to locked

Return Values

value : 1 if succeeded

Return nil if an error occurs

Example

val=lp.SetGObjectLock('SERVER_1',0)

 


www.loriotpro.com