From 6530225403a96a29d71e82394be711fb3a296997 Mon Sep 17 00:00:00 2001 From: Nic Acton Date: Tue, 5 Nov 2019 20:46:45 -0500 Subject: [PATCH] sheet for /proc pseudo-directory Feel like there's good use. There's a `man proc` so this can do that as well. --- sheets/proc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sheets/proc diff --git a/sheets/proc b/sheets/proc new file mode 100644 index 0000000..38e3284 --- /dev/null +++ b/sheets/proc @@ -0,0 +1,15 @@ +# /proc is a pseudo-file system location that +# contains information about a running process by PID + +# See the commandline arguments that started the process +cat /proc//cmdline + +# See the process's environment variables +cat /proc//environ + +# See the process's status and usage information +# such as CPU and memory +cat /proc//status + +# See every file the process has open +ls -l /proc/fd