ITPub博客

首页 > Linux操作系统 > Linux操作系统 > rac环境 asmcmd用法;首先设置oracle_home oracle_sid(asm实例)

rac环境 asmcmd用法;首先设置oracle_home oracle_sid(asm实例)

原创 Linux操作系统 作者:season0891 时间:2009-04-22 16:11:47 0 删除 编辑
本文转自:http://polestar123.itpub.net/post/4606/477060


C:Documents and SettingsAdministrator>asmcmd
"asmcmd: the environment variable ORACLE_HOME is not set."

C:Documents and SettingsAdministrator>set oracle_home=c:oracleproduct10.2.0
db_1

C:Documents and SettingsAdministrator>set oracle_sid=+asm1

C:Documents and SettingsAdministrator>asmcmd
ASMCMD> help
asmcmd [-p] [command]

The environment variables ORACLE_HOME and ORACLE_SID determine the
instance to which the program connects, and ASMCMD establishes a
bequeath connection to it, in the same manner as a SQLPLUS / AS
SYSDBA. The user must be a member of the SYSDBA group.

Specifying the -p option allows the current directory to be displayed
in the command prompt, like so:

ASMCMD [+DATAFILE/ORCL/CONTROLFILE] >

[command] specifies one of the following commands, along with its
parameters.

Type "help [command]" to get help on a specific ASMCMD command.

commands:
--------
cd
du
find
help
ls
lsct
lsdg
mkalias
mkdir
pwd
rm
rmalias
ASMCMD> ls
DATA/
ASMCMD> cd data
ASMCMD> ls
ORACLE/
ASMCMD> cd oracle

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/90618/viewspace-591442/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-06-10

  • 博文量
    790
  • 访问量
    2098012