mirror of
https://github.com/gunchev/home_bin.git
synced 2025-11-20 12:15:46 +00:00
....
This commit is contained in:
parent
29ee9ee1c8
commit
aaf0439e28
2 changed files with 20 additions and 1 deletions
|
|
@ -12,7 +12,8 @@ fi
|
|||
|
||||
SUM=0
|
||||
OVERALL=0
|
||||
for DIR in `find /proc/ -maxdepth 1 -type d -regex "^/proc/[0-9]+"`
|
||||
#for DIR in `find /proc/ -maxdepth 1 -type d -regex "^/proc/[0-9]+"`
|
||||
for DIR in /proc/[0-9]*
|
||||
do
|
||||
PID=`echo $DIR | cut -d / -f 3`
|
||||
PROGNAME=`ps -p $PID -o comm --no-headers`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue