Get all ORA processes under UNIX

zhaozj2021-02-16  81

PS-EF | GREP -I Oracle | awk '{print $}';

The AWK usage is very useful when only one special column included in the UNIX command output is displayed.

In this item, if you want to kill all Oracle processes, we can use

PS-EF | GREP -I Oracle | Grep -V Grep | awk '{print $}' | -EXEC kill -9 {};

Where: grep -v represents the row containing a particular string. If you do not specify grep -v grep, then the following Kill command will kill this execution process.

转载请注明原文地址:https://www.9cbs.com/read-15903.html

New Post(0)