Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in example #5096

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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