免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 4001 | 回复: 11
打印 上一主题 下一主题

[新手入门] 垃圾文件 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-07 20:37 |只看该作者 |倒序浏览
请问在AIX系统中,是不是也会产生垃圾文件,就象WINDOWS一样,内存会被占用!
怎么识别它们呢,有没有统一的后缀呢?
谢谢!

论坛徽章:
0
2 [报告]
发表于 2008-07-07 21:48 |只看该作者
the trash file maybe exist in the aix system ,
but this is not important,
no one will cancel the trash file to put the system in adventure just for cleaning up the system .

unless you konw what file is trash,you can cancel it. for example :the file in the /tmp.
if not ,you'd better don't cancel them.

论坛徽章:
0
3 [报告]
发表于 2008-07-08 08:17 |只看该作者
unless you konw what file is trash,you can cancel it. for example :the file in the /tmp.
if not ,you'd better don't cancel them.


万一fs满了需要清怎么办啊?

论坛徽章:
0
4 [报告]
发表于 2008-07-08 09:38 |只看该作者
系統的紀錄檔會隨使用時間漸增,如smit.log,smit.srcipt,core 等
其他有一些管理檔案,如果長太大亦可以清除例如
˙/usr/adm/cron/log
˙/usr/adm/wtmp
˙/usr/adm/pacct
˙/usr/adm/messages
˙/usr/adm/acct/nite/*
˙/usr/adm/dtmp
˙/usr/adm/qacct
˙/usr/adm/acct/sum/*
˙/usr/adm/acct/fiscal/*
˙/etc/utmp
˙/etc/security/failedlogin
另外”errclear 0”可以清除系統的error log 或者 透過skulker 定期清理一些不必要或過期的檔案

论坛徽章:
0
5 [报告]
发表于 2008-07-08 09:39 |只看该作者
AIX provides a general system cleanup script called skulker located in the /usr/sbin directory. Before
attempting to run the skulker command, look at the skulker entry in the product documentation. Read the
script for details to determine what files it will delete and what time frame it will allow files to exist before
deletion.
skulker may be run as a cron job using the following crontab entry:
0 3 * * * /usr/sbin/skulker
Consider limiting the errlog by the running these entries in cron:
0 11 * * * /usr/bin/errclear -d S,O 30
0 12 * * * /usr/bin/errclear -d H 90
/etc/skulker 是一個shell script,用來清除系統裡一些不必要,或者過期的檔案。AIX 使用者的crontab
包含了該程式,讓系統在特定固定的時間定期來清除系統裡面部分的檔案。通常在crontab 裡面都是備
註解起來。如果未經修改的skulker 會清除如下的檔案:
—舊的primary.ouputs 檔案,例如,/var/spool/qdaemon 底下的檔案
—舊的gdir 檔案
—遺留在郵件佇列中的檔案
—/tmp 中24 小時內未曾存取,修正的檔案
—/var/tmp 中24 小時未曾存取,修正的檔案
—/var/news 中超過45 天未曾讀取的新聞檔案
—*.bak,a.out,core,proof,gally,﹍等檔案
—.putdir 目錄中24 小時內未曾存取,修改的檔案
可以根據系統環境以及需要來修改skulker,自動地清除系統裡面不需要的檔案。

论坛徽章:
0
6 [报告]
发表于 2008-07-08 10:03 |只看该作者
学习

论坛徽章:
0
7 [报告]
发表于 2008-07-08 12:08 |只看该作者
原帖由 byronhsu 于 2008-7-8 09:39 发表
AIX provides a general system cleanup script called skulker located in the /usr/sbin directory. Before
attempting to run the skulker command, look at the skulker entry in the product documentati ...



very good!
studying.....

论坛徽章:
0
8 [报告]
发表于 2008-07-08 16:33 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
9 [报告]
发表于 2008-07-13 18:09 |只看该作者
嘿嘿,谢谢大家了啊,很很感谢啊!

论坛徽章:
0
10 [报告]
发表于 2008-07-17 20:35 |只看该作者

垃圾文件后缀

大家好!还是想问问垃圾文件问题,不知怎么判断呢?
是不是有什么后缀名可以显示呢?
谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP