求助:/var/stm/logs/os产生raw文件,怎样解决?
/var/stm/logs/os每日产生大量log*.raw文件,导致/var占用率增长,请问如何解决?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
/var/stm/logs/os每日产生大量log*.raw文件,导致/var占用率增长,请问如何解决?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
# cstm
Running Command File (/usr/sbin/stm/ui/config/.stmrc).
-- Information --
Support Tools Manager
Version D.03.00
Product Number B4708AA
(C) Copyright Hewlett Packard Co. 1995-2008
All Rights Reserved
Use of this program is subject to the licensing restrictions described
in "Help-->On Version". HP shall not be liable for any damages resulting
from misuse or unauthorized use of this program.
cstm>ru
-- Run Utility --
Select Utility
1 MOutil
2 logtool
Enter selection or cancel to quit : 2
-- Logtool Utility --
To View a Summary of Events in a Raw Log
1. Select a raw (unformatted) log file. (File Menu -> "Select Raw")
The current log file ends in ".cur", e.g. "log1.raw.cur".
You do not have to switch logs.
2. View the summary of the selected log file. (View Menu -> "Raw Summary")
To Format a Raw Log
1. Set the format filter for the types of entries you want to see.
(Filters Menu -> "Format"). To see all entries, skip this step.
2. Format the raw log file. (File Menu -> "Format Raw")
3. Display the formatted file. (View Menu -> "Formatted Log")
4. To further narrow the entries displayed, set a display filter.
(Filters Menu -> "Display" -> "Formatted")
For more information, use the on-line help (Help Menu -> "General help").
Logtool Utility>sr
-- Logtool Utility: Select Raw Log File --
Select a raw log file or files to view, format or filter.
[/var/stm/logs/os/log4.raw.cur]
Path: /var/stm/logs/os/
Enter Cancel or File Name:log1.raw
先检查那些log的内容确定原因,否则就算你删掉还是会重新出现的。
#cstm
cstm> ru logtool
Logtool Utility> rs (可以查到目前error的summary)