Dear Merlin Developer,
I'm encountering an issue with TrafficMonitor on my RT-BE88U running the latest Merlin firmware: every time I reboot the router, some TrafficMonitor data is lost, specifically:
First tab (WAN port total traffic): The traffic statistics for the last hour before reboot are interrupted and not automatically restored.
I've tried the following solutions with limited success:
1. In the `/jffs/scripts/services-stop` script, I used `kill -USR1` and `kill -TERM` signals to trigger the `hour_monitor` process to save, but found:
- `USR1` causes the process to exit, but does not update the timestamp of the `tomato_rstats_*.gz` archive files on the USB disk.
- `TERM` can save device/app details, but cannot trigger a full archive of the total WAN traffic.
2. I attempted to locate command-line arguments for `hour_monitor`, but the process is deeply hidden and cannot be called directly.
3. Adding the `sync` command ensures filesystem writes, but cannot trigger the full archiving logic of `hour_monitor`.
I would greatly appreciate your guidance on:
1. Is there an officially recommended method in Merlin firmware to **fully save all TrafficMonitor data** (including total traffic archives and device/app details) before a reboot?
2. Does the `hour_monitor` process support specific signals or command-line arguments to trigger the exact same full archiving flow as the "auto-save every 1 hour" function in TrafficMonitor?
3. In the `services-stop` script, besides signals, are there other ways to call the save interface of the TrafficMonitor module?
Thank you very much for your development and maintenance. Looking forward to your reply!
Device: ASUS RT-BE88U
Firmware Version: 3006.102.7_alpha1-g77204f70e6
I'm encountering an issue with TrafficMonitor on my RT-BE88U running the latest Merlin firmware: every time I reboot the router, some TrafficMonitor data is lost, specifically:
First tab (WAN port total traffic): The traffic statistics for the last hour before reboot are interrupted and not automatically restored.
I've tried the following solutions with limited success:
1. In the `/jffs/scripts/services-stop` script, I used `kill -USR1` and `kill -TERM` signals to trigger the `hour_monitor` process to save, but found:
- `USR1` causes the process to exit, but does not update the timestamp of the `tomato_rstats_*.gz` archive files on the USB disk.
- `TERM` can save device/app details, but cannot trigger a full archive of the total WAN traffic.
2. I attempted to locate command-line arguments for `hour_monitor`, but the process is deeply hidden and cannot be called directly.
3. Adding the `sync` command ensures filesystem writes, but cannot trigger the full archiving logic of `hour_monitor`.
I would greatly appreciate your guidance on:
1. Is there an officially recommended method in Merlin firmware to **fully save all TrafficMonitor data** (including total traffic archives and device/app details) before a reboot?
2. Does the `hour_monitor` process support specific signals or command-line arguments to trigger the exact same full archiving flow as the "auto-save every 1 hour" function in TrafficMonitor?
3. In the `services-stop` script, besides signals, are there other ways to call the save interface of the TrafficMonitor module?
Thank you very much for your development and maintenance. Looking forward to your reply!
Device: ASUS RT-BE88U
Firmware Version: 3006.102.7_alpha1-g77204f70e6