最近接手一个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相关推荐

  1. oracle监听 3个配置文件,Oracle 11g 监听 配置修改 说明

    这里我们看2个比较常用的操作. 1. 停止写listener log 在某些特定的场合可能会有这样的需求.控制这个功能的参数是LOG_STATUS. 官网对这个参数的说明:To turn listen ...

  2. oracle 动态监听例子,ORACLE动态监听总结

    1 动态监听 本文档介绍ORACLE动态监听服务的配置及原理: 1.1 监听文件 $ORACLE_HOME/network/admin/listener.ora 1.2 动态监听 ORACLE实例在启 ...

  3. windows 系统 oracle监听无法启动。

    windows 系统 oracle监听无法启动. TNS-12541:TNS:no listener:这个时候就纳闷了,监听日志大小达到4G,无法打开,当然就无法分析. 删除监听文件,问题解决.

  4. windows oracle重建监听,Windows下修改Oracle监听端口

    先放开防火墙的端口,再来改监听端口. 只有一个实例: net stop OracleOraDb11g_home1TNSListener 再运行 NET Manager 修改实例名与Listener的端 ...

  5. Oracle 外部表加载监听日志,使用外部表访问监听日志

    某天工作是使用外部表加载监听日志信息,观察并分析用户连接数变化趋势 按照eygle循序渐进oracle的教程一步步进行: 测试使用外部表先创建目录: connect  / as sysdba crea ...

  6. oracle的监听日志满了,对于Oracle监听日志定期清理

    软件安装:装机软件必备包 SQL是Structured Query Language(结构化查询语言)的缩写.SQL是专为数据库而建立的操作命令集,是一种功能齐全的数据库语言.在使用它时,只需要发出& ...

  7. Oracle 数据库监听日志过大,怎么清除?

    Oracle 数据库的监听日志用于保留连接数据库的一些记录以及问题等信息! 当数据库运行长时间之后,日志文件就会一直变大,这时就需要定时清理!如果不清理,当日志大小达到 4G 左右的时候,可能会导致数 ...

  8. windows重启oracle监听口令,oracle_windows下命令启动oracle监听和服务

    1.检查监听器状态 C:\Users\Administrator>lsnrctl status 2.启动监听程序 C:\Users\Administrator>lsnrctl start ...

  9. oracle 数据库关闭监听日志,11G Oracle 关闭监听XML日志产生的方法

    设置如下两个参数 1)To avoid generating or reduce the xml files, please set the following parameter: In sqlne ...

最新文章

  1. 【小白学PyTorch】10.pytorch常见运算详解
  2. net user命令详解
  3. 算法(69)----最长和谐子序列
  4. 把char*转换为wchar_t*
  5. 数据结构:线性数据结构(3)-deques(栈,队列,deques, 列表)
  6. java md5运算_java实现计算MD5
  7. 1736. 替换隐藏数字得到的最晚时间
  8. 查询能力(SIP OPTIONS)
  9. 04-07 接口请求构造
  10. python核心装饰_《python核心编程》中高级闭包和装饰器理解?
  11. 《设计模式详解》行为型模式 - 职责链模式
  12. linux将文件的第二列求和,awk实现第一列相乘,第二列求和,并相加 - 米扑博客...
  13. python创建二维空列表_python创建与遍历List二维列表的方法
  14. SCI/SSCI选刊神器之——Elsevier Journal Finder
  15. 2.计蒜客ACM题库.A1002 字符串长度
  16. 数据库MySQL创库、创表基本命令
  17. 计算机cmd卸载软件,在CMD模式下如何卸载软件
  18. linux服务器 ip地址,查看linux服务器的IP地址
  19. 巴菲特致股东的一封信:2003年
  20. 在WINDOWS运行框中能够输入的命令有多少?(转)

热门文章

  1. 用Quartus II Timequest Timing Analyzer进行时序分析 :实例讲解
  2. android社会化分享
  3. OO真经——关于面向对象的哲学体系及科学体系的探讨(下)
  4. Metasploit渗透某高校域服务器
  5. 数据类型转换(针对数字类型)
  6. 【案例】爆老师拆解同步网络seo分析思路
  7. 某pl/sql培训练习题
  8. 多线程访问全局变量和局部变量
  9. bin/...的访问被拒绝被拒绝的问题
  10. springboot中使用poi导出excel文件(亲测实现了第一个功能)