- 最后登录
- 2017-5-29
- 在线时间
- 10 小时
- 威望
- 16
- 金钱
- 122
- 注册时间
- 2012-2-6
- 阅读权限
- 10
- 帖子
- 22
- 精华
- 0
- 积分
- 16
- UID
- 203
|
1#
发表于 2012-12-25 11:16:27
|
查看: 3973 |
回复: 2
本帖最后由 cshiqin 于 2012-12-25 11:19 编辑
adrci> help ips add file
Usage: IPS ADD FILE <file_spec> PACKAGE <pkgid>
Purpose: Add a file to an existing package. The file should be in the same
ADR_BASE as the package.
Arguments:
<file_spec>: File specified with file and path (full or relative).
<package_id>: The ID of the package to add file to.
Example:
ips add file <ADR_HOME>/trace/mydb1_ora_13579.trc package 12
adrci> show homepath
ADR Homes:
diag/rdbms/zhdb/zhdb
adrci> ips add file ./trace/zhdb_ora_17652.trc package 1
DIA-49424: Directory outside ADR not allowed
adrci> ips add file trace/zhdb_ora_17652.trc package 1
DIA-49424: Directory outside ADR not allowed
adrci> ips add file /oracle/diag/rdbms/zhdb/zhdb/trace/zhdb_ora_17652.trc package 1
Added file /oracle/diag/rdbms/zhdb/zhdb/trace/zhdb_ora_17652.trc to package 1
ips add file 使用绝对路径可以,使用相对路径不行,
请问 ips add file 如何使用相对路径,谢谢
|
|