Skip to content

Commit

Permalink
Update ntc_templates/templates/juniper_junos_show_system_processes_su…
Browse files Browse the repository at this point in the history
…mmary.textfsm

Co-authored-by: Michael Bear <38406045+mjbear@users.noreply.github.com>
  • Loading branch information
jmcgill298 and mjbear authored Jan 7, 2025
1 parent c62ddf9 commit ec721aa
Showing 1 changed file with 21 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
Value MEMORY_ACTIVE (\d*\S*)
Value MEMORY_INACTIVE (\d*\S*)
Value MEMORY_WIRED (\d*\S*)
Value MEMORY_BUFFER (\d*\S*)
Value MEMORY_FREE (\d*\S*)
Value SWAP_TOTAL (\d*\S*)
Value SWAP_FREE (\d*\S*)

Value MEMORY_ACTIVE (\S+)
Value MEMORY_INACTIVE (\S+)
Value MEMORY_WIRED (\S+)
Value MEMORY_BUFFER (\S+)
Value MEMORY_FREE (\S+)
Value SWAP_TOTAL (\S+)
Value SWAP_FREE (\S+)

Start
^\s*last\s*pid
^\s*\d+\s+threads:
^\s*CPU:
^\s*\d+\s*processes:
^\s*Mem:\s*${MEMORY_ACTIVE}\s*Active,\s*${MEMORY_INACTIVE}\s*Inact,\s*${MEMORY_WIRED}\s*Wired,\s*${MEMORY_BUFFER}\s*Buf,\s*${MEMORY_FREE}\s*Free
^\s*Mem:\s*${MEMORY_ACTIVE}\s*Active,\s*${MEMORY_INACTIVE}\s*Inact,\s*${MEMORY_WIRED}\s*Wired,\s*\d*\D*\s*Cache,\s*${MEMORY_BUFFER}\s*Buf,\s*${MEMORY_FREE}\s*Free
^\s*Mem:\s*${MEMORY_ACTIVE}\s*Active,\s*${MEMORY_INACTIVE}\s*Inact,\s*\d*\D*\s*Laundry,\s*${MEMORY_WIRED}\s*Wired,\s*${MEMORY_BUFFER}\s*Buf,\s*${MEMORY_FREE}\s*Free
^\s*Swap:\s*${SWAP_TOTAL}\s*Total,\s*${SWAP_FREE}\s*Free -> Record
^\s*Swap:\s*${SWAP_TOTAL}\s*Total,\s*\d*\D*\s*Used,\s*${SWAP_FREE}\s*Free -> Record
^\s*Swap:\s*${SWAP_TOTAL}\s*Total,\s*\d*\D*\s*Used,\s*${SWAP_FREE}\s*Free,\s*\d*%\s*Inuse -> Record
^\s*Swap: -> Record
^\s*PID\s*USERNAME\s*PRI\s*NICE\s*SIZE\s*RES\s*STATE\s*C\s*TIME\s*WCPU\s*COMMAND -> EOF
^\s*$$
^. -> Error
^\s*last\s+pid
^\s*\d+\s+threads:
^\s*CPU:
^\s*\d+\s*processes:
^\s*Mem:\s*${MEMORY_ACTIVE}\s*Active,\s*${MEMORY_INACTIVE}\s*Inact,\s*${MEMORY_WIRED}\s*Wired,\s*${MEMORY_BUFFER}\s*Buf,\s*${MEMORY_FREE}\s*Free
^\s*Mem:\s*${MEMORY_ACTIVE}\s*Active,\s*${MEMORY_INACTIVE}\s*Inact,\s*${MEMORY_WIRED}\s*Wired,\s*\d*\D*\s*Cache,\s*${MEMORY_BUFFER}\s*Buf,\s*${MEMORY_FREE}\s*Free
^\s*Mem:\s*${MEMORY_ACTIVE}\s*Active,\s*${MEMORY_INACTIVE}\s*Inact,\s*\d*\D*\s*Laundry,\s*${MEMORY_WIRED}\s*Wired,\s*${MEMORY_BUFFER}\s*Buf,\s*${MEMORY_FREE}\s*Free
^\s*Swap:\s*${SWAP_TOTAL}\s*Total,\s*${SWAP_FREE}\s*Free -> Record
^\s*Swap:\s*${SWAP_TOTAL}\s*Total,\s*\d*\D*\s*Used,\s*${SWAP_FREE}\s*Free -> Record
^\s*Swap:\s*${SWAP_TOTAL}\s*Total,\s*\d*\D*\s*Used,\s*${SWAP_FREE}\s*Free,\s*\d*%\s*Inuse -> Record
^\s*Swap: -> Record
^\s*PID\s+USERNAME\s+PRI\s+NICE\s+SIZE\s+RES\s+STATE\s+C\s+TIME\s+WCPU\s+COMMAND -> EOF
^\s*$$
^. -> Error

0 comments on commit ec721aa

Please sign in to comment.