免费注册 查看新帖 |

Chinaunix

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

[系统管理] dmesg如何只保留开机信息 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2018-04-02 16:16 |只看该作者 |倒序浏览
请教下,开机后执行dmesg,可以看到
  1. [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009b000 (usable)
  2. [    0.000000]  BIOS-e820: 000000000009b000 - 00000000000a0000 (reserved)
  3. [    0.000000]  BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
  4. [    0.000000]  BIOS-e820: 0000000000100000 - 00000000c77e0000 (usable)
  5. [    0.000000]  BIOS-e820: 00000000c77e0000 - 00000000c77ee000 (ACPI data)
  6. [    0.000000]  BIOS-e820: 00000000c77ee000 - 00000000c7800000 (ACPI NVS)
  7. [    0.000000]  BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
复制代码
以上这种信息,但随着系统使用时间增长,再运行dmesg后,显示的信息就变为了
  1. [2970768.086568] TCP: Possible SYN flooding on port 53. Sending cookies.
  2. [2970768.087026] TCP: Possible SYN flooding on port 53. Sending cookies.
  3. [2970768.087122] TCP: Possible SYN flooding on port 53. Sending cookies.
  4. [3005752.097465] TCP: Possible SYN flooding on port 53. Sending cookies.
  5. [3005752.098107] TCP: Possible SYN flooding on port 53. Sending cookies.
  6. [3005752.098807] TCP: Possible SYN flooding on port 53. Sending cookies.
  7. [3005752.098825] TCP: Possible SYN flooding on port 53. Sending cookies.
  8. [3005752.102456] TCP: Possible SYN flooding on port 53. Sending cookies.
  9. [3005752.102501] TCP: Possible SYN flooding on port 53. Sending cookies.
  10. [3005752.102757] TCP: Possible SYN flooding on port 53. Sending cookies.
  11. [3005752.102852] TCP: Possible SYN flooding on port 53. Sending cookies.
  12. [3005752.102870] TCP: Possible SYN flooding on port 53. Sending cookies.
  13. [3005752.102948] TCP: Possible SYN flooding on port 53. Sending cookies.
复制代码
请问如何配置,使得不管什么时候,运行dmesg都显示的是开机的信息,而不是内核打印信息
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP