Skip to content

Commit

Permalink
Make placeholders more compatible with CLIP: (tldr-pages#9870)
Browse files Browse the repository at this point in the history
- use placeholders for numbers
- use "path/to" and "file"
- simplify ip placeholders
  • Loading branch information
Emily Grace Seville authored Feb 20, 2023
1 parent d70f57f commit dcb6919
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pages/sunos/prstat.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`
6 changes: 3 additions & 3 deletions pages/sunos/snoop.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@

- 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:

`snoop to port {{port}} from host {{hostname}}`

- 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}}`
6 changes: 3 additions & 3 deletions pages/sunos/svccfg.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

0 comments on commit dcb6919

Please sign in to comment.