美文网首页Linux程序员
linux|常用的系统监控命令

linux|常用的系统监控命令

作者: 明明德撩码 | 来源:发表于2018-01-25 08:27 被阅读33次
image.png

命令[root@localhost ~]# ifconfig

image.png

命令top 资源整体使用情况

image.png

free 查看内存使用情况

image.png

netstat -tlnp查看端口使用情况

netstat - Print network connections, routing tables, interface statistics, masquerade connections, and multi-cast memberships

参数说明
-t --tcp
-l --listening
-n --numeric
-p --program


image.png

ps -ef 查看进程

ps - report a snapshot of the current processes.
参数说明:
-e Select all processes. Identical to -A.
-f Do full-format listing. This option can be combined with many other UNIX-style options to add additional
columns. It also causes the command arguments to be printed. When used with -L, the NLWP (number of
threads) and LWP (thread ID) columns will be added. See the c option, the format keyword args, and the
format keyword comm.

[root@localhost ~]# ps -ef| grep java

kill -9 进程id 强力杀死进程

-9

image.png image.png

相关文章

  • Linux系统常用监控工具

    Linux系统常用监控工具 概述 本文主要记录一下Linux系统上一些常用的系统监控工具,包括top命令、htop...

  • top命令详解

    linux命令之top 1、top命令简介 top命令是动态查看进程变化,监控linux的系统状况;它是常用的性能...

  • Linux资源占用监控

    一、Linux资源监控常用4个命令 top命令:查看系统资源使用情况演示:在linux机器上输入命令,top -H...

  • Linux系统监控命令详解

    1. top命令 top命令经常用来监控 Linux 的系统状况,比如cpu、内存的使用,程序员基本都知道这个命令...

  • Linux系统基础命令汇总

    Linux系统学习,总结汇总了linux系统下基础常用的命令: 一.Linux系统基础常用命令 1.命令da...

  • linux|常用的系统监控命令

    命令[root@localhost ~]# ifconfig 命令top 资源整体使用情况 free 查看内存使用...

  • 面试题 2021-11-01~2021-11-12

    常用的Linux命令 Linux命令 - Linux安全网 - Linux操作系统_Linux 命令_Linux教...

  • Linux系统常用命令(二)

    top top命令常用来监控linux的系统状况,如cpu、内存的使用。 按'q'退出 free -m 看内存占用...

  • Linux常用命令---CPU

    top命令:经常用来监控linux的系统状况,比如cpu、内存的使用 第一行: 11:03:55—当前系统时间 4...

  • vmstat命令

    vmstat命令是常用的Linux系统的监控小工具,它可以显示系统的CPU、内存以及IO的使用情况。 vmstat...

网友评论

    本文标题:linux|常用的系统监控命令

    本文链接:https://www.haomeiwen.com/subject/xgymaxtx.html