比如SQL_ID为g97cnrayku9xw,
SQL>select address from v$sql where sql_id='g97cnrayku9xw';
ADDRESS
----------------
000000077BE8EE68
SQL>select username,osuser,machine,program from v$session where prev_sql_addr='000000077BE8EE68';
或者
SQL>select username,osuser,machine,program from v$session where sql_address='000000077BE8EE68';
其中的machine就是你要找的计算机名称