Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XQuartz installation to use plotting tool on MacOS #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docs/tools/consumption-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,16 @@ content: text
1.341448 1 3 1379945918 312317 0.053384 3.272500 0.016322
```

We provide an OML plotting tool which helps you to analyse monitoring data.
We provide an OML plotting tool which helps you to analyse monitoring data. To use the plotting tool on MacOS you have to install XQuartz. Make sure to reboot your machine after the installation is complete.

``` bash
# ONLY for MacOS user

$ brew install --cask xquartz
$ sudo reboot
# Connect using -X option to enable X11 forwarding
$ ssh -X <login>@grenoble.iot-lab.info
```

``` bash
<login>@grenoble:~$ plot_oml_consum -p -i ~/.iot-lab/last/consumption/m3_<id>.oml
Expand Down
11 changes: 10 additions & 1 deletion docs/tools/radio-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,16 @@ content: text

RSSI stands for Received Signal Strength Indication. It is the relative received signal strength in a wireless environment. In IoT-LAB, measured RSSI values provide an indication of the radio power level received by the antenna of the `Control Node` hardware. The RSSI value is expressed in dBm (Decibel-milliwatts), and represents the power ratio in decibels (dB) of the measured power referenced to one milliwatt (mW). A power level of 0 dBm corresponds to 1mW.

We provide an OML plotting tool which helps you to analyse monitoring data.
We provide an OML plotting tool which helps you to analyse monitoring data. To use the plotting tool on MacOS you have to install XQuartz. Make sure to reboot your machine after the installation is complete.

``` bash
# ONLY for MacOS user

$ brew install --cask xquartz
$ sudo reboot
# Connect using -X option to enable X11 forwarding
$ ssh -X <login>@grenoble.iot-lab.info
```

``` bash
<login>@grenoble:~$ plot_oml_radio -a -i ~/.iot-lab/last/radio/m3_<id>.oml
Expand Down