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
gatord from the Arm DS installation, follow these steps:
- Use the Linux
scpcommand and substitute the IP address of your Raspberry Pi.
$ scp $ARMDS_HOME/sw/streamline/bin/arm/gatord firstname.lastname@example.org:~/
Building gatord from source code
To download the source code from github and compile it, follow these steps:
- Download the software, using the following commands:
$ git clone https://github.com/ARM-software/gator.git $ cd daemon $ make
- 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 &