On 2/10/21 9:46 AM, Grant Taylor wrote:
Now I just need to put together a simple script to parse /proc/net/fib_triestat. I suspect awk, or maybe even sed, will do quite nicely.
sed -n '/Id 13:/,/^$/p' /proc/net/fib_triestat | sed -n '/Prefixes:/p' | sed 's/ Prefixes //'
That's a tab before Prefixes and seven (7) spaces afterwards. I'd like to have something more graceful. But it's a start. Thank you again Anton. -- Grant. . . . unix || die
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature