From 4f967b95222410f2af86c8a83ed95002966bacf8 Mon Sep 17 00:00:00 2001 From: trimstray Date: Mon, 1 Apr 2019 17:25:19 +0200 Subject: [PATCH] minor updates - signed-off-by: trimstray --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8b71bb1..0d0a617 100644 --- a/README.md +++ b/README.md @@ -1328,7 +1328,7 @@ awk '{ if($7 > 1048576) print $7/1048576 "MB" " " $9 " " $1 }' | \ sort -n -u | tail | column -t ``` -###### Get the path of a process +###### Show current working directory of a process ```bash lsof -p | grep cwd @@ -1350,7 +1350,7 @@ ps awwfux | less -S ps hax -o user | sort | uniq -c | sort -r ``` -###### Show all processes by name with ps main header +###### Show all processes by name with main header ```bash ps -lfC nginx @@ -2005,7 +2005,7 @@ exec /sbin/init 6 exec /sbin/init ``` -###### Show the PID's current working directory +###### Show current working directory of a process ```bash readlink -f /proc//cwd