Hi
I have some rouge processes that I want to preform an action on.
I can catch the processes. But I want to kill them if they are above 90%
I could put then into a variable an then run throu them, what I was wondering was if there is a way to set it up in one line?
Regards
Lhg
I have some rouge processes that I want to preform an action on.
I can catch the processes. But I want to kill them if they are above 90%
Code:
ps -ef|grep telnet|grep -v grep
test 1340342 1361850 99.9 09:02:05 ?? 26:14.86 telnet
test 1361863 1335038 99.7 09:02:04 ?? 26:18.01 telnet
I could put then into a variable an then run throu them, what I was wondering was if there is a way to set it up in one line?
Regards
Lhg