diff --git a/pages/common/iotop.md b/pages/common/iotop.md index 5876005e9e..68798264b4 100644 --- a/pages/common/iotop.md +++ b/pages/common/iotop.md @@ -21,7 +21,7 @@ - Show I/O usage of given PID(s): -`sudo iotop {{[-p|--pid]}} {{PID}}` +`sudo iotop {{[-p|--pid]}} {{pid}}` - Show I/O usage of a given user: diff --git a/pages/common/lsof.md b/pages/common/lsof.md index c279fecb01..1366e6e878 100644 --- a/pages/common/lsof.md +++ b/pages/common/lsof.md @@ -26,7 +26,7 @@ - List files opened by a specific process, given its PID: -`lsof -p {{PID}}` +`lsof -p {{pid}}` - List open files in a directory: diff --git a/pages/common/pv.md b/pages/common/pv.md index 00a31178ef..ca99ab05e1 100644 --- a/pages/common/pv.md +++ b/pages/common/pv.md @@ -17,7 +17,7 @@ - Attach to an already running process and see its file reading progress: -`pv {{[-d|--watchfd]}} {{PID}}` +`pv {{[-d|--watchfd]}} {{pid}}` - Read an erroneous file, skip errors as `dd conv=sync,noerror` would: diff --git a/pages/common/yara.md b/pages/common/yara.md index fd99f28965..338cdfe1f1 100644 --- a/pages/common/yara.md +++ b/pages/common/yara.md @@ -14,7 +14,7 @@ - Scan a running process by its PID using multiple rules: -`yara {{path/to/rule1.yar path/to/rule2.yar ...}} {{PID}}` +`yara {{path/to/rule1.yar path/to/rule2.yar ...}} {{pid}}` - Print metadata associated with the matching rules: diff --git a/pages/linux/apport-bug.md b/pages/linux/apport-bug.md index 4522c4fee7..a617b63d57 100644 --- a/pages/linux/apport-bug.md +++ b/pages/linux/apport-bug.md @@ -17,4 +17,4 @@ - Report a bug about a specific process: -`apport-bug {{PID}}` +`apport-bug {{pid}}` diff --git a/pages/linux/chrt.md b/pages/linux/chrt.md index 37e3084c29..2271b43a0a 100644 --- a/pages/linux/chrt.md +++ b/pages/linux/chrt.md @@ -5,11 +5,11 @@ - Display attributes of a process: -`chrt {{[-p|--pid]}} {{PID}}` +`chrt {{[-p|--pid]}} {{pid}}` - Display attributes of all threads of a process: -`chrt {{[-a|--all-tasks]}} {{[-p|--pid]}} {{PID}}` +`chrt {{[-a|--all-tasks]}} {{[-p|--pid]}} {{pid}}` - Display the min/max priority values that can be used with `chrt`: @@ -17,8 +17,8 @@ - Set the scheduling priority of a process: -`chrt {{[-p|--pid]}} {{priority}} {{PID}}` +`chrt {{[-p|--pid]}} {{priority}} {{pid}}` - Set the scheduling policy of a process: -`chrt --{{deadline|idle|batch|rr|fifo|other}} {{[-p|--pid]}} {{priority}} {{PID}}` +`chrt --{{deadline|idle|batch|rr|fifo|other}} {{[-p|--pid]}} {{priority}} {{pid}}` diff --git a/pages/linux/coredumpctl.md b/pages/linux/coredumpctl.md index e9027b0b8e..f67aa34c0f 100644 --- a/pages/linux/coredumpctl.md +++ b/pages/linux/coredumpctl.md @@ -13,7 +13,7 @@ - Show information about the core dumps matching a program with PID: -`coredumpctl info {{PID}}` +`coredumpctl info {{pid}}` - Invoke debugger using the last core dump: diff --git a/pages/linux/pidstat.md b/pages/linux/pidstat.md index 3be8406cf6..fc9514c1f0 100644 --- a/pages/linux/pidstat.md +++ b/pages/linux/pidstat.md @@ -17,7 +17,7 @@ - Show information on a specific PID: -`pidstat -p {{PID}}` +`pidstat -p {{pid}}` - Show memory statistics for all processes whose command name include "fox" or "bird": diff --git a/pages/osx/opensnoop.md b/pages/osx/opensnoop.md index 23bcfb0a7c..fb5bf1028e 100644 --- a/pages/osx/opensnoop.md +++ b/pages/osx/opensnoop.md @@ -13,7 +13,7 @@ - Track all file opens by a process by PID: -`sudo opensnoop -p {{PID}}` +`sudo opensnoop -p {{pid}}` - Track which processes open a specified file: