Template:SQWareProduction sqwsyb KillSessions.ksh help

From Wiki_dbSQWare
Jump to: navigation, search
Sourcing sqwsyb_Global.lib v2024.07 SQWareProduction for Sybase (dbSQWare) ... 

Usage: sqwsyb_KillSessions.ksh [-h] -I <dataserver> [+ options]

DESCRIPTION
   sqwsyb_KillSessions.ksh kill sybase sessions
SUPPORT
   Sybase supported versions: 12.0 <= v <= 16.0

PARAMETERS
     -I  dataserver     : Target dataserver for kill.
OPTIONS
     -h                 : Display the full usage.
     -s                 : Display samples of usage.
     -NoMail            : Deactivate sendmail on error pmexpdba@gmail.com (by default, send on error).
     -AddMail   email   : Email address to add at 'pmexpdba@gmail.com'.
     -SendReport        : Send execution log report.
     -ID  listdb        : List of databases to include (by default all).
     -ED  listdb        : List of databases to exclude.
     -FRT       code    : Force return code value on error.
     -Dist              : For distant connection to database (change $gvsqw_DbaUser to $gvsqw_DistDbaUser ).
     -NBA Nb            : Number of attempts (by default 4).
     -Locale    locale  : Force Locale for help display (fr,en).
     -Exec              : Kill sessions (by default, display generated commands).