求助:/var/stm/logs/os产生raw文件,怎样解决?

发布于 2022-09-14 11:09:40 字数 52 浏览 11 评论 2

/var/stm/logs/os每日产生大量log*.raw文件,导致/var占用率增长,请问如何解决?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

深居我梦 2022-09-15 07:52:52

# 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

夜夜流光相皎洁 2022-09-14 20:25:39

先检查那些log的内容确定原因,否则就算你删掉还是会重新出现的。

#cstm
cstm> ru logtool
Logtool Utility> rs     (可以查到目前error的summary)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文