Make placeholders more compatible with CLIP: (#9870)

- use placeholders for numbers
- use "path/to" and "file"
- simplify ip placeholders
pull/5/head
Emily Grace Seville 2023-02-20 17:16:13 +10:00 committed by GitHub
parent d70f57f592
commit dcb6919bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -21,4 +21,4 @@
- Print out a list of top 5 CPU using processes every second:
`prstat -c -n 5 -s cpu 1`
`prstat -c -n {{5}} -s cpu {{1}}`

View File

@ -10,11 +10,11 @@
- Save captured packets in a file instead of displaying them:
`snoop -o {{filename}}`
`snoop -o {{path/to/file}}`
- Display verbose protocol layer summary of packets from a file:
`snoop -V -i {{filename}}`
`snoop -V -i {{path/to/file}}`
- Capture network packets that come from a hostname and go to a given port:
@ -22,4 +22,4 @@
- Capture and show a hex-dump of network packets exchanged between two IP addresses:
`snoop -x0 -p4 {{ip_address_1}} {{ip_address_2}}`
`snoop -x0 -p4 {{ip1}} {{ip2}}`

View File

@ -5,12 +5,12 @@
- Validate configuration file:
`svccfg validate {{smf.xml}}`
`svccfg validate {{path/to/smf_file.xml}}`
- Export service configurations to file:
`svccfg export {{servicename}} > {{smf.xml}}`
`svccfg export {{servicename}} > {{path/to/smf_file.xml}}`
- Import/update service configurations from file:
`svccfg import {{smf.xml}}`
`svccfg import {{path/to/smf_file.xml}}`