• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

竹千代

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

运维命令

一、如果linux服务器响应慢,先查大概情况

  1. vmstat  讲解
  2. top

二、如果是cpu问题

  如何分析是不是cpu问题? http://blog.scoutapp.com/articles/2009/07/31/understanding-load-averages

二、如果是内存问题

  用 free -m

三、如果是io任务重,用

  iotop    讲解

iotop command displays columns for the I/O bandwidth read and written by each process/thread during the sampling period. It also displays the percentage of time the thread/process spent while swapping in and while waiting on I/O. 

  

posted on 2016-11-22 15:19  竹千代  阅读(135)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3