From d142ccea69a3489317fd6d2542c5b31c6046865d Mon Sep 17 00:00:00 2001 From: Joseph Nicholson Date: Thu, 28 Nov 2024 18:50:26 -0600 Subject: [PATCH 01/12] adding juniper_junos_show_system_processes_brief.textfsm support --- ..._junos_show_system_processes_brief.textfsm | 27 ++++++++++++++ ...iper_junos_show_system_processes_brief.raw | 24 +++++++++++++ ...iper_junos_show_system_processes_brief.yml | 35 +++++++++++++++++++ 3 files changed, 86 insertions(+) create mode 100644 ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm create mode 100644 tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw create mode 100644 tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm new file mode 100644 index 0000000000..9a75f0bb10 --- /dev/null +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -0,0 +1,27 @@ +Value NODE (\D+\d+) +Value MEMORY_FORMAT (\w) +Value SWAP_FORMAT (\w) +Value MEM_ACTIVE (\d*\D*\d*) +Value MEM_FREE (\d*\D*\d*) +Value MEM_USED (\d*\D*\d*) +Value MEM_BUFFER (\d*\D*\d*) +Value SWAP_TOTAL (\d*\D*\d*) +Value SWAP_FREE (\d*\D*\d*) +Value SWAP_USED (\d*\D*\d*) +Value SWAP_AVAIL (\d*\D*\d*) + +Start + ^------------------------------- + ^node:\s*${NODE} + ^------------------------------- + ^top\s* + ^Tasks:\s* + ^\%Cpu + ^${MEMORY_FORMAT}iB\s*Mem\s*:\s*${MEM_ACTIVE}\s*total,\s*${MEM_FREE}\s*free,\s*${MEM_USED}\s*used,\s*${MEM_BUFFER}\s*buff/cache\s* + ^${SWAP_FORMAT}iB\s*Swap:\s*${SWAP_TOTAL}\s*total,\s*${SWAP_FREE}\s*free,\s*${SWAP_USED}\s*used\.\s*${SWAP_AVAIL}\s*avail\s*Mem\s* -> Record + ^\s+\S+ + ^\s*$$ + ^{master} + ^. -> Error + +EOF diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw new file mode 100644 index 0000000000..9350e76d57 --- /dev/null +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw @@ -0,0 +1,24 @@ +------------------------------- +node: fpc0 +------------------------------- +top - 00:49:18 up 149 days, 5:29, 0 users, load average: 0.85, 1.08, 0.99 +Tasks: 271 total, 1 running, 270 sleeping, 0 stopped, 0 zombie +%Cpu(s): 2.0 us, 0.8 sy, 0.0 ni, 97.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st +MiB Mem : 31554.4 total, 17292.4 free, 10600.3 used, 3661.7 buff/cache +MiB Swap: 100.0 total, 100.0 free, 0.0 used. 19854.3 avail Mem +------------------------------- +node: re0 +------------------------------- +top - 00:49:18 up 149 days, 5:32, 1 user, load average: 1.01, 0.97, 0.93 +Tasks: 536 total, 1 running, 533 sleeping, 0 stopped, 2 zombie +%Cpu(s): 1.5 us, 0.3 sy, 0.0 ni, 97.6 id, 0.0 wa, 0.3 hi, 0.3 si, 0.0 st +MiB Mem : 128191.6 total, 65543.4 free, 17551.4 used, 45096.8 buff/cache +MiB Swap: 8192.0 total, 8192.0 free, 0.0 used. 108490.7 avail Mem +------------------------------- +node: re1 +------------------------------- +top - 00:49:18 up 149 days, 5:32, 0 users, load average: 0.30, 0.29, 0.27 +Tasks: 407 total, 1 running, 406 sleeping, 0 stopped, 0 zombie +%Cpu(s): 2.1 us, 2.7 sy, 0.0 ni, 94.6 id, 0.0 wa, 0.3 hi, 0.3 si, 0.0 st +MiB Mem : 128191.6 total, 93230.9 free, 6286.2 used, 28674.5 buff/cache +MiB Swap: 4096.0 total, 1131.7 free, 2964.2 used. 119812.1 avail Mem \ No newline at end of file diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml new file mode 100644 index 0000000000..d9e49dc1db --- /dev/null +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml @@ -0,0 +1,35 @@ +--- +parsed_sample: + - mem_active: "31554.4" + mem_buffer: "3661.7" + mem_free: "17292.4" + mem_used: "10600.3" + memory_format: "M" + node: "fpc0" + swap_avail: "19854.3" + swap_format: "M" + swap_free: "100.0" + swap_total: "100.0" + swap_used: "0.0" + - mem_active: "128191.6" + mem_buffer: "45096.8" + mem_free: "65543.4" + mem_used: "17551.4" + memory_format: "M" + node: "re0" + swap_avail: "108490.7" + swap_format: "M" + swap_free: "8192.0" + swap_total: "8192.0" + swap_used: "0.0" + - mem_active: "128191.6" + mem_buffer: "28674.5" + mem_free: "93230.9" + mem_used: "6286.2" + memory_format: "M" + node: "re1" + swap_avail: "119812.1" + swap_format: "M" + swap_free: "1131.7" + swap_total: "4096.0" + swap_used: "2964.2" From fa93d51c390ef1369296e066ad32e0cd12f0d144 Mon Sep 17 00:00:00 2001 From: Joseph Nicholson Date: Sat, 4 Jan 2025 12:33:17 -0600 Subject: [PATCH 02/12] fixing issues from pull request --- ..._junos_show_system_processes_brief.textfsm | 18 +++++------ ...iper_junos_show_system_processes_brief.raw | 2 +- ...iper_junos_show_system_processes_brief.yml | 30 +++++++++---------- 3 files changed, 23 insertions(+), 27 deletions(-) diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 9a75f0bb10..39e5759f1e 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -1,27 +1,23 @@ Value NODE (\D+\d+) Value MEMORY_FORMAT (\w) Value SWAP_FORMAT (\w) -Value MEM_ACTIVE (\d*\D*\d*) -Value MEM_FREE (\d*\D*\d*) -Value MEM_USED (\d*\D*\d*) -Value MEM_BUFFER (\d*\D*\d*) +Value MEMORY_ACTIVE (\d*\D*\d*) +Value MEMORY_FREE (\d*\D*\d*) +Value MEMORY_USED (\d*\D*\d*) +Value MEMORY_BUFFER (\d*\D*\d*) Value SWAP_TOTAL (\d*\D*\d*) Value SWAP_FREE (\d*\D*\d*) Value SWAP_USED (\d*\D*\d*) Value SWAP_AVAIL (\d*\D*\d*) Start - ^------------------------------- + ^-+\s*$$ ^node:\s*${NODE} - ^------------------------------- ^top\s* ^Tasks:\s* ^\%Cpu - ^${MEMORY_FORMAT}iB\s*Mem\s*:\s*${MEM_ACTIVE}\s*total,\s*${MEM_FREE}\s*free,\s*${MEM_USED}\s*used,\s*${MEM_BUFFER}\s*buff/cache\s* - ^${SWAP_FORMAT}iB\s*Swap:\s*${SWAP_TOTAL}\s*total,\s*${SWAP_FREE}\s*free,\s*${SWAP_USED}\s*used\.\s*${SWAP_AVAIL}\s*avail\s*Mem\s* -> Record - ^\s+\S+ + ^${MEMORY_FORMAT}i*B\s*MEMORY\s*:\s*${MEMORY_ACTIVE}\s*total,\s*${MEMORY_FREE}\s*free,\s*${MEMORY_USED}\s*used,\s*${MEMORY_BUFFER}\s*buff/cache\s* + ^${SWAP_FORMAT}i*B\s*Swap:\s*${SWAP_TOTAL}\s*total,\s*${SWAP_FREE}\s*free,\s*${SWAP_USED}\s*used\.\s*${SWAP_AVAIL}\s*avail\s*MEMORY\s* -> Record ^\s*$$ ^{master} ^. -> Error - -EOF diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw index 9350e76d57..92cab1e995 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw @@ -21,4 +21,4 @@ top - 00:49:18 up 149 days, 5:32, 0 users, load average: 0.30, 0.29, 0.27 Tasks: 407 total, 1 running, 406 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.1 us, 2.7 sy, 0.0 ni, 94.6 id, 0.0 wa, 0.3 hi, 0.3 si, 0.0 st MiB Mem : 128191.6 total, 93230.9 free, 6286.2 used, 28674.5 buff/cache -MiB Swap: 4096.0 total, 1131.7 free, 2964.2 used. 119812.1 avail Mem \ No newline at end of file +MiB Swap: 4096.0 total, 1131.7 free, 2964.2 used. 119812.1 avail Mem diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml index d9e49dc1db..b3e1cf2d3b 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml @@ -1,32 +1,32 @@ --- parsed_sample: - - mem_active: "31554.4" - mem_buffer: "3661.7" - mem_free: "17292.4" - mem_used: "10600.3" - memory_format: "M" + - memory_active: "31554.4" + memory_buffer: "3661.7" + memory_free: "17292.4" + memory_used: "10600.3" + memoryory_format: "M" node: "fpc0" swap_avail: "19854.3" swap_format: "M" swap_free: "100.0" swap_total: "100.0" swap_used: "0.0" - - mem_active: "128191.6" - mem_buffer: "45096.8" - mem_free: "65543.4" - mem_used: "17551.4" - memory_format: "M" + - memory_active: "128191.6" + memory_buffer: "45096.8" + memory_free: "65543.4" + memory_used: "17551.4" + memoryory_format: "M" node: "re0" swap_avail: "108490.7" swap_format: "M" swap_free: "8192.0" swap_total: "8192.0" swap_used: "0.0" - - mem_active: "128191.6" - mem_buffer: "28674.5" - mem_free: "93230.9" - mem_used: "6286.2" - memory_format: "M" + - memory_active: "128191.6" + memory_buffer: "28674.5" + memory_free: "93230.9" + memory_used: "6286.2" + memoryory_format: "M" node: "re1" swap_avail: "119812.1" swap_format: "M" From 2c020f08f64df49f629c16417a66f36398bce30f Mon Sep 17 00:00:00 2001 From: Joseph Nicholson Date: Sun, 5 Jan 2025 12:11:20 -0600 Subject: [PATCH 03/12] fixing issues from pull request --- ntc_templates/templates/index | 3 ++- .../juniper_junos_show_system_processes_brief.textfsm | 7 +++---- .../juniper_junos_show_system_processes_brief.yml | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index f88cf397f7..cc531f110e 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -333,7 +333,7 @@ cisco_ios_show_nve_peers.textfsm, .*, cisco_ios, sh[[ow]] nv[[e]] p[[eers]] cisco_ios_show_route-map.textfsm, .*, cisco_ios, sh[[ow]] route-m[[ap]] cisco_ios_show_snmp_user.textfsm, .*, cisco_ios, sh[[ow]] sn[[mp]] u[[ser]] cisco_ios_show_ip_route.textfsm, .*, cisco_ios, sh[[ow]] ip r[[oute]] -cisco_ios_show_platform.textfsm, .*, cisco_ios, sh[[ow]] plat[[form]] +cisco_ios_show_platform.textfsm, .*, cisco_ios, sh[[ow]] plat[[form]] cisco_ios_show_vrrp_all.textfsm, .*, cisco_ios, sh[[ow]] vrr[[p]] a[[ll]] cisco_ios_show_aliases.textfsm, .*, cisco_ios, sh[[ow]] alia[[ses]] cisco_ios_show_archive.textfsm, .*, cisco_ios, sh[[ow]] arc[[hive]] @@ -713,6 +713,7 @@ ipinfusion_ocnos_show_lldp_table.textfsm, .*, ipinfusion_ocnos, show ll[[dp]] t[ juniper_junos_show_chassis_cluster_interfaces.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] i[[nterface]] juniper_junos_show_ethernet-switching_table.textfsm, .*, juniper_junos, sh[[ow]] et[[hernet-switching]] t[[able]] juniper_junos_show_chassis_cluster_status.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] c[[luster]] s[[tatus]] +juniper_junos_show_system_processes_brief.textfsm, .*, juniper_junos, show[[ow]] s[[ystem]] p[[rocesses]] b[[rief]] juniper_junos_show_chassis_firmware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] fi[[rmware]] juniper_junos_show_chassis_hardware.textfsm, .*, juniper_junos, sh[[ow]] ch[[assis]] ha[[ardware]] juniper_junos_show_lacp_interfaces.textfsm, .*, juniper_junos, sh[[ow]] la[[cp]] i[[nterfaces]] diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 39e5759f1e..1cb91ba413 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -1,4 +1,4 @@ -Value NODE (\D+\d+) +Value NODE (\S+) Value MEMORY_FORMAT (\w) Value SWAP_FORMAT (\w) Value MEMORY_ACTIVE (\d*\D*\d*) @@ -16,8 +16,7 @@ Start ^top\s* ^Tasks:\s* ^\%Cpu - ^${MEMORY_FORMAT}i*B\s*MEMORY\s*:\s*${MEMORY_ACTIVE}\s*total,\s*${MEMORY_FREE}\s*free,\s*${MEMORY_USED}\s*used,\s*${MEMORY_BUFFER}\s*buff/cache\s* - ^${SWAP_FORMAT}i*B\s*Swap:\s*${SWAP_TOTAL}\s*total,\s*${SWAP_FREE}\s*free,\s*${SWAP_USED}\s*used\.\s*${SWAP_AVAIL}\s*avail\s*MEMORY\s* -> Record + ^${MEMORY_FORMAT}iB\s+(Mem|MEMORY)\s+:\s+${MEMORY_ACTIVE}\s+total,\s+${MEMORY_FREE}\s+free,\s+${MEMORY_USED}\s+used,\s+${MEMORY_BUFFER}\s+buff/cache\s* + ^${SWAP_FORMAT}iB\s+Swap:\s+${SWAP_TOTAL}\s+total,\s+${SWAP_FREE}\s+free,\s+${SWAP_USED}\s+used\.\s+${SWAP_AVAIL}\s+avail\s+(Mem|MEMORY)\s* -> Record ^\s*$$ - ^{master} ^. -> Error diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml index b3e1cf2d3b..cd4674fa56 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml @@ -4,7 +4,7 @@ parsed_sample: memory_buffer: "3661.7" memory_free: "17292.4" memory_used: "10600.3" - memoryory_format: "M" + memory_format: "M" node: "fpc0" swap_avail: "19854.3" swap_format: "M" @@ -15,7 +15,7 @@ parsed_sample: memory_buffer: "45096.8" memory_free: "65543.4" memory_used: "17551.4" - memoryory_format: "M" + memory_format: "M" node: "re0" swap_avail: "108490.7" swap_format: "M" @@ -26,7 +26,7 @@ parsed_sample: memory_buffer: "28674.5" memory_free: "93230.9" memory_used: "6286.2" - memoryory_format: "M" + memory_format: "M" node: "re1" swap_avail: "119812.1" swap_format: "M" From c92d4a559b589bc97da4df7331e5a020b4ac0d43 Mon Sep 17 00:00:00 2001 From: Jacob McGill <9847006+jmcgill298@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:40:57 -0500 Subject: [PATCH 04/12] Update ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm Co-authored-by: Michael Bear <38406045+mjbear@users.noreply.github.com> --- ...per_junos_show_system_processes_brief.textfsm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 1cb91ba413..47232b4a8e 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -1,14 +1,14 @@ Value NODE (\S+) Value MEMORY_FORMAT (\w) Value SWAP_FORMAT (\w) -Value MEMORY_ACTIVE (\d*\D*\d*) -Value MEMORY_FREE (\d*\D*\d*) -Value MEMORY_USED (\d*\D*\d*) -Value MEMORY_BUFFER (\d*\D*\d*) -Value SWAP_TOTAL (\d*\D*\d*) -Value SWAP_FREE (\d*\D*\d*) -Value SWAP_USED (\d*\D*\d*) -Value SWAP_AVAIL (\d*\D*\d*) +Value MEMORY_ACTIVE (\S+) +Value MEMORY_FREE (\S+) +Value MEMORY_USED (\S+) +Value MEMORY_BUFFER (\S+) +Value SWAP_TOTAL (\S+) +Value SWAP_FREE (\S+) +Value SWAP_USED (\S+) +Value SWAP_AVAIL (\S+) Start ^-+\s*$$ From 8f809f551d34ee290aaf39bbff0a4ed2f3da7066 Mon Sep 17 00:00:00 2001 From: josephn Date: Tue, 14 Jan 2025 10:07:11 -0600 Subject: [PATCH 05/12] updating juniper_junos_show_system_processes_brief.textfsm for Junos Classic and EVO --- ..._junos_show_system_processes_brief.textfsm | 15 ++++++++++ ...os_show_system_processes_brief-classic.raw | 5 ++++ ...os_show_system_processes_brief-classic.yml | 13 +++++++++ ...junos_show_system_processes_brief-evo.raw} | 2 ++ ...junos_show_system_processes_brief-evo.yml} | 28 +++++++++---------- 5 files changed, 49 insertions(+), 14 deletions(-) create mode 100644 tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw create mode 100644 tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml rename tests/juniper_junos/show_system_processes_brief/{juniper_junos_show_system_processes_brief.raw => juniper_junos_show_system_processes_brief-evo.raw} (99%) rename tests/juniper_junos/show_system_processes_brief/{juniper_junos_show_system_processes_brief.yml => juniper_junos_show_system_processes_brief-evo.yml} (54%) diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 47232b4a8e..42c3091409 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -11,6 +11,11 @@ Value SWAP_USED (\S+) Value SWAP_AVAIL (\S+) Start + ^-+\s*$$ -> TYPE1 + ^last\s*pid: -> TYPE2 + +# JUNOS EVO template +TYPE1 ^-+\s*$$ ^node:\s*${NODE} ^top\s* @@ -18,5 +23,15 @@ Start ^\%Cpu ^${MEMORY_FORMAT}iB\s+(Mem|MEMORY)\s+:\s+${MEMORY_ACTIVE}\s+total,\s+${MEMORY_FREE}\s+free,\s+${MEMORY_USED}\s+used,\s+${MEMORY_BUFFER}\s+buff/cache\s* ^${SWAP_FORMAT}iB\s+Swap:\s+${SWAP_TOTAL}\s+total,\s+${SWAP_FREE}\s+free,\s+${SWAP_USED}\s+used\.\s+${SWAP_AVAIL}\s+avail\s+(Mem|MEMORY)\s* -> Record + ^{master} ^\s*$$ ^. -> Error + +# Junos Classic template +TYPE2 + ^last pid: + ^\d+\s+processes:\s+\d+\s+running,\s+\d+\s+sleeping,\s+\d+\s+zombie,\s+\d+\s+waiting\s*$$ + ^CPU:\s+\d+\.\d+\%\s+user,\s+\d+\.\d+\%\s+nice,\s+\d+\.\d+\%\s+system,\s+\d+\.\d+\%\s+interrupt,\s+\d+\.\d+\%\s+idle\s*$$ + ^Mem:\s+${MEMORY_ACTIVE}${MEMORY_FORMAT}\s+Active,\s+\S+\s+Inact,\s+\S+\s+Wired,\s+${MEMORY_BUFFER}\S+\s+Buf,\s+${MEMORY_FREE}\S+\s+Free\s*$$ + ^Swap:\s+${SWAP_TOTAL}${SWAP_FORMAT}\s+Total,\s+${SWAP_FREE}\S+\s+Free\s*$$ + ^. -> Error diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw new file mode 100644 index 0000000000..4eb95dcdb1 --- /dev/null +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw @@ -0,0 +1,5 @@ +last pid: 98312; load averages: 1.72, 1.70, 1.70 up 87+21:25:46 15:51:17 +302 processes: 5 running, 295 sleeping, 1 zombie, 1 waiting +CPU: 14.7% user, 0.0% nice, 4.2% system, 0.2% interrupt, 80.9% idle +Mem: 3532M Active, 33G Inact, 2458M Wired, 1046M Buf, 55G Free +Swap: 12G Total, 12G Free \ No newline at end of file diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml new file mode 100644 index 0000000000..74ac3d49a9 --- /dev/null +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml @@ -0,0 +1,13 @@ +--- +parsed_sample: + - memory_active: "3532" + memory_buffer: "1046" + memory_format: "M" + memory_free: "55" + memory_used: "" + node: "" + swap_avail: "" + swap_format: "G" + swap_free: "12" + swap_total: "12" + swap_used: "" \ No newline at end of file diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.raw similarity index 99% rename from tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw rename to tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.raw index 92cab1e995..5ed2c02270 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.raw +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.raw @@ -22,3 +22,5 @@ Tasks: 407 total, 1 running, 406 sleeping, 0 stopped, 0 zombie %Cpu(s): 2.1 us, 2.7 sy, 0.0 ni, 94.6 id, 0.0 wa, 0.3 hi, 0.3 si, 0.0 st MiB Mem : 128191.6 total, 93230.9 free, 6286.2 used, 28674.5 buff/cache MiB Swap: 4096.0 total, 1131.7 free, 2964.2 used. 119812.1 avail Mem + +{master} diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml similarity index 54% rename from tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml rename to tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml index cd4674fa56..a5fa3260c5 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml @@ -1,35 +1,35 @@ --- parsed_sample: - memory_active: "31554.4" - memory_buffer: "3661.7" - memory_free: "17292.4" - memory_used: "10600.3" + memory_buffer: "3666.5" memory_format: "M" + memory_free: "17150.2" + memory_used: "10737.8" node: "fpc0" - swap_avail: "19854.3" + swap_avail: "19698.3" swap_format: "M" swap_free: "100.0" swap_total: "100.0" swap_used: "0.0" - memory_active: "128191.6" - memory_buffer: "45096.8" - memory_free: "65543.4" - memory_used: "17551.4" + memory_buffer: "44686.2" memory_format: "M" + memory_free: "65659.6" + memory_used: "17845.8" node: "re0" - swap_avail: "108490.7" + swap_avail: "108173.8" swap_format: "M" swap_free: "8192.0" swap_total: "8192.0" swap_used: "0.0" - memory_active: "128191.6" - memory_buffer: "28674.5" - memory_free: "93230.9" - memory_used: "6286.2" + memory_buffer: "30721.0" memory_format: "M" + memory_free: "91108.4" + memory_used: "6362.2" node: "re1" - swap_avail: "119812.1" + swap_avail: "119721.4" swap_format: "M" - swap_free: "1131.7" + swap_free: "3186.0" swap_total: "4096.0" - swap_used: "2964.2" + swap_used: "910.0" \ No newline at end of file From c87c81ff5fe6403280a17c133f20acf3930dfaa6 Mon Sep 17 00:00:00 2001 From: josephn Date: Tue, 14 Jan 2025 10:26:18 -0600 Subject: [PATCH 06/12] fixing yaml files to add newline at the end of each --- .../juniper_junos_show_system_processes_brief-classic.yml | 2 +- .../juniper_junos_show_system_processes_brief-evo.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml index 74ac3d49a9..05498e75b3 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml @@ -10,4 +10,4 @@ parsed_sample: swap_format: "G" swap_free: "12" swap_total: "12" - swap_used: "" \ No newline at end of file + swap_used: "" diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml index a5fa3260c5..9515dcd706 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml @@ -32,4 +32,4 @@ parsed_sample: swap_format: "M" swap_free: "3186.0" swap_total: "4096.0" - swap_used: "910.0" \ No newline at end of file + swap_used: "910.0" From ce0fe4b352e1129ccc2ba2da7acf5c317e583907 Mon Sep 17 00:00:00 2001 From: josephn Date: Tue, 14 Jan 2025 10:41:12 -0600 Subject: [PATCH 07/12] fixed test output not asserting with sample data --- ..._junos_show_system_processes_brief-evo.yml | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml index 9515dcd706..4293633ace 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml @@ -1,35 +1,35 @@ --- parsed_sample: - memory_active: "31554.4" - memory_buffer: "3666.5" + memory_buffer: "3661.7" memory_format: "M" - memory_free: "17150.2" - memory_used: "10737.8" + memory_free: "17292.4" + memory_used: "10600.3" node: "fpc0" - swap_avail: "19698.3" + swap_avail: "19854.3" swap_format: "M" swap_free: "100.0" swap_total: "100.0" swap_used: "0.0" - memory_active: "128191.6" - memory_buffer: "44686.2" + memory_buffer: "45096.8" memory_format: "M" - memory_free: "65659.6" - memory_used: "17845.8" + memory_free: "65543.4" + memory_used: "17551.4" node: "re0" - swap_avail: "108173.8" + swap_avail: "108490.7" swap_format: "M" swap_free: "8192.0" swap_total: "8192.0" swap_used: "0.0" - memory_active: "128191.6" - memory_buffer: "30721.0" + memory_buffer: "28674.5" memory_format: "M" - memory_free: "91108.4" - memory_used: "6362.2" + memory_free: "93230.9" + memory_used: "6286.2" node: "re1" - swap_avail: "119721.4" + swap_avail: "119812.1" swap_format: "M" - swap_free: "3186.0" + swap_free: "1131.7" swap_total: "4096.0" - swap_used: "910.0" + swap_used: "2964.2" From 35949100562abeb63e8975b3a5c4a42222eec318 Mon Sep 17 00:00:00 2001 From: josephn Date: Tue, 14 Jan 2025 12:00:19 -0600 Subject: [PATCH 08/12] updating template for other output possibilities --- .../templates/juniper_junos_show_system_processes_brief.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 42c3091409..830835b2a9 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -23,7 +23,7 @@ TYPE1 ^\%Cpu ^${MEMORY_FORMAT}iB\s+(Mem|MEMORY)\s+:\s+${MEMORY_ACTIVE}\s+total,\s+${MEMORY_FREE}\s+free,\s+${MEMORY_USED}\s+used,\s+${MEMORY_BUFFER}\s+buff/cache\s* ^${SWAP_FORMAT}iB\s+Swap:\s+${SWAP_TOTAL}\s+total,\s+${SWAP_FREE}\s+free,\s+${SWAP_USED}\s+used\.\s+${SWAP_AVAIL}\s+avail\s+(Mem|MEMORY)\s* -> Record - ^{master} + ^{(master|backup)} ^\s*$$ ^. -> Error From 3c64497cd25d89ab9d57427bd4f50ad261adfcdd Mon Sep 17 00:00:00 2001 From: jnicholson56 <35084818+jnicholson56@users.noreply.github.com> Date: Tue, 14 Jan 2025 13:04:14 -0600 Subject: [PATCH 09/12] Update ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm Co-authored-by: Michael Bear <38406045+mjbear@users.noreply.github.com> --- ...per_junos_show_system_processes_brief.textfsm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 830835b2a9..74139865f5 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -17,19 +17,19 @@ Start # JUNOS EVO template TYPE1 ^-+\s*$$ - ^node:\s*${NODE} - ^top\s* - ^Tasks:\s* - ^\%Cpu - ^${MEMORY_FORMAT}iB\s+(Mem|MEMORY)\s+:\s+${MEMORY_ACTIVE}\s+total,\s+${MEMORY_FREE}\s+free,\s+${MEMORY_USED}\s+used,\s+${MEMORY_BUFFER}\s+buff/cache\s* - ^${SWAP_FORMAT}iB\s+Swap:\s+${SWAP_TOTAL}\s+total,\s+${SWAP_FREE}\s+free,\s+${SWAP_USED}\s+used\.\s+${SWAP_AVAIL}\s+avail\s+(Mem|MEMORY)\s* -> Record - ^{(master|backup)} + ^node:\s+${NODE} + ^top\s+ + ^Tasks:\s+ + ^%Cpu\s+ + ^${MEMORY_FORMAT}iB\s+M(em|EMORY)\s+:\s+${MEMORY_ACTIVE}\s+total,\s+${MEMORY_FREE}\s+free,\s+${MEMORY_USED}\s+used,\s+${MEMORY_BUFFER}\s+buff/cache\s* + ^${SWAP_FORMAT}iB\s+Swap:\s+${SWAP_TOTAL}\s+total,\s+${SWAP_FREE}\s+free,\s+${SWAP_USED}\s+used\.\s+${SWAP_AVAIL}\s+avail\s+M(em|EMORY)\s* -> Record + ^{(master|backup)}\s*$$ ^\s*$$ ^. -> Error # Junos Classic template TYPE2 - ^last pid: + ^last\s+pid: ^\d+\s+processes:\s+\d+\s+running,\s+\d+\s+sleeping,\s+\d+\s+zombie,\s+\d+\s+waiting\s*$$ ^CPU:\s+\d+\.\d+\%\s+user,\s+\d+\.\d+\%\s+nice,\s+\d+\.\d+\%\s+system,\s+\d+\.\d+\%\s+interrupt,\s+\d+\.\d+\%\s+idle\s*$$ ^Mem:\s+${MEMORY_ACTIVE}${MEMORY_FORMAT}\s+Active,\s+\S+\s+Inact,\s+\S+\s+Wired,\s+${MEMORY_BUFFER}\S+\s+Buf,\s+${MEMORY_FREE}\S+\s+Free\s*$$ From cd0042b9c9622ae3566171111798d45505313153 Mon Sep 17 00:00:00 2001 From: josephn Date: Tue, 14 Jan 2025 13:32:09 -0600 Subject: [PATCH 10/12] fixed a suggested commit I accepted to work properly based on the output from the router --- .../templates/juniper_junos_show_system_processes_brief.textfsm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 74139865f5..3ecf8467db 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -20,7 +20,7 @@ TYPE1 ^node:\s+${NODE} ^top\s+ ^Tasks:\s+ - ^%Cpu\s+ + ^%Cpu\(s\):\s+ ^${MEMORY_FORMAT}iB\s+M(em|EMORY)\s+:\s+${MEMORY_ACTIVE}\s+total,\s+${MEMORY_FREE}\s+free,\s+${MEMORY_USED}\s+used,\s+${MEMORY_BUFFER}\s+buff/cache\s* ^${SWAP_FORMAT}iB\s+Swap:\s+${SWAP_TOTAL}\s+total,\s+${SWAP_FREE}\s+free,\s+${SWAP_USED}\s+used\.\s+${SWAP_AVAIL}\s+avail\s+M(em|EMORY)\s* -> Record ^{(master|backup)}\s*$$ From b6955270d6f9d1d6c614edf2e357ca450c91d073 Mon Sep 17 00:00:00 2001 From: josephn Date: Wed, 15 Jan 2025 08:32:59 -0600 Subject: [PATCH 11/12] added all of the other missing values to the template to make it more complete --- ..._junos_show_system_processes_brief.textfsm | 22 +++++++-- ...os_show_system_processes_brief-classic.raw | 2 +- ...os_show_system_processes_brief-classic.yml | 16 ++++++- ..._junos_show_system_processes_brief-evo.yml | 45 +++++++++++++++++-- 4 files changed, 76 insertions(+), 9 deletions(-) diff --git a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm index 3ecf8467db..253a01d877 100644 --- a/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm +++ b/ntc_templates/templates/juniper_junos_show_system_processes_brief.textfsm @@ -1,4 +1,18 @@ Value NODE (\S+) +Value TASK_TOTAL (\S+) +Value TASK_RUNNING (\S+) +Value TASK_SLEEPING (\S+) +Value TASK_STOPPED (\S+) +Value TASK_ZOMBIE (\S+) +Value TASK_WAITING (\S+) +Value CPU_USER (\S+) +Value CPU_SYSTEM (\S+) +Value CPU_NICE (\S+) +Value CPU_IDLE (\S+) +Value CPU_WAIT (\S+) +Value CPU_HW_IRQ (\S+) +Value CPU_SW_IRQ (\S+) +Value CPU_STEAL (\S+) Value MEMORY_FORMAT (\w) Value SWAP_FORMAT (\w) Value MEMORY_ACTIVE (\S+) @@ -19,8 +33,8 @@ TYPE1 ^-+\s*$$ ^node:\s+${NODE} ^top\s+ - ^Tasks:\s+ - ^%Cpu\(s\):\s+ + ^Tasks:\s+${TASK_TOTAL}\s+total,\s+${TASK_RUNNING}\s+running,\s+${TASK_SLEEPING}\s+sleeping,\s+${TASK_STOPPED}\s+stopped,\s+${TASK_ZOMBIE}\s+zombie\s* + ^%Cpu\(s\):\s+${CPU_USER}\s+us,\s+${CPU_SYSTEM}\s+sy,\s+${CPU_NICE}\s+ni,\s+${CPU_IDLE}\s+id,\s+${CPU_WAIT}\s+wa,\s+${CPU_HW_IRQ}\s+hi,\s+${CPU_SW_IRQ}\s+si,\s+${CPU_STEAL}\s+st\s* ^${MEMORY_FORMAT}iB\s+M(em|EMORY)\s+:\s+${MEMORY_ACTIVE}\s+total,\s+${MEMORY_FREE}\s+free,\s+${MEMORY_USED}\s+used,\s+${MEMORY_BUFFER}\s+buff/cache\s* ^${SWAP_FORMAT}iB\s+Swap:\s+${SWAP_TOTAL}\s+total,\s+${SWAP_FREE}\s+free,\s+${SWAP_USED}\s+used\.\s+${SWAP_AVAIL}\s+avail\s+M(em|EMORY)\s* -> Record ^{(master|backup)}\s*$$ @@ -30,8 +44,8 @@ TYPE1 # Junos Classic template TYPE2 ^last\s+pid: - ^\d+\s+processes:\s+\d+\s+running,\s+\d+\s+sleeping,\s+\d+\s+zombie,\s+\d+\s+waiting\s*$$ - ^CPU:\s+\d+\.\d+\%\s+user,\s+\d+\.\d+\%\s+nice,\s+\d+\.\d+\%\s+system,\s+\d+\.\d+\%\s+interrupt,\s+\d+\.\d+\%\s+idle\s*$$ + ^${TASK_TOTAL}\s+processes:\s+${TASK_RUNNING}+\s+running,\s+${TASK_SLEEPING}\s+sleeping,\s+${TASK_ZOMBIE}\s+zombie,\s+${TASK_WAITING}\s+waiting\s*$$ + ^CPU:\s+${CPU_USER}\%\s+user,\s+${CPU_NICE}\%\s+nice,\s+${CPU_SYSTEM}\%\s+system,\s+${CPU_HW_IRQ}\%\s+interrupt,\s+${CPU_IDLE}\%\s+idle\s*$$ ^Mem:\s+${MEMORY_ACTIVE}${MEMORY_FORMAT}\s+Active,\s+\S+\s+Inact,\s+\S+\s+Wired,\s+${MEMORY_BUFFER}\S+\s+Buf,\s+${MEMORY_FREE}\S+\s+Free\s*$$ ^Swap:\s+${SWAP_TOTAL}${SWAP_FORMAT}\s+Total,\s+${SWAP_FREE}\S+\s+Free\s*$$ ^. -> Error diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw index 4eb95dcdb1..b851ebf0f8 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.raw @@ -2,4 +2,4 @@ last pid: 98312; load averages: 1.72, 1.70, 1.70 up 87+21:25:46 15:51:17 302 processes: 5 running, 295 sleeping, 1 zombie, 1 waiting CPU: 14.7% user, 0.0% nice, 4.2% system, 0.2% interrupt, 80.9% idle Mem: 3532M Active, 33G Inact, 2458M Wired, 1046M Buf, 55G Free -Swap: 12G Total, 12G Free \ No newline at end of file +Swap: 12G Total, 12G Free diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml index 05498e75b3..a16f5f562c 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-classic.yml @@ -1,6 +1,14 @@ --- parsed_sample: - - memory_active: "3532" + - cpu_hw_irq: "0.2" + cpu_idle: "80.9" + cpu_nice: "0.0" + cpu_steal: "" + cpu_sw_irq: "" + cpu_system: "4.2" + cpu_user: "14.7" + cpu_wait: "" + memory_active: "3532" memory_buffer: "1046" memory_format: "M" memory_free: "55" @@ -11,3 +19,9 @@ parsed_sample: swap_free: "12" swap_total: "12" swap_used: "" + task_running: "5" + task_sleeping: "295" + task_stopped: "" + task_total: "302" + task_waiting: "1" + task_zombie: "1" diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml index 4293633ace..9979640cea 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml @@ -1,6 +1,14 @@ --- parsed_sample: - - memory_active: "31554.4" + - cpu_hw_irq: "0.0" + cpu_idle: "97.3" + cpu_nice: "0.0" + cpu_steal: "0.0" + cpu_sw_irq: "0.0" + cpu_system: "0.8" + cpu_user: "2.0" + cpu_wait: "0.0" + memory_active: "31554.4" memory_buffer: "3661.7" memory_format: "M" memory_free: "17292.4" @@ -11,7 +19,20 @@ parsed_sample: swap_free: "100.0" swap_total: "100.0" swap_used: "0.0" - - memory_active: "128191.6" + task_running: "1" + task_sleeping: "270" + task_stopped: "0" + task_total: "271" + task_zombie: "0" + - cpu_hw_irq: "0.3" + cpu_idle: "97.6" + cpu_nice: "0.0" + cpu_steal: "0.0" + cpu_sw_irq: "0.3" + cpu_system: "0.3" + cpu_user: "1.5" + cpu_wait: "0.0" + memory_active: "128191.6" memory_buffer: "45096.8" memory_format: "M" memory_free: "65543.4" @@ -22,7 +43,20 @@ parsed_sample: swap_free: "8192.0" swap_total: "8192.0" swap_used: "0.0" - - memory_active: "128191.6" + task_running: "1" + task_sleeping: "533" + task_stopped: "0" + task_total: "536" + task_zombie: "2" + - cpu_hw_irq: "0.3" + cpu_idle: "94.6" + cpu_nice: "0.0" + cpu_steal: "0.0" + cpu_sw_irq: "0.3" + cpu_system: "2.7" + cpu_user: "2.1" + cpu_wait: "0.0" + memory_active: "128191.6" memory_buffer: "28674.5" memory_format: "M" memory_free: "93230.9" @@ -33,3 +67,8 @@ parsed_sample: swap_free: "1131.7" swap_total: "4096.0" swap_used: "2964.2" + task_running: "1" + task_sleeping: "406" + task_stopped: "0" + task_total: "407" + task_zombie: "0" From 7d40b4650b2ffed3d1620b0e9984f49a2a63c906 Mon Sep 17 00:00:00 2001 From: josephn Date: Wed, 15 Jan 2025 08:50:30 -0600 Subject: [PATCH 12/12] added new value for junos classic template and forgot to add empty value for parsed data in evo --- .../juniper_junos_show_system_processes_brief-evo.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml index 9979640cea..161cd43347 100644 --- a/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml +++ b/tests/juniper_junos/show_system_processes_brief/juniper_junos_show_system_processes_brief-evo.yml @@ -23,6 +23,7 @@ parsed_sample: task_sleeping: "270" task_stopped: "0" task_total: "271" + task_waiting: "" task_zombie: "0" - cpu_hw_irq: "0.3" cpu_idle: "97.6" @@ -47,6 +48,7 @@ parsed_sample: task_sleeping: "533" task_stopped: "0" task_total: "536" + task_waiting: "" task_zombie: "2" - cpu_hw_irq: "0.3" cpu_idle: "94.6" @@ -71,4 +73,5 @@ parsed_sample: task_sleeping: "406" task_stopped: "0" task_total: "407" + task_waiting: "" task_zombie: "0"