Skip to content

Commit 265f422

Browse files
luijianfiedkruces
authored andcommitted
fix typo in example
1 parent 431c1a1 commit 265f422

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/argdist_example.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ r:c:gets():char*:$retval:$retval!=0
166166

167167
Similarly, we could get a histogram of the error codes returned by read():
168168

169-
# ./argdist -i 10 -c 1 -H 'r:c:read()'
169+
# ./argdist -i 10 -c -H 'r:c:read()'
170170
[02:15:36]
171171
r:c:read()
172172
retval : count distribution
@@ -337,7 +337,7 @@ specific file, run this:
337337
Here's a final example that finds how many write() system calls are performed
338338
by each process on the system:
339339

340-
# argdist -c -C 'p:c:write():int:$PID;write per process' -n 2
340+
# argdist -c -C 'p:c:write():int:$PID#write per process' -n 2
341341
[06:47:18]
342342
write by process
343343
COUNT EVENT

tools/readahead_example.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Read-ahead mechanism is used by operation sytems to optimize sequential operatio
44
by reading ahead some pages to avoid more expensive filesystem operations. This tool
55
shows the performance of the read-ahead caching on the system under a given load to
66
investigate any caching issues. It shows a count for unused pages in the cache and
7-
also prints a histogram showing how long they have remianed there.
7+
also prints a histogram showing how long they have remained there.
88

99
Usage Scenario
1010
==============

0 commit comments

Comments
 (0)