Compiling the Sample Program on Linux

You need a C compiler and the
make
program.
  1. Go to the
    docs/VMGuestAppMonitor/samples/C
    directory.
  2. Run the
    make
    command.
    On a 64-bit machine you might want to change
    lib32
    to
    lib64
    in the
    makefile
    .
  3. Set
    LD_LIBRARY_PATH
    as described above.
  4. Run the sample program. See below for program usage.
    ./sample