当前位置:首页 » 操作系统 » asmlinux

asmlinux

发布时间: 2023-09-03 06:26:02

linux下的asm目录,asm代表什么意思

asm是assembly language 的简称,即:汇编语言。asm是一个符号连接,只有在你的主makefile的ARCH 变量赋值,并且编译过一遍内核之后才会指向对应的体系结构,这个文件夹下的东西是体系结构相关的。如:make的时候 /include/asm 指向 /include/asm-x86/

⑵ linux 中 ASM命令作用

oracle 10R2推出了asmcmd这个工具,可以用来管理asm存储上的文件。
1.使用asmcmd命令必须先启动asm实例,不然会有以下报错:rac2-> asmcmd -p
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory (DBD ERROR: OCISessionBegin)2.使用asmcmd必须先指定ORACLE_HOME和ORACLE_SID,注意此处ORACLE_SID是asm的sid,不然会报错:rac2-> asmcmd -p
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directory (DBD ERROR: OCISessionBegin)3.asmcmd命令带p参数和不带p参数的作用:
带p,使用asmcmd将显示当前路径:rac2-> asmcmd -p
ASMCMD [+] > ls
DG1/
RECOVERDEST/
ASMCMD [+] > cd DG1
ASMCMD [+DG1] > ls
DEVDB/
ASMCMD [+DG1] > cd DEVDB
ASMCMD [+DG1/DEVDB] >不带p,不显示当前路径:rac2-> asmcmd
ASMCMD> ls
DG1/
RECOVERDEST/
ASMCMD> cd DG1
ASMCMD> ls
DEVDB/
ASMCMD> cd DEVDB
ASMCMD>4.其他相关参数,可使用help查看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

find
help
ls
lsct
lsdg
mkalias
mkdir
pwd
rm
rmalias

热点内容
java返回this 发布:2025-10-20 08:28:16 浏览:561
制作脚本网站 发布:2025-10-20 08:17:34 浏览:847
python中的init方法 发布:2025-10-20 08:17:33 浏览:550
图案密码什么意思 发布:2025-10-20 08:16:56 浏览:728
怎么清理微信视频缓存 发布:2025-10-20 08:12:37 浏览:649
c语言编译器怎么看执行过程 发布:2025-10-20 08:00:32 浏览:967
邮箱如何填写发信服务器 发布:2025-10-20 07:45:27 浏览:222
shell脚本入门案例 发布:2025-10-20 07:44:45 浏览:80
怎么上传照片浏览上传 发布:2025-10-20 07:44:03 浏览:770
python股票数据获取 发布:2025-10-20 07:39:44 浏览:678