From fc6a16ae1e323fac955410e894402c972c2f71e5 Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" Date: Wed, 21 Aug 2019 05:37:03 -0500 Subject: [PATCH] add more options --- Proc-ProcessTable-ncps/bin/ncps | 153 ++++++++++++++++++++++++++++++-- 1 file changed, 145 insertions(+), 8 deletions(-) diff --git a/Proc-ProcessTable-ncps/bin/ncps b/Proc-ProcessTable-ncps/bin/ncps index 7bd4605..e882616 100755 --- a/Proc-ProcessTable-ncps/bin/ncps +++ b/Proc-ProcessTable-ncps/bin/ncps @@ -12,19 +12,31 @@ sub version{ sub help{ print ' --z Show zombies procs. --s Show swapped out procs. +-c Search procs using the matching regex. +--ci Invert the command search. --p Search procs using the matching regex. +-m Memory usage percent to search for. +--mi Invert the memory usage search. --u A string search for users. +-p CPU usage percent to search for. +--pi Invert the CPU usage search. --t