Cuestion about process using AWK Hi, I'm trying to find process to spend more than 100 second of CPU
Resource, I'M ussing the command:
ps -ef | grep http | awk '{if ($8=="http" && $7>="100:00") print $0}'
| sort -n -k 7
But it show
applmgr 143 9484 0 11:47:58 ? 0:34 http webfile=5,2319
applmgr 204 9484 0 08:10:42 ? 0:56 http webfile=5,1829
applmgr 278 9484 0 14:32:53 ? 0:04 http webfile=5,2597
applmgr 649 9484 0 15:14:13 ? 0:09 http webfile=5,2667
applmgr 750 9484 0 13:49:44 ? 0:43 http webfile=5,2550
I need to show only the process who are grater than 100:00 in the
column number 7.
apreciate any help!!
Regards. |