How to kill pid of oracle session processes immediately

How to create immediately “kill -9 pid “command that can be used when server is in high cpu usage.

select  'kill -9 '|| b.spid from v$session a, v$process b
where a.paddr=b.addr
--and a.program  = 'oracle@SALESDB (TNS V1-V3)'
--and a.machine  = 'pamsaser01'
--and a.sqlid    = 'g6u556kt6pvb3'
--and a.username = 'SCOTT'
and a.status ='ACTIVE'
;
 
 
kill -9 14987
kill -9 14989
kill -9 14991
kill -9 14995
kill -9 14997
kill -9 14999
kill -9 15001
kill -9 15003
kill -9 15005
kill -9 15007