[CentOS] Unable to execute a script , Permission denied
Bowie Bailey
Bowie_Bailey at BUC.comTue May 25 14:48:08 UTC 2010
- Previous message: [CentOS] Unable to execute a script , Permission denied
- Next message: [CentOS] Unable to execute a script , Permission denied
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
m.roth at 5-cent.us wrote: > Bowie wrote: > >> ps -C java -o thcount | awk ' { total += $1 } END { print total } ' >> > > Now, as dearly as I love awk, > ps -C java --no-heading | wc -l > You are counting processes, the original is counting threads. $ ps -C java -o thcount | awk ' { total += $1 } END { print total } ' 29 $ ps -C java --no-heading | wc -l 1 -- Bowie
- Previous message: [CentOS] Unable to execute a script , Permission denied
- Next message: [CentOS] Unable to execute a script , Permission denied
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list