summaryrefslogtreecommitdiff
path: root/Base/usr/share/man/man1
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-10-14 21:52:09 +0300
committerAndrew Kaster <andrewdkaster@gmail.com>2022-10-25 15:33:34 -0600
commit1c5e09f789a3c9e03c8bd3e0ebee08a07ec424bf (patch)
treeb4f05e905660580f9782360edb658dd660e08293 /Base/usr/share/man/man1
parent9d1ba0e6adcadc27d3a70237686fb573b27e10a3 (diff)
downloadserenity-1c5e09f789a3c9e03c8bd3e0ebee08a07ec424bf.zip
Base: Use new global variables at /sys/kernel/ directory
Diffstat (limited to 'Base/usr/share/man/man1')
-rw-r--r--Base/usr/share/man/man1/json.md4
-rw-r--r--Base/usr/share/man/man1/profile.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/Base/usr/share/man/man1/json.md b/Base/usr/share/man/man1/json.md
index d420ad8fdd..2f38291c20 100644
--- a/Base/usr/share/man/man1/json.md
+++ b/Base/usr/share/man/man1/json.md
@@ -28,12 +28,12 @@ If no *path* argument is provided stdin is used.
```sh
# Pretty-print stdin
-$ cat /proc/all | json
+$ cat /sys/kernel/processes | json
# Pretty-print a file
$ json json-data.json
# Pretty-print a file with two spaces per indent
$ json -i 2 json-data.json
# Query data from JSON
$ json -q 1 .config/CommonLocations.json
-$ cat /proc/all | json -q processes
+$ cat /sys/kernel/processes | json -q processes
```
diff --git a/Base/usr/share/man/man1/profile.md b/Base/usr/share/man/man1/profile.md
index 6d9b470572..02dc2de038 100644
--- a/Base/usr/share/man/man1/profile.md
+++ b/Base/usr/share/man/man1/profile.md
@@ -11,7 +11,7 @@ $ profile [-p PID] [-a] [-e] [-d] [-f] [-w] [-c command] [-t event_type]
## Options:
* `-p PID`: Target PID
-* `-a`: Profile all processes (super-user only), result at /proc/profile
+* `-a`: Profile all processes (super-user only), result at /sys/kernel/profile
* `-e`: Enable
* `-d`: Disable
* `-f`: Free the profiling buffer for the associated process(es).