Browse Source

Make placeholders more compatible with CLIP: (#9870)

- use placeholders for numbers
- use "path/to" and "file"
- simplify ip placeholders
Emily Grace Seville 2 years ago
parent
commit
dcb6919bbf
3 changed files with 7 additions and 7 deletions
  1. 1 1
      pages/sunos/prstat.md
  2. 3 3
      pages/sunos/snoop.md
  3. 3 3
      pages/sunos/svccfg.md

+ 1 - 1
pages/sunos/prstat.md

@@ -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}}`

+ 3 - 3
pages/sunos/snoop.md

@@ -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}}`

+ 3 - 3
pages/sunos/svccfg.md

@@ -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}}`