*: use lowercase PID (#22628)

This commit is contained in:
Managor
2026-05-30 11:36:49 +07:00
committed by GitHub
parent d9f4f66d34
commit 17615719c1
9 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -17,4 +17,4 @@
- Report a bug about a specific process:
`apport-bug {{PID}}`
`apport-bug {{pid}}`
+4 -4
View File
@@ -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}}`
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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":
+1 -1
View File
@@ -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: