Skip to content

Commit

Permalink
fix typo in example
Browse files Browse the repository at this point in the history
  • Loading branch information
luijianfie authored and yonghong-song committed Sep 3, 2024
1 parent 3130fe8 commit f15e219
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/argdist_example.txt
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ r:c:gets():char*:$retval:$retval!=0

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

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

# argdist -c -C 'p:c:write():int:$PID;write per process' -n 2
# argdist -c -C 'p:c:write():int:$PID#write per process' -n 2
[06:47:18]
write by process
COUNT EVENT
Expand Down
2 changes: 1 addition & 1 deletion tools/readahead_example.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Read-ahead mechanism is used by operation sytems to optimize sequential operatio
by reading ahead some pages to avoid more expensive filesystem operations. This tool
shows the performance of the read-ahead caching on the system under a given load to
investigate any caching issues. It shows a count for unused pages in the cache and
also prints a histogram showing how long they have remianed there.
also prints a histogram showing how long they have remained there.

Usage Scenario
==============
Expand Down

0 comments on commit f15e219

Please sign in to comment.