title: Is it possible to programmatically obtain bandwith actual usage from a Zyxel-P660HW-D1 DSL router?
body: <blockquote>
    <p>This question comes from a similar one <a href="https://stackoverflow.com/questions/37644047/how-can-i-parse-grep-awk-etc-data-on-interactive-menu-style-text-interface">here</a></p>
  </blockquote>
  
  <p>I have a couple of old <strong>Zyxel-P660HW-D1</strong> DSL router devices, and would like to make some script to obtain the actual <strong>bandwith</strong> ussage.<br>
  But this device features a management text console options-based:</p>
  
  <pre><code>               Copyright (c) 1994 - 2010 ZyXEL Communications Corp.
  
                            P-660HW-D1 Main Menu
  
   Getting Started                      Advanced Management
     1. General Setup                     21. Filter Set Configuration
     2. WAN Backup Setup                  22. SNMP Configuration
     3. LAN Setup                         23. System Security
     4. Internet Access Setup             24. System Maintenance
                                          25. IP Routing Policy Setup
   Advanced Applications                  26. Schedule Setup
     11. Remote Node Setup
     12. Static Routing Setup
     14. Dial-in User Setup               99. Exit
     15. NAT Setup
  
                        Enter Menu Selection Number:
  </code></pre>
  
  <p>... and, even when it has some (very) rudimentary (not linux) <strong>shell</strong> embedded, I can not figure how to obtain these data:</p>
  
  <ul>
  <li>Actual <strong>download bandwidth</strong> ussage.</li>
  <li>Actual <strong>upload bandwidth</strong> ussage.</li>
  </ul>
  
  <p>KBs/second (whether be it bits or bytes) would be fine. Percent of total would enough too.  </p>
  
  <p>Can this be done?</p>