networktocode / ntc-templates

TextFSM templates for parsing show commands of network devices
https://ntc-templates.readthedocs.io/
Other
1.12k stars 730 forks source link

Fix a few minor issues with Arista 'show_processes_top_once' #1844

Closed ktbyers closed 2 months ago

ktbyers commented 2 months ago

There was a trailing space at the end of my "swap" line output.

CPU lines would fail if CPU was ever 100% (for example, 100% idle). In this case there would be no whitespace:

%Cpu(s):  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

Both of these items just came up in my testing.