Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

反馈问题前的要求(如何查看日志) #29

Closed
spiritLHLS opened this issue Mar 10, 2023 · 3 comments
Closed

反馈问题前的要求(如何查看日志) #29

spiritLHLS opened this issue Mar 10, 2023 · 3 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers pinned

Comments

@spiritLHLS
Copy link
Owner

spiritLHLS commented Mar 10, 2023

注意,如果你的机器DD过后甲骨文后台无资源监控,那么使用本套脚本很可能无济于事,这种情况的不要开issue了

提问的麻烦给出报错日志或者以下命令的查询截图
执行htop或者top截个图

cat /tmp/memory-limit.pid
cat /tmp/cpu-limit.pid
cat /tmp/bandwidth_occupier.pid
service cpu-limit status
service memory-limit status
service bandwidth_occupier status

执行这些查看安装的服务是否正常
不给出查询截图的无法修复任何问题
截图直接粘贴到问题中Github会自动上传,不需要别的图床

如果某个服务有异常,执行

journalctl -u 服务名称 -n 50

查询对应日志

比如

journalctl -u bandwidth_occupier -n 50
@spiritLHLS spiritLHLS added documentation Improvements or additions to documentation pinned good first issue Good for newcomers labels Mar 10, 2023
@spiritLHLS spiritLHLS pinned this issue Mar 10, 2023
@spiritLHLS
Copy link
Owner Author

内存占用finalshell不显示缓存的,需要使用htop或者top查看,或者甲骨文后台查看

@hecarli555
Copy link

内存占用finalshell不显示缓存的,需要使用htop或者top查看,或者甲骨文后台查看

用了top来查看貌似也没看出来占用缓存20。。。。
image

@spiritLHLS
Copy link
Owner Author

内存占用finalshell不显示缓存的,需要使用htop或者top查看,或者甲骨文后台查看

用了top来查看貌似也没看出来占用缓存20。。。。 image

图片

图片

@spiritLHLS spiritLHLS changed the title 反馈问题前的要求 反馈问题前的要求(如何查看日志) Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers pinned
Projects
None yet
Development

No branches or pull requests

2 participants