Previous Next
Environment variables

SNiFF+ needs two environment variables, SNIFF_DIR and PATH . The environment variables should be set in the .login file of the SNiFF+ user. Furthermore, a third variable, SNIFF_SESSION_ID , may be set before starting a new SNiFF+ session (see Multiple simultaneous SNiFF+ sessions).
SNIFF_DIR
This environment variable can be set on Windows via the Control Panel.
On Unix:

setenv SNIFF_DIR <sniff_directory>
(for csh)
SNIFF_DIR=<sniff_directory>; export SNIFF_DIR
(for sh or ksh)

where <sniff_directory> is the root of the directory tree of your SNiFF+ installation.
PATH
This environment variable can be set on Windows via the Control Panel.
On Unix:

set path = ($SNIFF_DIR/bin $path)
(for csh)
PATH=$SNIFF_DIR/bin:$PATH; export PATH
(for sh or ksh)

As is the case for any X-window application, the DISPLAY variable must be set to point to the server where the SNiFF+ windows should appear.
LM_LICENSE_FILE
The
LM_LICENSE_FILE variable has to point to a valid license file if it is not at its default location as suggested by the Installation Guide. For more information please refer to the Installation Guide or your FLEXlm documentation. The license file can also be specified with the -c command line option of sniff . The following setting shows a configuration where the license file is located in the SNiFF+ installation directory:

setenv LM_LICENSE_FILE <sniff_directory>/ license.dat
(for csh)
LM_LICENSE_FILE=<sniff_directory>/license.dat;
export LM_LICENSE_FILE
(for sh or ksh)

If you want to use a license administrated by a license server on a remote machine, check for the host name and port number in the license.dat file (in the line starting with SERVER ). Then set the LM_LICENSE_FILE variable to < port number >@< hostname > . In this way, when you start SNiFF+ on your local machine it will use the license administered by the license server on the remote machine.

Previous Next