oracle10 监听日志,windows 清空oracle的监听日志listener.log
最近接手一个windows 下的oracle ,发现监听日志已经到了1.5G。
以前都是在aix,linux上干活 ,突然倒了windows反而不太习惯。
下面记录一下清理过程:
D:\oracle\product\102\NETWORK\log>echo >listener.log
The process cannot access the file because it is being used by another process.
D:\oracle\product\102\NETWORK\log>copy /y sqlnet.log listener.log
1 file(s) copied.
D:\oracle\product\102\NETWORK\log>dir
Volume in drive C is System
Volume Serial Number is B8E0-1DBE
Directory of D:\oracle\product\102\NETWORK\log
09/20/2011 02:42 PM
09/20/2011 02:42 PM
09/20/2011 03:10 PM 541 listener.log
09/20/2011 03:09 PM 13 sqlnet.log
2 File(s) 554 bytes
2 Dir(s) 13,273,034,240 bytes free
D:\Liangwei>help copy
Copies one or more files to another location.
COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/A | /B ] source [/A | /B]
[+ source [/A | /B] [+ ...]] [destination [/A | /B]]
source Specifies the file or files to be copied.
/A Indicates an ASCII text file.
/B Indicates a binary file.
/D Allow the destination file to be created decrypted
destination Specifies the directory and/or filename for the new file(s).
/V Verifies that new files are written correctly.
/N Uses short filename, if available, when copying a file with a
non-8dot3 name.
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file. 覆盖文件不提示
/-Y Causes prompting to confirm you want to overwrite an
existing destination file. 覆盖文件提示
/Z Copies networked files in restartable mode.
The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line. Default is
to prompt on overwrites unless COPY command is being executed from
within a batch script.
To append files, specify a single file for destination, but multiple files
for source (using wildcards or file1+file2+file3 format).
oracle10 监听日志,windows 清空oracle的监听日志listener.log相关推荐
- oracle监听 3个配置文件,Oracle 11g 监听 配置修改 说明
这里我们看2个比较常用的操作. 1. 停止写listener log 在某些特定的场合可能会有这样的需求.控制这个功能的参数是LOG_STATUS. 官网对这个参数的说明:To turn listen ...
- oracle 动态监听例子,ORACLE动态监听总结
1 动态监听 本文档介绍ORACLE动态监听服务的配置及原理: 1.1 监听文件 $ORACLE_HOME/network/admin/listener.ora 1.2 动态监听 ORACLE实例在启 ...
- windows 系统 oracle监听无法启动。
windows 系统 oracle监听无法启动. TNS-12541:TNS:no listener:这个时候就纳闷了,监听日志大小达到4G,无法打开,当然就无法分析. 删除监听文件,问题解决.
- windows oracle重建监听,Windows下修改Oracle监听端口
先放开防火墙的端口,再来改监听端口. 只有一个实例: net stop OracleOraDb11g_home1TNSListener 再运行 NET Manager 修改实例名与Listener的端 ...
- Oracle 外部表加载监听日志,使用外部表访问监听日志
某天工作是使用外部表加载监听日志信息,观察并分析用户连接数变化趋势 按照eygle循序渐进oracle的教程一步步进行: 测试使用外部表先创建目录: connect / as sysdba crea ...
- oracle的监听日志满了,对于Oracle监听日志定期清理
软件安装:装机软件必备包 SQL是Structured Query Language(结构化查询语言)的缩写.SQL是专为数据库而建立的操作命令集,是一种功能齐全的数据库语言.在使用它时,只需要发出& ...
- Oracle 数据库监听日志过大,怎么清除?
Oracle 数据库的监听日志用于保留连接数据库的一些记录以及问题等信息! 当数据库运行长时间之后,日志文件就会一直变大,这时就需要定时清理!如果不清理,当日志大小达到 4G 左右的时候,可能会导致数 ...
- windows重启oracle监听口令,oracle_windows下命令启动oracle监听和服务
1.检查监听器状态 C:\Users\Administrator>lsnrctl status 2.启动监听程序 C:\Users\Administrator>lsnrctl start ...
- oracle 数据库关闭监听日志,11G Oracle 关闭监听XML日志产生的方法
设置如下两个参数 1)To avoid generating or reduce the xml files, please set the following parameter: In sqlne ...
最新文章
- 【小白学PyTorch】10.pytorch常见运算详解
- net user命令详解
- 算法(69)----最长和谐子序列
- 把char*转换为wchar_t*
- 数据结构:线性数据结构(3)-deques(栈,队列,deques, 列表)
- java md5运算_java实现计算MD5
- 1736. 替换隐藏数字得到的最晚时间
- 查询能力(SIP OPTIONS)
- 04-07 接口请求构造
- python核心装饰_《python核心编程》中高级闭包和装饰器理解?
- 《设计模式详解》行为型模式 - 职责链模式
- linux将文件的第二列求和,awk实现第一列相乘,第二列求和,并相加 - 米扑博客...
- python创建二维空列表_python创建与遍历List二维列表的方法
- SCI/SSCI选刊神器之——Elsevier Journal Finder
- 2.计蒜客ACM题库.A1002 字符串长度
- 数据库MySQL创库、创表基本命令
- 计算机cmd卸载软件,在CMD模式下如何卸载软件
- linux服务器 ip地址,查看linux服务器的IP地址
- 巴菲特致股东的一封信:2003年
- 在WINDOWS运行框中能够输入的命令有多少?(转)