Installing the Gator daemon

In this section of the guide, we will install the Gator daemon. There are two ways to get the Gator daemon software:

  • A pre-compiled executable that is provided with Arm Development Studio. This can be copied to the Raspberry Pi and run.
  • An open-source project on github. The source code can be downloaded, compiled on the Raspberry Pi, and run.

Let’s look at each in turn.

Installing the gatord executable

To copy gatord from the Arm DS installation, follow these steps:

  1. Use the Linux scp command and substitute the IP address of your Raspberry Pi.

For example:

$ scp $ARMDS_HOME/sw/streamline/bin/arm/gatord  pi@192.168.68.121:~/ 
Building gatord from source code

To download the source code from github and compile it, follow these steps:

  1. Download the software, using the following commands:
    $ git clone https://github.com/ARM-software/gator.git
    $ cd daemon 
    $ make
  2. Start the Gator daemon with root privileges for system profiling. Starting it without root limits the visibility to only those processes that are owned by the user account. The gator command is:
    $ sudo gatord  &
Previous Next