崩溃后清理 [英] Cleaning up after a crash

查看:79
本文介绍了崩溃后清理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个新的安装,我正在熨平皱纹。在

过程中,我遇到了一些崩溃,现在我的SQLlib \ DB2目录已满了

..0和.000文件。清除这个目录的最佳方法是什么?

永久性损坏任何东西?

I have a new instalation that I am ironing out the wrinkles in. In the
process I have had a few crashes and now my SQLlib\DB2 Dir is full of
..0 and .000 files. What is the best way to clean up this Dir without
damaging anything permanatly?

推荐答案

ja ****** @ gmail.com 写道:
我有一个新的安装我我正在整理皱纹。在
过程中,我遇到了一些崩溃,现在我的SQLlib \ DB2目录中充满了
.0和.000文件。清理这个Dir的最佳方法是什么,而不会永久性地损坏任何东西?
I have a new instalation that I am ironing out the wrinkles in. In the
process I have had a few crashes and now my SQLlib\DB2 Dir is full of
.0 and .000 files. What is the best way to clean up this Dir without
damaging anything permanatly?



假设你无意打电话给支持..

rm - rf(或相当于Windows)做得很好:-)

你可能想要备份db2diag.log,事件日志等...

注意清理每隔一段时间就出一个好日子文件

保存。 (只需每24小时重命名一次并存档 - cron

job)。

DB2会在发现文件丢失时重新创建文件。


干杯

Serge

-

Serge Rielau

DB2 SQL编译器开发

IBM多伦多实验室


Assuming youhave no intention to call support..
rm -rf (or the equivalent of Windows) does a great job :-)
You may want to back up the db2diag.log, eventlog etc...
Note that cleaning out the log files every so often is good house
keeping. (just rename them every 24 hours or so and archive away - cron
job).
DB2 will recreate the files when it finds them missing.

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab


我在windows环境中。我不确定rm -rf是什么意思......

I am in a windows enviroinment. Im not sure what rm -rf means...


这意味着del * /s" ...但不要这样做。 ..on windows(与unix不同)

默认诊断路径与dbm配置文件共享,还有一些

其他重要目录等我建议更改你的诊断

指向不同目录的路径。如果你想从目录中删除所有

文件,请先备份它们,以防万一有什么事情发生错误......我想你唯一需要的东西是配置文件(db2sys *)

但是我不能100%确定在该路径中默认创建的是什么。

ja ****** @ gmail.com 写道:
It means "del * /s"...but don''t do that...on windows (unlike unix) the
default diagnostic path is shared with the dbm config file, and some
other important directories etc. I''d suggesting changing your diagnostic
paths to point to a different directory. If you want to remove all the
files from the directory, back them up first in case something goes
wrong...I think the only thing you''ll need is the config file(db2sys*)
but I''m not 100% sure what''s created by default in that path.

ja******@gmail.com wrote:
我在windows环境中。我不确定rm -rf是什么意思......
I am in a windows enviroinment. Im not sure what rm -rf means...



这篇关于崩溃后清理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆