cellinfo/2—retrieve cell-specific  information


The cellinfo/2  function retrieves cell-specific  information. The syntax for this function is as follows:

cellinfo($FIELD,$INFO)
$INFO=cellinfo($FIELD)

cellinfo/2 arguments

Argument

Mode

Type

Description

$FIELD

Input

STRING

Specifies the desired information item to be retrieved

$INFO

Output

STRING
LIST_OF STRING

Retrieved cell information

Use the cellinfo/2 function to obtain the information item specified in $FIELD and return the information in $INFO.

The following information fields are defined:

Field

Description

HomeDir

Home directory of the cell

HostName

Name of the host computer on which the cell is running

IPAddress

IP address of the host computer on which the cell is running

Platform

Platform identifier of the computer on which the cell is running

CellName

Name of the cell

CellRelease

Release version of the cell

CellBuild

Build number of this version of the cell

CellDate

Build date of this version of the cell

Param

Value of the configuration parameter Param

LogDir

Log directory of the cell

Location

IP address or port number of the cell service

TmpDir

Temporary directory of the cell

KBDir

KB directory of the cell

DirFile

Directory file (mcell.dir) of the cell

ConfigFile

Configuration file of the cell

TraceDestination

List of defined trace destination files (of the type LIST_OF STRING)

cellinfo/2 example

$E.mc_host = cellinfo(HostName);

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*