30 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
Des options sont explicitées également
top
vmstat
w
uptime
ps
Show Long Format Output
# ps -Al
Display Threads ( LWP and NLWP)
# ps -AlFH
Watch Threads After Processes
# ps -AlLm
Get Security Information of Linux Process
# ps -eo euser,ruser,suser,fuser,f,comm,label
# ps axZ
# ps -eM
Let Us Print Every Process Running As User Vivek
# ps -U vivek -u vivek u
Configure ps Command Output In a User-Defined Format
# ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
# ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm
# ps -eopid,tt,user,fname,tmout,f,wchan
Print The Name of PID 55977
# ps -p 55977 -o comm=
Top 10 Memory Consuming Process
# ps -auxf | sort -nr -k 4 | head -10
Show Us Top 10 CPU Consuming Process
# ps -auxf | sort -nr -k 3 | head -10
iostat
sar
mpstat
pmap : Monitor process memory usage
netstat
ss : Network statistics
iptraf
tcpdump
iotop
htop
atop
ac et lastcomm -
The psacct or acct package contains several utilities for monitoring process activities, including:
ac command : Show statistics about users’ connect time
lastcomm command : Show info about about previously executed commands
accton command : Turns process accounting on or off
sa command : Summarizes accounting information
monit
nethogs : Find out PIDs that using most bandwidth on Linux
iftop
vnstat : A console-based network traffic monitor
nmon : Multi-outil (CPU, ram, réseau, disque, FS,...). Tuner, benchmark tool
glances : Idem
strace
/proc
Nagios
Cacti
KDE System Guard
Gnome system monitor
A few more tools:
nmap – scan your server for open ports.
lsof – list open files, network connections and much more.
ntop web based tool – ntop is the best tool to see network usage in a way similar to what top command does for processes i.e. it is network traffic monitoring software. You can see network status, protocol wise distribution of traffic for UDP, TCP, DNS, HTTP and other protocols.
Conky – Another good monitoring tool for the X Window System. It is highly configurable and is able to monitor many system variables including the status of the CPU, memory, swap space, disk storage, temperatures, processes, network interfaces, battery power, system messages, e-mail inboxes etc.
GKrellM – It can be used to monitor the status of CPUs, main memory, hard disks, network interfaces, local and remote mailboxes, and many other things.
mtr – mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool.
vtop – graphical terminal activity monitor on Linux
gtop – Awesome system monitoring dashboard for Linux/macOS Unix terminal
January 31, 2020 at 2:15:37 PM GMT+1
- permalink
-
-
https://www.cyberciti.biz/tips/top-linux-monitoring-tools.html