Get the App
SLTechnology News&Howtos  ›  Development  › 

Script sharing that kills oracle online users

Shulou Source: shulou.com Published: 2022-06-03 11:27:13 11月15日 Update

This article mainly explains "script sharing to kill oracle online users". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "script sharing to kill oracle online users".

Kill the oracle online user and execute the script using the root user on the server where oracle resides

The parameter indicates that $1 is the oracle user

The code is as follows:

#! / bin/shfunction _ oracleplus () {su-oracle-c "$oraclehome/bin/sqlplus / nolog"

Tags: Users scripts online learning content code parameters that is ideas situations locations articles more servers knowledge knowledge points articles follow questions practice Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS vpn MySQL Shulou Tech Info Apple