oratclsh这个工具是做什么用的啊?

[复制链接]
查看11 | 回复3 | 2007-10-20 08:38:44 | 显示全部楼层 |阅读模式
谁能给我解释一下这段脚本是什么意思:
#######

oratclsh $HOME/trc/bin/***.tcl $*
#######
多谢多谢!


回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
就没有人用过oratclsh这个工具吗?
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
$ORACLE_HOME/agentbin/ORATCLSH is a special-purpose TCL shell that supports all standard TCL verbs (supported in TCL75.dll) plus a large subset (not all) of the ORATCL verbs supported by the OEM Agent. ORATCLSH is not a general purpose utility and may only be used in combination with the OEM Agent as it depends on files and data structures maintained by the OEM Agent.
There is no documentation of ORATCLSH and it has never been part of the supported feature set of the OEM Agent. It is provided strictly as a debugging tool to help Oracle customers and developers in developing OEM job and event scripts. The executable ORATCLSH is provided for debugging your TCL scripts. Before executing ORATCLSH, set the environment variable TCL_LIBRARY to point to $ORACLE_HOME/network/agent/tcl, the location of the init.tcl file.
To check the version of the database, type the following in the ORATCLSH, making sure that the oramsg (oraindex) is set to the correct database index of a running database:
ORATCLSH>oradbsnmp get applVersion.$oramsg(oraindex)
回复

使用道具 举报

千问 | 2007-10-20 08:38:44 | 显示全部楼层
thanks a lot,but now for me ,it seems difficult to learn itfor no reference material.:-(
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行