check_autoextend_v2
check your Oracle DatabaseFile on capacity. Get more info to the DatabaseFile on Oracle Wiki
Options:
| Flag | Description |
|---|---|
| -u|-U | User |
| -p|-P | Password |
| -l|-L | Listener(range) ORACLE_SID() |
| -t|-T | Tablespace |
| -m|-M | template to use (check_autoextend.sql or check_autoextend_multi.sql) |
| -h|-H | display this Help |
Check multi with different states of DBF :
./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W 70Â -C80
KO : le DBF "TABLESPACE"20.dbf est occupe a 99,22%Â ;
./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W30 -C80
KO : Le DBF "TABLESPACE"20.dbf est occupe a 99,22% ;
Warning : Le DBF "TABLESPACE"01.dbf est occupe a 49,22% ;
Warning : Le DBF "TABLESPACE"21.dbf est occupe a 62,11% ;
./check_autoextend -M -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W99 -C100
Warning : Le DBF "TABLESPACE"20.dbf est occupe a 99,22% ;
./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W80 -C90
KO : Le DBF "TABLESPACE"20.dbf est occupe a 99,22% ;
./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W100 -C100
OK : Tous les DBF Autoextend du tablespace "TABLESPACE" sont OK
Errors in defining thresholds:
./check_autoextend -M -U"User" -P"MDP" -T"TbsName" -L"ListenerName" -W100 -C90
Unknown : Le Seuil Critique est inférieur au seuil Warning
Occupancy percentage of all DBF:
./check_autoextend -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W100 -C100
OK : Tous les DBF Autoextend du tablespace "TABLESPACE" sont OK
./check_autoextend -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W60Â -C100
Warning : Augmentation des fichiers Autoextend du TBS "TABLESPACE" Ã 64,66%
./check_autoextend -U"User" -P"Password" -T"TbsName" -L"ListenerName" -W60Â -C62
KO : Augmentation des fichiers autoextend du TBS "TABLESPACE" Ã 64,66% ;