From 3c56b7b342c2345082d1fcb39cb0b9bbf9d7556e Mon Sep 17 00:00:00 2001 From: Waldir Pimenta Date: Wed, 22 Jun 2016 19:02:12 +0100 Subject: [PATCH] top.md: various tweaks (#923) - standardize examples to use generic tokens - format tokens using snake_case - use "show" for all example descriptions, for consistency - reword the descriptions for additional clarity. --- pages/linux/top.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/linux/top.md b/pages/linux/top.md index f1d553f7a..28d93278f 100644 --- a/pages/linux/top.md +++ b/pages/linux/top.md @@ -10,13 +10,13 @@ `top -i` -- List processes owned by given user: +- Show only processes owned by given user: -`top -u {{user-name}}` +`top -u {{user_name}}` -- List processes by PID. It takes a comma separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name): +- Show only the processes with the given PID(s), passed as a comma-separated list. (Normally you wouldn't know PIDs off hand. This example picks the PIDs from the process name): -`top -p $(pgrep -d ',' {{nginx}})` +`top -p $(pgrep -d ',' {{process_name}})` - Get help about interactive commands: