Hi,
I am writing an ssh bash script to pull the wireless stats from an AP for connected client details, I am using
/interface wireless registration-table print stats
Is there any way to tell the script to only pull specific stats from this output, like last-ip, tx-ccq, etc ?
The script pulls the stats into bash and then I have been trying to manipulate the data there but the layout of each connected client is different , last-ip is on a different line, different position on line etc so I need to way to get the data in the same format all the time so I can use it.
Has anyone any suggestions on how to do this from a ssh script ?
Thanks,
Ger.