`
luzl
  • 浏览: 564042 次
  • 性别: Icon_minigender_1
  • 来自: 大连
社区版块
存档分类
最新评论

20个Linux 系统监控命令

    博客分类:
  • Unix
阅读更多
本文只是摘录,更详细的请参阅全文:
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html

#1: top - Process Activity Command
top/topas(系统版本为5或者高于5的aix的top替代品)


Commonly Used Hot Keys

The top command provides several useful hot keys:
Hot Key Usage
t Displays summary information off and on.
m Displays memory information off and on.
A Sorts the display by top consumers of various system resources. Useful for quick identification of performance-hungry tasks on a system.
f Enters an interactive configuration screen for top. Helpful for setting up top for a specific task.
o Enables you to interactively select the ordering within top.
r Issues renice command.
k Issues kill command.
z Turn on or off color/mono

#2: vmstat - System Activity, Hardware and System Information

The command vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.

# vmstat 3


procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0      0 2540988 522188 5130400    0    0     2    32    4    2  4  1 96  0  0
 1  0      0 2540988 522188 5130400    0    0     0   720 1199  665  1  0 99  0  0
 0  0      0 2540956 522188 5130400    0    0     0     0 1151 1569  4  1 95  0  0
 0  0      0 2540956 522188 5130500    0    0     0     6 1117  439  1  0 99  0  0
 0  0      0 2540940 522188 5130512    0    0     0   536 1189  932  1  0 98  0  0
 0  0      0 2538444 522188 5130588    0    0     0     0 1187 1417  4  1 96  0  0
 0  0      0 2490060 522188 5130640    0    0     0    18 1253 1123  5  1 94  0  0


#3: w - Find Out Who Is Logged on And What They Are Doing
#4: uptime - Tell How Long The System Has Been Running
#5: ps - Displays The Processes
#6: free - Memory Usage
The command free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.
#7: iostat - Average CPU Load, Disk Activity
#8: sar - Collect and Report System Activity
#9: mpstat - Multiprocessor Usage
The mpstat command displays activities for each available processor, processor 0 being the first one. mpstat -P ALL to display average CPU utilization per processor:
#10: pmap - Process Memory Usage
The command pmap report memory map of a process. Use this command to find out causes of memory bottlenecks.
#11 and #12: netstat and ss - Network Statistics
#13: iptraf - Real-time Network Statistics
#14: tcpdump - Detailed Network Traffic Analysis
#15: strace - System Calls
#16: /Proc file system - Various Kernel Statistics
17#: Nagios - Server And Network Monitoring
18#: Cacti - Web-based Monitoring Tool
#19: KDE System Guard - Real-time Systems Reporting and Graphing
#20: Gnome System Monitor - Real-time Systems Reporting and Graphing

本文转载自:http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
  • 大小: 100.3 KB
分享到:
评论

相关推荐

    linux系统的监控命令

    此文档是关于性能测试中的linux系统监控命令

    linux系统资源监控命令

    linux系统资源监控几个好用命令,实现系统资源合理调整等

    常用的linux系统监控命令整理.docx

    常用的linux系统监控命令整理.docx

    Linux 系统监控命令

    在学习系统运维,感觉这个文档对我帮助不小,学习了

    你需要知道的16个Linux服务器监控命令

    如果你想知道你的服务器正在做干什么,你就需要了解一些基本的命令,一旦你精通了这些 命令,那你就是一个 专业的 Linux 系统管理员。 有些 Linux 发行版会提供 GUI 程序来进行系统的监控,例如 SUSE Linux 就有一个...

    linux 系统资源监控+生成Excle报告

    linux 系统资源监控nmon+生成Excle报告 备注:1.生成报告错误时解析,跟换CPU个数,一般都OK; 2.上传文件3份:监控软件一份、解析文件一份、命令说明一份; 3.多尝试几次;本人认为很好用;

    linux操作系统命令大全

     Shell是Linux系统下的命令解释器,也是使用Linux系统的主要环境,Shell的功能很多,本章主要从Shell的基本概念、Shell的种类、Shell中的特殊字符、重定向以及Shell程序几个方面来讲解,重点内容是Shell的特殊字符...

    Linux系统管理+网络监控命令.docx

    Linux系统管理+网络监控命令.docx

    linux目录实时监控

    本程序可实时监控linux下的一个目录,当目录中有新文件产生时本程序会进行简单的统计。另外把该程序写成服务chkpicd,把该程序放到/etc/init.d目录下即可,使用命令:service chkpic start/stop可控制服务开启/关闭。

    Linux服务器的16个监控命令.pdf

    想不想知道你的服务器到底在干什么?那么你要知道本文介绍的这些基本命令。一旦你熟悉掌握了这些命令,就为成为专业的 Linux系统

    Nmon监控Linux系统资源

    LoadRunner自身监控Linux系统资源并不太好,用top或者其他命令最后的结果也不容易分析,个人推荐用nmon工具。这个工具是IBM公司的提供的一个免费的监控系统资源耗用情况的小软件。

    57个Linux常用命令含参数介绍和使用示例

    系统管理:Linux系统中的命令可以用来管理系统资源,如CPU、内存、磁盘空间等,以及各种系统进程。这有助于系统管理员或用户更好地理解和控制系统的运行状态。 文件操作:Linux中的命令提供了丰富的文件操作功能,如...

    60个Linux常用命令大全.pdf

    内容概要:该命令大全包括了60个常用的Linux命令,涵盖了网络管理、系统监控、文本处理、文件管理、进程管理等多个方面。每个命令都有解释和实际场景的应用示例,有助于读者理解和掌握各种Linux命令的用途和操作方法...

    linux系列之常用运维命令整理笔录.docx

    linux系列之常用运维命令整理笔录.docx,本文档是本人整理的一些linux常用运维命令,包括系统监控等等,可以用于排查linux系统问题

    Linux资源监控常用指令

    Linux 系统由若干主要物理组件组成,如 CPU、内存、网卡和存储设备。要有效地管理 Linux 环境,您应该能够以合理的精度测量这些资源的 各种指标 — 每个组件处理多少... 下面我们介绍下linux资源监控有关的一些命令:

    Linux操作系统性能监控工具和指标分析V1.0

    适合初级系统工程师进行查看阅读,可作为工具书使用。

    Linux监视CPU的命令

    Linux监视CPU的命令,教你如何随时监视Linux的系统性能。

    通过监控Linux运行进程来保证系统的安全

    Linux系统提供了who、w、ps和top等察看进程信息的系统调用,通过结合使用这些系统调用,我们可以清晰地了解进程的运行状态以及存活情况,从而采取相应 的措施,来确保Linux系统的安全。它们是目前在Linux下最常见的...

    常用的60个Linux常用命令

    这些命令涵盖了Linux日常操作的方方面面,无论是文件管理、系统监控、网络操作还是软件包管理等,都有对应的命令可供使用。作为Linux用户,熟练掌握这些命令是非常有必要的,可以极大提高工作效率。 另外,Linux命令有...

Global site tag (gtag.js) - Google Analytics