Configure Linux/UNIX Agent
From ServersCheck Wiki
Installing and Executing on HP-UX
To install The System Info Listing Server on HP-UX open a new terminal, as shown below.
Go to directory where is server.c file is copied using UNIX cd (change directory) command, and type the following line.
The following table describes command line parameters necessary for the installation
| Parameter | Description |
|---|---|
| gcc | GNU C compiler |
| server.c | C file that needs to be compiled |
| serv | Name of the executable |
On some UNIX systems, gcc compiler may be installed, but the environment of the user who will be installing this application may not have the necessary environment variables.
In order to run gcc on HP-UX system, the following variables have to be set to run the program type:
PATH=$PATH:/usr/local/bin
The next table describes the command line parameters for the program:
| Parameter | Description |
|---|---|
| ./serv | Run serv executable from current directory |
| > serv.out | Redirect output of the program to serv.out file |
| & | Run as a background process |
Installing and Executing on SUN SOLARIS
To install The System Info Listing Server on Sun Solaris, open a new terminal as shown below.
Go to the directory where server.c file is copied using UNIX cd (change directory) command, and then type the following line:
The next table describes the command line parameters necessary for the installation:
| Parameter | Description |
|---|---|
| gcc | GNU C compiler |
| server.c | C file that needs to be compiled |
| serv | Name of the executable |
| -lsocket | Links serv executable with socket library |
On some UNIX systems, gcc compiler may be installed, but the environment of the user who will be installing this application may not have necessary environment variables.
In order to run gcc on a Sun Solaris system, the following variables have to be set:
PATH=$PATH:/usr/local/bin
LD_LIBRARY_PATH=$ LD_LIBRARY_PATH:/usr/local/lib
To run the program type:
The next table describes the command line parameters for the program:
| Parameter | Description |
|---|---|
| ./serv | Run serv executable from current directory |
| > serv.out | Redirect output of the program to serv.out file |
| & | Run as a background process |
Installing and Executing on LINUX
To install The System Info Listing Server on Linux, open a new terminal as shown below:
Go to directory where server.c file is copied using Linux cd (change directory) command, and then type the following line:
gcc server.c -o serv
The next table describes the command line parameters necessary for the installation:
| Parameter | Description |
|---|---|
| gcc | GNU C compiler |
| server.c | C file that needs to be compiled |
| serv | Name of the executable |
| -lsocket | Links serv executable with socket library |
On some Linux systems, gcc compiler may be installed, but the environment of the user who will be installing this application may not have the necessary environment variables. In order to run gcc on a Linux system, the following variables have to be set to run the program type:
PATH=$PATH:/usr/bin
The next table describes the command line parameters for the program:
| Parameter | Description |
|---|---|
| ./serv | Run serv executable from current directory |
| > serv.out | Redirect output of the program to serv.out file |
| & | Run as a background process |
The latest Linux Agent release can be found in the add-ons subdirectory of the main folder of the trial version of the ServersCheck Monitoring Software.







