Est il possible de récupérer les fichiers LOG des données d’exécutions sur un nœud déployé dans le testbed IoT-LAB? Si oui, comment y procéder?
Comment récupérer les données de l’expérimentation sur IoT-LAB


Bonjour @MohamedMoh ,
Les logs d’execution sur les noeuds sont stockes sur les serveurs SSH des sites. Ainsi si vous utilisez 2 noeuds M3 sur le site de Grenoble vous pouvez les recuperer de cette facon
ssh $IOTLAB_LOGIN@grenoble.iot-lab.info
<login>@grenoble:~$ ls .iot-lab/<exp_id>/log/m3_<id>.log
<login>@grenoble:~$ ls .iot-lab/last/ # pointe vers la derniere experience si vous ne voulez pas specifier le <exp_id>
Cordialement

Thank you so much @fsaintma your comment is very helpful. Now I can access to the log file. But it seems that the log file does not save all the messages we can see on the terminal during the simulation running. For instance, If I like to collect the temperature value at a given moment, how should I get that information? In addition, I wonder if there is a way to save the log files into a local repositary, my PC for example, for further processing.
All the best!

Here you are talking about something different, which is the serial link output.
There is no automatic backup of it during an experiment. It is a the user’s charge to set up a way to store it. The easiest way is to redirect the output to a text file, like running this command from the SSH frontend:
<IOTLAB_LOGIN>@<site>$ nc m3-<id> 20000 > output.txt
For regular use on the testbed, users may use the Serial Aggregator tool instead of nc
to get the output of all the nodes of the experiment.
We also provide an advanced way to automatize this thanks to the Run Script feature.

Thanks for this help. Every thing is well explained in the following ink [serial link out put aggregator + script aggregator using SSH].

You’re welcome!
And just to be more specific regarding your topic title, don’t consider it as simulation, as it does not run in a simulator, but on real hardware. It’s ‘experimentation’

Done.