-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ntc_templates/templates/juniper_junos_show_system_processes_su…
…mmary.textfsm Co-authored-by: Michael Bear <38406045+mjbear@users.noreply.github.com>
- Loading branch information
1 parent
c62ddf9
commit ec721aa
Showing
1 changed file
with
21 additions
and
22 deletions.
There are no files selected for viewing
43 changes: 21 additions & 22 deletions
43
ntc_templates/templates/juniper_junos_show_system_processes_summary.textfsm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |