From 9fbfd9a1c2a1dc5ea20bf3b5c4cffe06482c6372 Mon Sep 17 00:00:00 2001 From: dittmanndennis Date: Tue, 3 Sep 2024 11:51:17 +0200 Subject: [PATCH] XQuartz installation to use plotting tool on MacOS --- docs/tools/consumption-monitoring.md | 11 ++++++++++- docs/tools/radio-monitoring.md | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/docs/tools/consumption-monitoring.md b/docs/tools/consumption-monitoring.md index 1558fbc..b1f74bf 100644 --- a/docs/tools/consumption-monitoring.md +++ b/docs/tools/consumption-monitoring.md @@ -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 @grenoble.iot-lab.info +``` ``` bash @grenoble:~$ plot_oml_consum -p -i ~/.iot-lab/last/consumption/m3_.oml diff --git a/docs/tools/radio-monitoring.md b/docs/tools/radio-monitoring.md index f5a316e..7946653 100644 --- a/docs/tools/radio-monitoring.md +++ b/docs/tools/radio-monitoring.md @@ -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 @grenoble.iot-lab.info +``` ``` bash @grenoble:~$ plot_oml_radio -a -i ~/.iot-lab/last/radio/m3_.oml