Upload
ngocn198
View
57
Download
1
Embed Size (px)
DESCRIPTION
command tools
Citation preview
5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
AboutContact usForumsHomeLinux How-to & TutorialsShell ScriptsRSS/Feed
nixCraft
20 Linux System Monitoring Tools Every
SysAdmin Should Know
by nixCrafton June 27, 2009 344 comments LAST UPDATED January 1, 2014
in CentOS, Debian Linux, fedora linuxNeed to monitor Linux server performance? Try these built-in commands and a fewadd-on tools. Most Linux distributions are equipped with tons of monitoring. Thesetools provide metrics which can be used to get information about system activities.You can use these tools to find the possible causes of a performance problem. Thecommands discussed below are some of the most basic commands when it comes tosystem analysis and debugging server issues such as:
1. Findingout bottlenecks.2. Disk (storage) bottlenecks.
3. CPU and memory bottlenecks.4. Network bottlenecks.
#1: top- Process Activity Command
The top program provides a dynamic real-time view of a running system i.e. actual process activity. Bydefault, it displays the most CPU-intensive tasks running on the server and updates the list every fiveseconds.
http://www.cyberciti.biz/tips/category/linuxhttp://www.cyberciti.biz/tips/category/linuxhttp://www.cyberciti.biz/tips/category/linuxhttp://www.cyberciti.biz/tips/category/linuxhttp://www.cyberciti.biz/tips/category/linuxhttp://www.cyberciti.biz/tips/category/centoshttp://www.cyberciti.biz/tips/category/debian-linuxhttp://www.cyberciti.biz/tips/category/fedora-linuxhttp://www.cyberciti.biz/tips/about-ushttp://www.cyberciti.biz/http://bash.cyberciti.biz/http://www.cyberciti.biz/faq/http://www.cyberciti.biz/tips/category/fedora-linuxhttp://www.cyberciti.biz/tips/category/debian-linuxhttp://www.cyberciti.biz/tips/category/centoshttp://www.cyberciti.biz/tips/about-ushttp://www.cyberciti.biz/http://feeds.cyberciti.biz/Nixcraft-LinuxFreebsdSolarisTipsTrickshttp://bash.cyberciti.biz/http://www.cyberciti.biz/faq/http://www.cyberciti.biz/http://nixcraft.com/forum.phphttp://www.cyberciti.biz/tips/contact-ushttp://www.cyberciti.biz/tips/about-ushttp://www.cyberciti.biz/tips/category/linux5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Fig.01: Linux top command
Commonly Used Hot Keys
The top command provides several useful hot keys:
Hot
KeyUsage
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 identificationperformance-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
=> Related:How do I Find Out Linux CPU Utilization?
#2: vmstat - System Activity, Hardware and System Information
The command vmstat reports information about processes, memory, paging, block IO, traps, and cpuactivity.# vmstat 3
Sample Outputs:
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------r b swpd free buff cache si so bi bo in cs us sy id wa st
http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.htmlhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/top-output5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
0 0 0 2540988 522188 5130400 0 0 2 32 4 2 4 1 96 0 01 0 0 2540988 522188 5130400 0 0 0 720 1199 665 1 0 99 0 00 0 0 2540956 522188 5130400 0 0 0 0 1151 1569 4 1 95 0 00 0 0 2540956 522188 5130500 0 0 0 6 1117 439 1 0 99 0 00 0 0 2540940 522188 5130512 0 0 0 536 1189 932 1 0 98 0 00 0 0 2538444 522188 5130588 0 0 0 0 1187 1417 4 1 96 0 00 0 0 2490060 522188 5130640 0 0 0 18 1253 1123 5 1 94 0 0
Display Memory Utilization Slabinfo
# vmstat -m
Get Information About Active / Inactive Memory Pages
# vmstat -a
=> Related:How do I find out Linux Resource utilization to detect system bottlenecks?
#3: w - Find Out Who Is Logged on And What They Are Doing
w command displays information about the users currently on the machine, and their processes.# w username
# w vivek
Sample Outputs:
17:58:47 up 5 days, 20:28, 2 users, load average: 0.36, 0.26, 0.24USER TTY FROM LOGIN@ IDLE JCPU PCPU WHATroot pts/0 10.1.3.145 14:55 5.00s 0.04s 0.02s vim /etc/resolv.confroot pts/1 10.1.3.145 17:43 0.00s 0.03s 0.00s w
#4: uptime - Tell How Long The System Has Been Running
The uptime command can be used to see how long the server has been running. The current time, howlong the system has been running, how many users are currently logged on, and the system load averagfor the past 1, 5, and 15 minutes.# uptime
Output:
18:02:41 up 41 days, 23:42, 1 user, load average: 0.00, 0.00, 0.00
1 can be considered as optimal load value. The load can change from system to system. For a single CPsystem 1 - 3 and SMP systems 6-10 load value might be acceptable.
#5: ps - Displays The Processes
ps command will report a snapshot of the current processes. To select all processes use the -A or -eoption:# ps -A
Sample Outputs:
PID TTY TIME CMD 1 ? 00:00:02 init
http://www.cyberciti.biz/tips/linux-resource-utilization-to-detect-system-bottlenecks.html5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
2 ? 00:00:02 migration/0 3 ? 00:00:01 ksoftirqd/0 4 ? 00:00:00 watchdog/0 5 ? 00:00:00 migration/1 6 ? 00:00:15 ksoftirqd/1.........4881 ? 00:53:28 java4885 tty1 00:00:00 mingetty4886 tty2 00:00:00 mingetty
4887 tty3 00:00:00 mingetty4888 tty4 00:00:00 mingetty4891 tty5 00:00:00 mingetty4892 tty6 00:00:00 mingetty4893 ttyS1 00:00:00 agetty12853 ? 00:00:00 cifsoplockd12854 ? 00:00:00 cifsdnotifyd14231 ? 00:10:34 lighttpd14232 ? 00:00:00 php-cgi54981 pts/0 00:00:00 vim55465 ? 00:00:00 php-cgi55546 ? 00:00:00 bind9-snmp-stat
55704 pts/1 00:00:00 ps
ps is just like top but provides more information.
Show Long Format Output
# ps -Al
To turn on extra full mode (it will show command line arguments passed to process):# ps -AlF
To See Threads ( LWP and NLWP)
# ps -AlFH
To See Threads After Processes
# ps -AlLm
Print All Process On The Server
# ps ax
# ps axu
Print A Process Tree
# ps -ejH
# ps axjf
# pstree
Print Security Information
5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
# ps -eo euser,ruser,suser,fuser,f,comm,label
# ps axZ
# ps -eM
See Every Process Running As User Vivek
# ps -U vivek -u vivek u
Set 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
Display Only The Process IDs of Lighttpd
# ps -C lighttpd -o pid=
OR# pgrep lighttpd
OR# pgrep -u vivek php-cgi
Display The Name of PID 55977
# ps -p 55977 -o comm=
Find Out The Top 10 Memory Consuming Process
# ps -auxf | sort -nr -k 4 | head -10
Find Out top 10 CPU Consuming Process
# ps -auxf | sort -nr -k 3 | head -10
#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.# freeSample Output:
total used free shared buffers cachedMem: 12302896 9739664 2563232 0 523124 5154740-/+ buffers/cache: 4061800 8241096Swap: 1052248 0 1052248
=> Related::
1. Linux Find Out Virtual Memory PAGESIZE
http://www.cyberciti.biz/faq/linux-check-the-size-of-pagesize/5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
2. Linux Limit CPU Usage Per Process3. How much RAM does my Ubuntu / Fedora Linux desktop PC have?
#7: iostat - Average CPU Load, Disk Activity
The command iostat report Central Processing Unit (CPU) statistics and input/output statistics fordevices, partitions and network filesystems (NFS).
# iostatSample Outputs:
Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in) 06/26/2009avg-cpu: %user %nice %system %iowait %steal %idle 3.50 0.09 0.51 0.03 0.00 95.86Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda 22.04 31.88 512.03 16193351 260102868sda1 0.00 0.00 0.00 2166 180sda2 22.04 31.87 512.03 16189010 260102688sda3 0.00 0.00 0.00 1615 0
=> Related:: Linux Track NFS Directory / Disk I/O Stats
#8: sar - Collect and Report System Activity
The sar command is used to collect, report, and save system activity information. To see networkcounter, enter:# sar -n DEV | more
To display the network counters from the 24th:# sar -n DEV -f /var/log/sa/sa24 | more
You can also display real time usage using sar:
# sar 4 5Sample Outputs:
Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in) 06/26/200906:45:12 PM CPU %user %nice %system %iowait %steal %idle06:45:16 PM all 2.00 0.00 0.22 0.00 0.00 97.7806:45:20 PM all 2.07 0.00 0.38 0.03 0.00 97.5206:45:24 PM all 0.94 0.00 0.28 0.00 0.00 98.7806:45:28 PM all 1.56 0.00 0.22 0.00 0.00 98.2206:45:32 PM all 3.53 0.00 0.25 0.03 0.00 96.19Average: all 2.02 0.00 0.27 0.01 0.00 97.70
=> Related:: How to collect Linux system utilization data into a file
#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:# mpstat -P ALL
Sample Output:
Linux 2.6.18-128.1.14.el5 (www03.nixcraft.in) 06/26/200906:48:11 PM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
http://www.cyberciti.biz/tips/howto-write-system-utilization-data-to-file.htmlhttp://www.cyberciti.biz/faq/howto-linux-track-nfs-client-disk-metrics/http://www.cyberciti.biz/tips/how-much-ram-does-my-linux-system.htmlhttp://www.cyberciti.biz/faq/cpu-usage-limiter-for-linux/5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
06:48:11 PM all 3.50 0.09 0.34 0.03 0.01 0.17 0.00 95.86 1218.0406:48:11 PM 0 3.44 0.08 0.31 0.02 0.00 0.12 0.00 96.04 1000.3106:48:11 PM 1 3.10 0.08 0.32 0.09 0.02 0.11 0.00 96.28 34.9306:48:11 PM 2 4.16 0.11 0.36 0.02 0.00 0.11 0.00 95.25 0.0006:48:11 PM 3 3.77 0.11 0.38 0.03 0.01 0.24 0.00 95.46 44.8006:48:11 PM 4 2.96 0.07 0.29 0.04 0.02 0.10 0.00 96.52 25.9106:48:11 PM 5 3.26 0.08 0.28 0.03 0.01 0.10 0.00 96.23 14.9806:48:11 PM 6 4.00 0.10 0.34 0.01 0.00 0.13 0.00 95.42 3.7506:48:11 PM 7 3.30 0.11 0.39 0.03 0.01 0.46 0.00 95.69 76.89
=> Related:: Linux display each multiple SMP CPU processors utilization individually.
#10: pmap - Process Memory Usage
The command pmap report memory map of a process. Use this command to find out causes of memorybottlenecks.# pmap -d PID
To display process memory information for pid # 47394, enter:# pmap -d 47394
Sample Outputs:
47394: /usr/bin/php-cgiAddress Kbytes Mode Offset Device Mapping0000000000400000 2584 r-x-- 0000000000000000 008:00002 php-cgi0000000000886000 140 rw--- 0000000000286000 008:00002 php-cgi00000000008a9000 52 rw--- 00000000008a9000 000:00000 [ anon ]0000000000aa8000 76 rw--- 00000000002a8000 008:00002 php-cgi000000000f678000 1980 rw--- 000000000f678000 000:00000 [ anon ]000000314a600000 112 r-x-- 0000000000000000 008:00002 ld-2.5.so000000314a81b000 4 r---- 000000000001b000 008:00002 ld-2.5.so000000314a81c000 4 rw--- 000000000001c000 008:00002 ld-2.5.so000000314aa00000 1328 r-x-- 0000000000000000 008:00002 libc-2.5.so
000000314ab4c000 2048 ----- 000000000014c000 008:00002 libc-2.5.so.............00002af8d48fd000 4 rw--- 0000000000006000 008:00002 xsl.so00002af8d490c000 40 r-x-- 0000000000000000 008:00002 libnss_files-2.5.so00002af8d4916000 2044 ----- 000000000000a000 008:00002 libnss_files-2.5.so00002af8d4b15000 4 r---- 0000000000009000 008:00002 libnss_files-2.5.so00002af8d4b16000 4 rw--- 000000000000a000 008:00002 libnss_files-2.5.so00002af8d4b17000 768000 rw-s- 0000000000000000 000:00009 zero (deleted)00007fffc95fe000 84 rw--- 00007ffffffea000 000:00000 [ stack ]ffffffffff600000 8192 ----- 0000000000000000 000:00000 [ anon ]mapped: 933712K writeable/private: 4304K shared: 768000K
The last line is very important:
mapped: 933712Ktotal amount of memory mapped to fileswriteable/private: 4304Kthe amount of private address spaceshared: 768000Kthe amount of address space this process is sharing with others
=> Related:: Linux find the memory used by a program / process using pmap command
#11 and #12: netstat and ss - Network Statistics
http://www.cyberciti.biz/tips/howto-find-memory-used-by-program.htmlhttp://www.cyberciti.biz/faq/linux-mpstat-command-report-processors-related-statistics/5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
The command netstat displays network connections, routing tables, interface statistics, masqueradeconnections, and multicast memberships. ss command is used to dump socket statistics. It allowsshowing information similar to netstat. See the following resources about ss and netstat commands:
ss: Display Linux TCP / UDP Network and Socket InformationGet Detailed Information About Particular IP address Connections Using netstat Command
#13: iptraf - Real-time Network Statistics
The iptraf command is interactive colorful IP LAN monitor. It is an ncurses-based IP LAN monitor thagenerates various network statistics including TCP info, UDP counts, ICMP and OSPF information,Ethernet load info, node stats, IP checksum errors, and others. It can provide the following info in easyread format:
Network traffic statistics by TCP connectionIP traffic statistics by network interface
Network traffic statistics by protocolNetwork traffic statistics by TCP/UDP port and by packet size
Network traffic statistics by Layer2 address
Fig.02: General interface statistics: IP traffic statistics by network interface
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/iptraf3http://www.cyberciti.biz/tips/netstat-command-tutorial-examples.htmlhttp://www.cyberciti.biz/tips/linux-investigate-sockets-network-connections.html5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Fig.03 Network traffic statistics by TCP connection
#14: tcpdump - Detailed Network Traffic Analysis
The tcpdump is simple command that dump traffic on a network. However, you need good understandof TCP/IP protocol to utilize this tool. For.e.g to display traffic info about DNS, enter:# tcpdump -i eth1 'udp port 53'
To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, forexample, SYN and FIN packets and ACK-only packets, enter:# tcpdump 'tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)2)) != 0)'
To display all FTP session to 202.54.1.5, enter:# tcpdump -i eth1 'dst 202.54.1.5 and (port 21 or 20'
To display all HTTP session to 192.168.1.5:# tcpdump -ni eth0 'dst 192.168.1.5 and tcp and port http'
Use wireshark to view detailedinformation about files, enter:# tcpdump -n -i eth1 -s 0 -w output.txt src or dst port 80
#15: strace - System Calls
Trace system calls and signals. This is useful for debugging webserver and other server problems. Seehow to use to trace the process andsee What it is doing.
#16: /Proc file system - Various Kernel Statistics
http://www.cyberciti.biz/tips/linux-strace-command-examples.htmlhttp://www.cyberciti.biz/faq/linux-unix-bsd-apache-tcpdump-http-packets-sniffing/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/iptraf25/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
/proc file system provides detailed information about various hardware devices and other Linux kernelinformation. See Linux kernel /procdocumentations for further details. Common /proc examples:# cat /proc/cpuinfo
# cat /proc/meminfo
# cat /proc/zoneinfo
# cat /proc/mounts
17#: Nagios - Server And Network MonitoringNagiosis a popular open source computer system and network monitoring application software. You ceasily monitor all your hosts, network equipment and services. It can send alert when things go wrongand again when they get better. FAN is"Fully Automated Nagios". FAN goals are to provide a Nagiosinstallation including most tools provided by the Nagios Community. FAN provides a CDRom image the standard ISO format, making it easy to easilly install a Nagios server. Added to this, a wide bunch tools are including to the distribution, in order to improve the user experience around Nagios.
18#: Cacti - Web-based Monitoring Tool
Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storagand graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple dataacquisition methods, and user management features out of the box. All of this is wrapped in an intuitiveasy to use interface that makes sense for LAN-sized installations up to complex networks with hundreof devices. It can provide data about network, CPU, memory, logged in users, Apache, DNS servers anmuch more. See how to install and configure Cacti network graphingtool under CentOS / RHEL.
#19: KDE System Guard - Real-time Systems Reporting and
Graphing
KSysguard is a network enabled task and system monitor application for KDE desktop. This tool can brun over ssh session. It provides lots of features such as a client/server architecture that enablesmonitoring of local and remote hosts. The graphical front end uses so-called sensors to retrieve theinformation it displays. A sensor can return simple values or more complex information like tables. Foeach type of information, one or more displays are provided. Displays are organized in worksheets thacan be saved and loaded independently from each other. So, KSysguard is not only a simple taskmanager but also a very powerful tool to control large server farms.
http://www.cyberciti.biz/faq/fedora-rhel-install-cacti-monitoring-rrd-software/http://fannagioscd.sourceforge.net/drupal/http://www.nagios.org/http://www.cyberciti.biz/files/linux-kernel/Documentation/filesystems/proc.txt5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Fig.05 KDE System Guard {Image credit: Wikipedia}
See the KSysguard handbookfor detailed usage.
#20: Gnome System Monitor - Real-time Systems Reporting and
Graphing
The System Monitor application enables you to display basic system information and monitor systemprocesses, usage of system resources, and file systems. You can also use System Monitor to modify thbehavior of your system. Although not as powerful as the KDE System Guard, it provides the basicinformation which may be useful for new users:
Displays various basic information about the computer's hardware and software.Linux Kernel versionGNOME versionHardwareInstalled memoryProcessors and speedsSystem StatusCurrently available disk spaceProcessesMemory and swap space
Network usage
http://docs.kde.org/stable/en/kdebase-workspace/ksysguard/index.htmlhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/kde-systemguard-screenshot5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
File SystemsLists all mounted filesystems along with basic information about each.
Fig.06 The Gnome System Monitor application
Bonus: Additional Tools
A few more tools:
nmap- scan your server for open ports.lsof- list open files, network connections and much more.ntopweb based tool - ntop is the best tool to see network usage in a way similar to what topcommand 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 iable to monitor many system variables including the status of the CPU, memory, swap space, disstorage, temperatures, processes, network interfaces, battery power, system messages, e-mailinboxes etc.GKrellM- It can be used to monitor the status of CPUs, main memory, hard disks, networkinterfaces, local and remote mailboxes, and many other things.vnstat- vnStat is a console-based network traffic monitor. It keeps a log of hourly, daily andmonthly network traffic for the selected interface(s).htop- htop is an enhanced version of top, the interactive process viewer, which can display the lof processes in a tree form.
http://htop.sourceforge.net/http://www.cyberciti.biz/tips/keeping-a-log-of-daily-network-traffic-for-adsl-or-dedicated-remote-linux-box.htmlhttp://members.dslextreme.com/users/billw/gkrellm/gkrellm.htmlhttp://conky.sourceforge.net/http://www.cyberciti.biz/faq/debian-ubuntu-install-ntop-network-traffic-monitoring-software/http://www.cyberciti.biz/tips/tag/lsof-commandhttp://www.cyberciti.biz/tips/linux-scanning-network-for-open-ports.htmlhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html/gnome-system-monitor5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
mtr- mtr combines the functionality of the traceroute and ping programs in a single networkdiagnostic tool.
Did I miss something? Please add your favorite system motoring tool in the comments.
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!Featured Articles:
30 Cool Open Source Software I Discovered in 201330 Handy Bash Shell Aliases For Linux / Unix / Mac OS XTop 30 Nmap Command Examples For Sys/Network Admins25 PHP Security Best Practices For Sys Admins20 Linux System Monitoring Tools Every SysAdmin Should Know20 Linux Server Hardening Security TipsLinux: 20 Iptables Examples For New SysAdminsTop 20 OpenSSH Server Best Security PracticesTop 20 Nginx WebServer Best Security Practices20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors15 Greatest Open Source Terminal Applications Of 2012
My 10 UNIX Command Line MistakesTop 10 Open Source Web-Based Project Management SoftwareTop 5 Email Client For Linux, Mac OS X, and Windows UsersThe Novice Guide To Buying A Linux Laptop
{ 344 comments read them below or add one}
1VonSkippy June 27, 2009 at 5:10 am
Pretty much common knowledge (or should be) but handy to have listed all in one place.
Reply
2Jim (JR) March 21, 2011 at 3:30 am
(quote)Pretty much common knowledge. . . .(/quote)
Yea, right!
Ive been around the block two or three times and a number of these are familiar to me but some of the ways theyre used here were not. Also a fair number of these wereabsolutely brand-new and they look damned useful!
I am so going to book-mark this page it isnt funny! Its likely that I will want to spread thURL around like the Flu as well. . . . :-D
@Vivek*GREAT* list for those of us who are mere mortals. . . .
Jim (JR)
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149159#respondhttp://www.cyberciti.biz/tips/linux-laptop.htmlhttp://www.cyberciti.biz/tips/download-email-client-for-linux-mac-osx-windows.htmlhttp://www.cyberciti.biz/tips/open-source-project-management-software.htmlhttp://www.cyberciti.biz/tips/my-10-unix-command-line-mistakes.htmlhttp://www.cyberciti.biz/open-source/best-terminal-applications-for-linux-unix-macosx/http://www.cyberciti.biz/tips/check-unix-linux-configuration-file-for-syntax-errors.htmlhttp://www.cyberciti.biz/tips/linux-unix-bsd-nginx-webserver-security.htmlhttp://www.cyberciti.biz/tips/linux-unix-bsd-openssh-server-best-practices.htmlhttp://www.cyberciti.biz/tips/linux-iptables-examples.htmlhttp://www.cyberciti.biz/tips/linux-security.htmlhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.htmlhttp://www.cyberciti.biz/tips/php-security-best-practices-tutorial.htmlhttp://www.cyberciti.biz/networking/nmap-command-examples-tutorials/http://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.htmlhttp://www.cyberciti.biz/open-source/30-cool-best-open-source-softwares-of-2013/https://nixcraft.wufoo.com/forms/give-us-feedback-for-nixcraft/def/Field209=http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html&Field211=20%20Linux%20System%20Monitoring%20Tools%20Every%20SysAdmin%20Should%20Knowhttp://www.cyberciti.biz/view/pdf/tips/4934.phphttps://plus.google.com/share?url=http://www.cyberciti.biz/tips/top-linux-monitoring-tools.htmlhttps://www.facebook.com/sharer/sharer.php?u=http://www.cyberciti.biz/tips/top-linux-monitoring-tools.htmlhttps://twitter.com/intent/tweet?text=20+Linux+System+Monitoring+Tools+Every+SysAdmin+Should+Know&url=http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html&via=nixcrafthttp://www.cyberciti.biz/tips/finding-out-a-bad-or-simply-overloaded-network-link-with-linuxunix-oses.html5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
3Steve August 3, 2011 at 7:28 am
For someone with the common knowledge, why would this be handy? I mean, if you alreaknow/use these, then why would you need a page detailing them?
Reply
4Mike Williams August 15, 2011 at 10:35 pm
Because a lot of us have to live with faulty memory modules, Steve.I do agree with you too.:This knowledge isnt that common outside the comic bookfraternity.
Reply
5farseas January 8, 2013 at 5:29 pm
If you did a lot of sysadmin you would already know the answer to that question.
Reply
6robb June 27, 2009 at 8:29 am
yeap most of them are must-have tools.good job of collecting them in a post.
Reply
7Chris June 27, 2009 at 8:37 am
Nice list. For systems with just a few nodes I recommend Munin. Its easy to install and configuMy favorite tool for monitoring a linux cluster is Ganglia.
P.S. I think you should change this #2: vmstat Network traffic statistics by TCP connection
Reply
8ftaurino June 27, 2009 at 9:09 am
another useful tool is dstat, which combines vmstat, iostat, ifstat, netstat information and more.
this is a very useful list with some interesting examples!
Reply
9James June 27, 2009 at 9:23 am
pocess or process. haha, i love typos
Reply
10Sohrab Khan March 15, 2011 at 9:09 am
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149164#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149163#respondhttp://dag.wieers.com/home-made/dstat/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149162#respondhttp://ganglia.info/http://munin.projects.linpro.no/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149161#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=184801#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=173298#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=173008#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=170174#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Dear i am learning the Linux pl z help me, I you have any useful notes pl z sent it to my Email.
Thanks
Reply
11vasu March 21, 2011 at 5:43 am
In my system booting time it showing error fsck is fails. plz login as root. howto repair or check linux os using fsck command plz help me
Reply
12darkdragn May 31, 2011 at 7:14 am
Most of the time that happens if the fsck operation requires human interactionwhich the boot fsck doesnt have. Just restart it, if you dont normally get a grdelay the hold down the shift key to get one, if you do then just select recover
mode, or single user mode, it depends on your distro. Its the same thing in aljust tripping single user mode with a kernel arg, but it will let you boot, and rufsck on unmounted partitions. If it is your root partition, you may need to boofrom an external medium, unless you have a kick ass initrd, lol.
Reply
13Artur June 27, 2009 at 9:40 am
What about Munin ? Lots easier and lighter than Cacti.
Reply14nig belamp December 7, 2010 at 4:21 pm
How can you even compare munin to cactistfu your a tool.
Reply
15PC4N6 April 20, 2011 at 7:53 pm
Uhm, geez, this isnt blogspot. Head over there if you have an uncontrollable need tflame people above your level of understanding
Reply
16RB-211 May 13, 2011 at 12:57 pm
Wow, that was a bit harsh.
Reply
17grammer nazi July 24, 2011 at 1:54 pm
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=171299#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=170720#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=161756#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149166#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=171656#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=170180#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=169858#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
it is youre you are a tool. Please when randomly slamming someones post to feelbetter about yourself, at least you proper grammer. Then at least you sound like anintelligent a55h0le. :P
Reply
18Jeff August 9, 2011 at 6:07 pm
Sarcastic pros, N00bs, flaming, harsh language, grammar nazis. All we neednow is a Hitler comparison and we have the full set. Whos up for a ban?
Also: before stuff can become common knowledge youll first have to encounit at least once. Like here in this nice list. Thanks for sharing!
Reply
19David August 25, 2011 at 3:05 pm
A ban? Censorship! You Nazi!
Reply
20Roberto September 9, 2011 at 6:08 pm
Thats grammar, unless youre talking about the actor who plays Frasier onCheers. :P
Reply
21Fireman October 17, 2011 at 11:39 pm
Let me go ahead and re-write your comment, grammer nazi. It seems you havquite a few errors.
It is youreyou are a tool. Please, when randomly slamming someones poto feel better about yourself, at least use proper grammar. Then, at least, yousound like an intelligent a55h0le.
In the future, I would recommend proof-reading your own posts before youarrogantly correct others. I counted at least six mistakes in your correction.Have a nice day! :)
Reply
22flame on! December 4, 2011 at 8:05 pm
Vivek does a great job, as usual. But, thanks for the laughs, guys!
Reply
23Raj June 27, 2009 at 10:13 am
Nice list, worth bookmarking!
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=176486#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=174941#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=173821#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=173548#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=173178#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=172720#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
24kaosmonk June 27, 2009 at 10:53 am
Once again, great article!!
Reply
25Amr El-Sharnoby June 27, 2009 at 11:07 am
I can see that the best tool to monitor processes , CPU, memeory and disk bottleneck at once isatop
But the tool itself can cause a lot of trouble in heavily loaded servers and it enables processaccounting and has a service running all the time
To use it efficiently on RHEL , CentOS;1- install rpmforge repo2- # yum install atop
3- # killalll atop4- # chkconfig atop off5- # rm -rf /tmp/atop.d/ /var/log/atop/6- then dont directly run atop command , but instead run it as follows;# ATOPACCT= atop
This tool has saved me hundreds of hours really! and helped me to diagnose bottlenecks and solvthem that couldnt otherwise be easily detected and would need many different tools
Reply
26nixCraftJune 27, 2009 at 1:01 pm@Chris / James
Thanks for the heads-up!
Reply
27Solaris June 27, 2009 at 1:26 pm
Great post, also great reference.
Reply
28quba June 27, 2009 at 1:46 pm
Hi,
We have just added your latest post 20 Linux System Monitoring Tools
Every SysAdmin Should Know to our Directory of Technology. You
can check the inclusion of the post here . We are delighted
http://www.techtrove.info/story.php?title=20-linux-system-monito%3C/p%3E%3Cp%3Ering-tools-every-sysadmin-should-knowhttp://www.techtrove.info/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149175#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149174#respondhttp://www.cyberciti.biz/tips/about-ushttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149171#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149170#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149167#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
to invite you to submit all your future posts to the directoryand get a huge base of
visitors to your website.
Warm Regards
Techtrove.info Team
http://www.techtrove.info
Reply
29Cristiano June 27, 2009 at 1:57 pm
You probably wanna add IFTOP tool, its really simple and light, very useful when u need to havlast moment remote access to a server to see hows the trific going.
Reply
30Peko June 27, 2009 at 3:40 pm
Yeah, well why a so good admin (I dig(g) your site) wont you use spelling checkers?Typo #2 Web-based __Monitioring__ Tool
Reply
31paul tergeist June 27, 2009 at 4:17 pm
maybe its a typo too, but the title should be :.. Tools Every SysAdmin MUST Knowand still, this is advanced user knowledge, at most. I would not trust a sysadmin that knows so feAnd..
Reply
32harrywwc June 27, 2009 at 10:56 pm
Hi guys,
good list and some great submitted pointers to other useful tools.
to those carp-ing on about typos give us all a break. youve never made a typo? ever?
Idea: How bout those who have never *ever* made an error in typing text be the first one(s) togive people grief about making a typo?
I _used_ to be a real PITA about this; then I grew up.
The purpose of this blog, and other forms of communication, is to *communicate* concepts andideas. *If* you have received those clearly in spite of the typos then the purpose has beenfulfilled.
/me gets down off his soapbox
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149183#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149182#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149177#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149176#respondhttp://www.techtrove.info/http://www.techtrove.info/5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
.h
Reply
33StygianAgenda February 28, 2011 at 8:49 pm
I totally second that!WTF is up with people making such a big deal about spelling? I could understand if the
complaints were in regards to a misspelling of a code-example, but if the language iscoherent enough to get the idea across, then thats all that really matters.
Reply
34Lolcatz April 7, 2011 at 10:54 pm
Typos*
Reply
35roflcopter June 24, 2011 at 1:57 pm
Typographical error*
Reply
36Pdraig Brady June 27, 2009 at 11:37 pm
A script I use often to show the real memory usage of programs on linux, isps_mem.py
I also summarised a few linux monitoring tools here
Id also mention thepowertoputility
Reply
37Saad June 27, 2009 at 11:54 pm
This blog is more impressive and more useful than ever. I need more help regarding properinstallation document on php-network weathermap on Cacti as plugins
Reply
38Jack June 28, 2009 at 2:18 am
No love for whowatch ? Real time info on whos logged in, how their connected (SSH, TTY, etcand what process thay have running.
http://www.pttk.ae.krakow.pl/~mike/#whowatch
Reply
39StygianAgenda February 28, 2011 at 9:50 pm
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149189#respondhttp://www.pttk.ae.krakow.pl/~mike/#whowatchhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149188#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149187#respondhttp://www.lesswatts.org/projects/powertop/http://www.pixelbeat.org/cmdline.html#monitorhttp://www.pixelbeat.org/scripts/ps_mem.pyhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=172103#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=170513#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=169338#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149186#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
I just became an instant fan of whowatch. Thanks!!! ;)
Reply
40Ponzu June 28, 2009 at 2:28 am
vi tool used to examine and modify almost any configuration file.
Reply
41Manoj April 27, 2011 at 9:28 am
It is not a tool. It is an Editor
Reply
42su - July 28, 2011 at 9:30 pm
An editor is a tool for text documents.
Reply
43Eric schulman June 28, 2009 at 5:38 am
dtrace is a notable mention for the picky hackers that wish to know more about the behavior of toperating system and its programs internals.
Reply
44Ashok kumar June 28, 2009 at 5:48 am
hi gud information , keep it up
ash
Reply
45Enzo June 28, 2009 at 6:09 am
You missed: iftop & nethogs
Reply
46Adrian Fita June 28, 2009 at 7:09 am
Excellent list. Like Amr El-Sharnoby above, I also find atopindispensable and think it mustbeinstalled on every system.
In addition I would like to add iotopto monitor disk usage per process andjnettopto very easilmonitor bandwidth allocation between connections on a Linux system.
Reply
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149195#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149194#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149193#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149192#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=172850#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=170955#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149191#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=169340#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
47Knightsream June 28, 2009 at 8:53 am
Well, the one i use right now is Pandora FMS 3.0 and its making my work easy.
Reply
48praveen k June 28, 2009 at 12:56 pm
I would like to addwhoami ,who am i, finger, pinky , id commands
Reply
49create own website June 28, 2009 at 3:32 pm
i always love linux, great article
Reply
50Mathieu Desnoyers June 28, 2009 at 9:14 pm
One tool which seems to be missing from this list is LTTng. It is a system-wide tracing tool whichelps understanding complex performance problems in multithreaded, multiprocess applicationsinvolving many userspace-kernel interactions.
The project is available at http://www.lttng.org. Recent SuSE distributions, WindRiver, MontaVista and STLinux offer the tracer as distribution packages. The standard way to use it is to insta patched kernel though. It comes with a trace analyzer, LTTV, which provides nice view of theoverall system behavior.
Mathieu
Reply
51Andy Leo June 29, 2009 at 1:02 am
Very useful, well done. Thanks!
Reply
52Aveek Sen June 29, 2009 at 1:29 am
Very informative.
Reply
53The Hulk June 29, 2009 at 2:11 am
I love this website.
Reply
54kburger June 29, 2009 at 3:08 am
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149205#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149204#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149203#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149201#respondhttp://www.lttng.org/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149199#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149197#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149196#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
If were talking about a web server, apachetop is a nice tool to see Apaches activity.
Reply
55Ram June 29, 2009 at 4:07 am
Dude you forgot the most important of ALL!
net-snmpd
With it you can collect vast amounts of information. Then with snmpwalk and scripts you cancreate your own web NMS to collect simple information like ping, disk space, services down.
Reply
56Kartik Mistry June 29, 2009 at 5:15 am
`iotop` is nice one to be include in list. I used `vnstat` very much for keeping track of my downlowhen I was on limited connection :)
Reply
57nixCraftJune 29, 2009 at 7:03 am
@Everyone
Thanks for sharing all your tools with us.
Reply
58feilong June 29, 2009 at 10:01 am
Very useful, thinks for sharing.
Take a look to a great tools called nmon. I use it on AIX IBM system but works now on allGNU/linux system now.
Reply
59boz June 29, 2009 at 10:21 am
mtr
Reply
60Scyldinga June 29, 2009 at 10:21 am
Im with @paul tergeist, tools every linux user should know. The ps samples are nice, thanks.
No reference to configuration management tools ?
cfengine/puppet/chef?
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149213#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149212#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149209#respondhttp://www.cyberciti.biz/tips/about-ushttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149208#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149207#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149206#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
61Ken McDonell June 29, 2009 at 9:19 pm
Nice summary article.
If your system is large and/or distributed, and the performance issues youre tackling arecomplex, you may wish to explore Performance Co-Pilot (PCP). It unifies all of the performance
data from the tools youve mentioned (and more), can be extended to include new applications aservice layers, works across the network and for clusters and provides both real-time andretrospective analysis.
See http://www.oss.sgi.com/projects/pcp
PCP is included in the Debian-based and SUSE distributions and is likely to appear in the RHdistributions in the future.
As a bonus, PCP also works for monitoring non-Linux platforms (Windows and some of the Underivatives).
Reply
62Lance June 30, 2009 at 2:37 am
I love your collection.
I use about 25% of those regularly, and another 25% semi-regularly. Ill have to add another 25%of those to my list of regulars.
Thanks for compiling this list.
Reply
63bogo June 30, 2009 at 6:01 am
Very nice collection of linux applications. I work with linux but I cant say that i know them all.
Reply
64MEHTA GHANSHYAM June 30, 2009 at 9:28 am
REALLY ITS VERY GOOD N USEFULL FOR ALL ADMIN.THANKS ONCE AGAIN
Reply
65fasil June 30, 2009 at 12:06 pm
Good postalready bookmarked cheers
Reply
66Aleksey Tsalolikhin June 30, 2009 at 7:30 pm
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149238#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149236#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149232#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149228#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149224#respondhttp://www.oss.sgi.com/projects/pcphttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149214#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Ill just mention ngrep network grep.
Great list, thanks!!
Aleksey
Reply
67Abdul Kayyum July 1, 2009 at 3:40 pm
Thanks for sharing this information..
Reply
68Aurelio July 1, 2009 at 8:20 pm
feilong, I agree. I use nmon on my linux boxes from years. Its worth a look.
Reply
69komradebob July 1, 2009 at 10:36 pm
Great article, many great suggestions.
Was surprised not to see these among the suggestions:
bmon graphs/tracks network activity/bandwidth real time.etherape great visual indicator of what traffic is going where on the networkwireshark tcpdump on steroids.multitail tail multiple files in a single terminal windowswatch track your log files and fire off alerts
Reply
70pradeep July 2, 2009 at 11:14 am
how the hell i missed this site this many days :P thank god i found it :) i love it
Reply
71Jay July 4, 2009 at 5:23 pm
O personally much prefer htop to top. Displays everything very nicely.
phpsysinfo is another nice light web-based monitoring tool. Very easy to setup and use.
Reply
72Manuel Fraga July 5, 2009 at 4:55 pm
Osmius: The Open Source Monitoring Tool is C++ and Java. Monitor everything connected tonetwork with incredible performance. Create and integrate Business Services, SLAs and ITIL
processes such as availability management and capacity planning.
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149326#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149283#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149270#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149266#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149261#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149242#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
73aR July 6, 2009 at 4:17 pm
thanks for sharing all the helpful tools.
Reply
74Shailesh Mishra July 7, 2009 at 7:13 pm
Nice compilation. As usual, always very useful.
It would be nice if some of you knowledgeable guys can shed some light on java heap monitorinthing, thread lock detection and analysis, heap analysis etc.
Reply
75Bjarne Rasmussen July 7, 2009 at 8:00 pm
nmon is a nice tool try google for it, it rocks
Reply
76Balaji July 12, 2009 at 5:50 pm
Very much Useful Informations,trafmon is one more useful tool
Reply
77Stefan July 15, 2009 at 8:18 pm
And for those which like lightweight and concise graphical metering:xosview +disk -ints -bat
Reply
78Raja July 19, 2009 at 3:03 am
Awesome. Especially love the ps tips. Very interesting
Reply
79Rajat July 24, 2009 at 4:04 am
Thanks very good info!!!
Reply
80nima0102 July 27, 2009 at 7:39 am
Its really nice :)
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149662#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149565#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149502#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149457#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149374#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149371#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149345#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149338#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
81David Thomas August 12, 2009 at 9:49 am
Excellent list!
Reply
82Vinidog August 29, 2009 at 4:53 am
Nice very nice guy!!!! ;-)
Reply
83Bob Marcan September 4, 2009 at 11:00 am
From the guy who wrote the collect utility for Tru64:
Name : collectl Relocations: (not relocatable)Version : 3.3.5 Vendor: Fedora ProjectRelease : 1.fc10 Build Date: Fri Aug 21 13:22:42 2009Install Date: Tue Sep 1 18:10:34 2009 Build Host: x86-5.fedora.phx.redhat.comGroup : Applications/System Source RPM: collectl-3.3.5-1.fc10.src.rpmSize : 1138212 License: GPLv2+ or ArtisticSignature : DSA/SHA1, Mon Aug 31 14:42:40 2009, Key ID bf226fcc4ebfc273Packager : Fedora ProjectURL : http://collectl.sourceforge.netSummary : A utility to collect various linux performance dataDescription :A utility to collect linux performance data
Best regards, Bob
Reply
84Tman September 5, 2009 at 8:48 pm
For professional network monitoring use Zenoss:Zenoss Core (open source): http://www.zenoss.com/product/network-monitoring
Reply
85Somnath Pal September 14, 2009 at 9:02 am
Hi,
Thanks for the nice collection with useful samples. Consider adding tools to monitor SAN storagmultipath etc. also.
Best Regards,Somnath
Reply
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=150643#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=150537#respondhttp://www.zenoss.com/product/network-monitoringhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=150516#respondhttp://collectl.sourceforge.net/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=150408#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=150069#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=149706#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
86Eddy September 17, 2009 at 8:41 am
I did not see ifconfig or iwconfig on the list
Reply
87Kestev September 17, 2009 at 1:57 pm
openNMS
Reply
88Sergiy September 25, 2009 at 12:39 pm
Thanks for the article. I am not admin myself, but tools are very useful for me too.
Thanks for the comments also :)
Reply
89Mark Seger September 28, 2009 at 6:02 pm
When I wrote collectl my goal was to replace as many utilities as possible for several reasonsincluding:
not all write to log files different output formats make correlation VERY difficult sar is close but still too many things it doesnt collect I wanted option to generate data that can be easily plotted or loaded into spreadsheet I wanted sub-second monitoring I want an API and I want to be able to send data over sockets to other tools
and a whole lot moreI think I succeeded on many fronts, in particular not having to worry if the right data is beingcollected. Just install rpm and type /etc/init.d/collectl start and youre collecting everything suas slabs and processes every 60 seconds and everything else every 10 seconds AND using
5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
90PeteG September 29, 2009 at 5:33 am
Darn,Ive been using Linux since Windows 98 was the current MicroSnot FOPA.I know all this stuff. I do not make typoous.Why do you post this stuff?
We all know it.Sure we do!But do we remember it? I just read through it and found stuff that I used long ago and it was like
just learned it. I found stuff I didnt know either.Hummmm Imagine that!Thanks, particularly for the PDF.Saved me making one.Hey, wheres the HTML to PDF howto?
Thanks again.
Reply
91Denilson October 26, 2009 at 11:55 pm
Use:free -m
To show memory usage in megabytes, which is much more useful.
Reply
92AndrewW November 5, 2009 at 11:48 pm
Is it possible to display hard drive temps from hddtemp in KSysGuard? They are available inKsensors and GKrellM, without any configuration required. However I prefer the interface andflexibility of KSysGuard. Is there a way of configuring it?
Andrew
Reply
93Abhijit November 10, 2009 at 1:46 pm
Zabbix open source monitoring tool
http://www.zabbix.com
Reply
94greg January 6, 2012 at 6:27 pm
Zabbix is a great tool that it doesnt require a entirely separate project to make it easy toinstall and use (like Nagios and FAN).
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=151583#respondhttp://www.zabbix.com/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=151498#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=151248#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=150861#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=150856#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Ive been following it since its early days and its come a long way. Its sad that lists like thnever give it its due, not even a foot note mention.
while on that note.. really? your 17-20 makes the list, but nmap, mtr, and lsof get relegatedto foot notes?
Reply
95Kevin November 15, 2009 at 10:55 pmThanks, good work
Reply
96Stefano November 22, 2009 at 4:09 pm
Just thanks! :)
Reply
97GBonev November 25, 2009 at 2:13 pm
Good Job on assembling the listIf I may suggest trafshow as an alternative to iptraf when you need to see more detailed info onsource/destination , proto and ports at once.
Reply
98Gokul December 7, 2009 at 4:43 am
How to install the Kickstart method in linux
Reply
99Bilal Ahmad December 8, 2009 at 4:01 pm
Very nice collection.. Worth a bookmarkBravo
Reply
100Jalal Hajigholamali December 9, 2009 at 5:07 am
Thanks a lot
Reply
101mancai December 11, 2009 at 6:40 pm
nice sharing, this is what i want looking for few day ago tq
Reply
102aruinanjan December 14, 2009 at 7:41 am
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152246#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152202#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152196#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152170#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=151849#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=151806#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=151704#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=178113#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
This is a nice document for new user, thaks to owner of this document.
arun
Reply
103myghty December 16, 2009 at 7:57 am
Great post!! Thanks.
Reply
104Rakib Hasan December 16, 2009 at 2:09 pm
Very helpful. Thanks a lot!
Reply
105PRR December 22, 2009 at 9:25 pm
After so many thanks. Add one more..
thank you. Its very handy.
Reply
106Yusuf December 25, 2009 at 7:35 pm
Mark,
I am in technology myself and this tutorial page is very well organized
Thanks for taking the time to create this awesome pagegreat help for Linux new bees like myself.
Reply
107Yusuf December 25, 2009 at 7:40 pm
I meant to thank Vivek Gitaonce again awesome job
Reply
108Shrik December 31, 2009 at 9:58 am
Thank you very much VERY GOOD WEBSITE
Reply
109sekar January 1, 2010 at 4:16 pm
it is cool
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152643#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152477#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152476#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152426#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152323#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152320#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152271#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
110Giriraaj January 5, 2010 at 7:38 am
Thanks for sharing most resourceful information.
Reply
111Bhagyesh Dhamecha January 6, 2010 at 11:58 am
Dear all Members,
Thanks for sharing all your knowledge about Linux.. i really thankful for your share linux tips..!
thanks and continue this jurnyas well
thank you..
Reply
112Ganesan AS January 10, 2010 at 1:53 pm
Good info. Thanks for sharing.May GOD bless you to do more.
Reply
113Mark Seger January 10, 2010 at 2:38 pm
This is indeed an impressive collection of tools but I still have to ask if people are really happywith having to know so many names, so many switches and so many formats. If you run one
command and see something weird doesnt it bother you if you have to run a different tool but thanomaly already passed and you can no longer see it with a different tool? For example if you sedrop in network performance and wonder if there was a memory or cpu problem, its too late to
back and see what else was going on. I know it bothers me. Again, by running collectl I never hato worry about that because it collects everything (when run as a deamon) or you can just tell it treport lots of things when running interactively and by default is shows cpu, disk and network. Iyou want to add memory, you can always include it but you will need a wider screen to see theoutput.
As a curiosity for those who run sar I never do what do you use for a monitoring interval? Th
default is to take 10 minute samples which I find quite worthless remember sar has been arounforever dating back to when cpus were much slower and monitoring much more expensive. Idrecommend to run sar with a 10 second sampling level like collectl and youll get far more out oit. The number of situations which this would be too much of a load on your system would beextremely rare. Anyone care to comment?
-mark
Reply
114miles January 12, 2010 at 4:58 am
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152836#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152835#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152745#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152719#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152664#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Amr El-Sharnoby:atop is awesome, thanks for the tip.
Reply
115Serg January 12, 2010 at 6:09 am
hi Mark
absolutely agreed with you mate! if you are the sysadmin something you will do it for yourselfand do it right!These tools like ps,top and other is commonly used by users who administrated a non-productivor desktop systems or for some users whos temporary came to the system and who needed to gelittle bit of information about the box and its pretty good enough for them. )
Reply
116met00 January 12, 2010 at 6:15 pm
If you are running a web server and you have multiple clients writing code, you will one day seeCPU slow to a crawl. Why?, you will ask. ps -ef and top will show that mysql is eating upresources
HMM?
If only there was a tool which showed me what command was being issued against the database
mytop
Once you find the select statement that has mysql running at 99% of the CPU, you can kill the
query and then go chase down the client and kill them too (or in my case bill them at $250/hr forfixing their code).
Reply
117Mark Seger January 12, 2010 at 6:36 pm
re mysql its not necessarily that straight forward. I was working with someone who had asystem with mysql that was crawling. it was taking multiple seconds for vi to echo a singlecharacter! we ran collectl on it and could see low cpu, low network and low disk i/o. Lots ofavailable memory, so what gives? A close look showed me that even those the I/O rates were low
the average request sizes were also real low probably do so small db requests.digging even deeper with collectl I saw the i/o request service times were multiple seconds! inother words when you requested an I/O operation not matter how fast the disk is, it took over 2second to complete and thats why vi was so slow, it was trying to write to its backing store.
bottom line running a single tool and only looking at one thing does not tell the whole story. yneed to see multiple things AND see them at the same time.
-mark
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152877#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152866#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152864#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Reply
118mtituh Alu January 19, 2010 at 2:09 pm
I have a postfix mail server, recently through tcpdump I see alot of traffic to dc.mx.aol.com,fedExservices.com, wi.rr.com, mx1.dixie-net.com. I believe my mail server is spamming. How dI find out it is spamming? and how do I stop it. Please help.
Reply119nixCraftJanuary 19, 2010 at 3:01 pm
Only allow authenticated email users to send an email. There are other things too such asanti-spam, ssl keys, domain keys and much more.
Reply
120kirankumarl February 3, 2010 at 9:26 am
Dear sir pls send me some linex pdf file by wich i can learn how to install & maintanes
Reply
121Visigoth February 21, 2010 at 3:11 pm
I like the saidar tool, and iptstate. Check them out.
Reply
122JK February 23, 2010 at 12:43 pm
Hiii vivek,Do you know any application to shut down a ubuntu 9.1 machine when one of its network interfis down..I need it for clustering..
Reply
123AD February 25, 2010 at 6:23 am
Thank you very much,,,.This information is very useful for me to monitoring my server
Reply
124Tarek February 26, 2010 at 7:18 pm
Actually where I work we have and isa server acting as a proxy/firewall, which prevent me frommonitoring internet traffic consumption. so i installed debian as a network bridge between the isserver and the lan, and equipped it with various monitoring tools (bandwidthd, ntop, vnstat, iftopiptraf, darkstat).
Reply
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=153963#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=153909#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=153863#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=153834#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=153289#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152997#respondhttp://www.cyberciti.biz/tips/about-ushttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152996#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=152879#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
125deepu March 2, 2010 at 7:31 am
it is a very good and resourceful infomation.
Reply
126Solo March 7, 2010 at 11:40 pm
OMG !
Amazing Super Ultra nice info . THX pinguins !
Reply
127vijay March 12, 2010 at 7:30 am
its so usefulllll thanks a lot
Reply
128Venu Yadav March 23, 2010 at 5:05 am
Good information. Thanks
Reply
129Prashant Redkar March 25, 2010 at 7:10 am
Thank you it is very helpful
Reply
130Saorabh Kumar March 25, 2010 at 12:12 pm
Good knowledge base, great post
Reply
131Spyros March 30, 2010 at 2:52 am
Very interesting read that really includes the tools that every admin should know about.
Reply
132amitabh mishra March 30, 2010 at 9:47 am
HiIts a great topic. Actually i am a Mysql DBA and i fond a lot of new things here.So i can say it will help in future.
Thanks once again
Reply
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154613#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154605#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154523#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154517#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154474#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154230#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154157#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154031#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
133Chinmaya April 2, 2010 at 4:48 am
Excellent one !!!
Reply
134saurav April 3, 2010 at 6:43 pm
wow this is some great info,also the various inputs in comments. One i would like to add is
ulimit
User limits limit the use of system-wide resources.
Syntaxulimit [-acdfHlmnpsStuv] [limit]
Options
-S Change and report the soft limit associated with a resource.-H Change and report the hard limit associated with a resource.
-a All current limits are reported.-c The maximum size of core files created.-d The maximum size of a processs data segment.-f The maximum size of files created by the shell(default option)-l The maximum size that may be locked into memory.-m The maximum resident set size.-n The maximum number of open file descriptors.-p The pipe buffer size.
-s The maximum stack size.-t The maximum amount of cpu time in seconds.-u The maximum number of processes available to a single user.-v The maximum amount of virtual memory available to the process.
ulimit provides control over the resources available to the shell and to processes started by it, onsystems that allow such control.
Reply
135Mustafa Ashraf Rahman April 20, 2010 at 1:44 pm
hello Vivek Gite,This is really a very good post and useful for all admin.Thanks,Ashraf
Reply
136arief April 21, 2010 at 3:23 pm
Great tips..
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155185#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154756#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=154691#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
Thanks
Reply
137Eduardo Cereto April 25, 2010 at 5:20 am
I think you missed my top 2 monitoring tools:
monit: http://mmonit.com/monit/mrtg : http://oss.oetiker.ch/mrtg/
Reply
138Lava Kafle April 29, 2010 at 9:05 am
Perfect examples : thanks
Reply
139wolfc01 May 2, 2010 at 3:32 pm
See also the Linux Process Explorer (in development) meant to be an equivalent the windowsprocess explorer of Mark Russinovich.
See http://sourceforge.net/projects/procexp
Reply
140ohwell May 2, 2010 at 6:33 pm
if an admin doesnt know 90% of those tools, he isnt a real admin. you will find most of these
tools explained in any basic linux howto
Reply
141ravi May 3, 2010 at 1:05 pm
how the systems can be seen from sitting on one computer like as admin. what is going on screenin grd floor computers?
Reply
142Anonymous May 7, 2010 at 7:17 pm
but how to kill process ID in my server..
Reply
143FHJ May 11, 2010 at 2:32 pm
I assume you can find the process ID for example if your process is called foo.bar, youcould do
ps -ef | grep foo.bar
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155924#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155513#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155504#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155503#respondhttp://sourceforge.net/projects/procexphttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155454#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155346#respondhttp://oss.oetiker.ch/mrtg/http://mmonit.com/monit/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155234#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
this will give the PID (process ID) as well as other information.Then dokill -9 PID (where PID is the number your found in the above).
If you are working on a Mac you have to do sudo kill -9 PID since the kill command is aadmin action that it wants you to be sure about.
Or if you use top, and you can see the process you want to kill in your list, you can just ty
k and you will be prompted for the PID (the screen will freeze so its easy to read). You tythe number and enter, will have to confirm (y), and the process is killed with -15. Whichless severe than a kill -9 which really kills just about any process (without allowing itgraceful exit of any kind).
Use with care!
Reply
144someone May 10, 2010 at 5:59 pm
Gnome system monitor is a pretty useless utility if you ask me.its neat to have it as an applet, but thats it.
Reply
145kalyan de May 14, 2010 at 2:18 am
Thanks,
I think it will be very helpfull for me as i am practicng oracle in redhat linux4. Today i will try tocheck it. I want 1 more help. I am not clear about crontab. saupposed i want to start a crontab in
my system with any script which i have kept in /home/oracle and want to execute in every 1 houCan u send me how i can do with details.Thanks,
kalyan de.Chennai, india+91 9962300520
Reply
146Samuel Egwoyi May 14, 2010 at 9:29 am
how can i practice Mysql using linux
Reply
147Basil May 21, 2010 at 8:49 pm
This article simply rocks
Reply
148Fenster June 1, 2010 at 10:24 am
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156134#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156015#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156009#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155956#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=155967#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
hey, thanks, just installed htop and iptraf, very nice tools!!
Reply
149zim June 2, 2010 at 1:12 pm
atop
man atop shows
The program atop is an interactive monitor to view the load on a Linux system. It shows theoccupation of the most critical hardware resources (from a performance point of view) on systemlevel, i.e. cpu, memory, disk and network.It also shows which processes are responsible for theindicated load with respect to cpu- and memory load on process level; disk- and network load isonly shown per process if a kernel patch has been installed.
Reply
150Boggles September 21, 2011 at 1:52 am
Have to agree with zim. Atop is a great tool along with its report generating sisterapplication atopsar. This is a must-have on any server I manage.
Reply
151Amit June 2, 2010 at 1:26 pm
Hello,
How to install a Suphp on cpanel.
Reply
152Walker June 4, 2010 at 4:19 am
Thanks :)THIS helped me a lot.
Reply
153m6mb3rtx June 4, 2010 at 4:34 pm
Great article, very userfull tools!
Reply
154dudhead June 5, 2010 at 2:38 pm
Great list! Missed df command in the list.
Reply
155giftzy June 5, 2010 at 6:26 pm
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156374#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156362#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156351#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156321#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=174186#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156320#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156295#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
I become to love linux after 10 years of hp-ux
Reply
156Rafael Quirino de Castro June 7, 2010 at 5:08 pm
Im lookuing for apache parameter on the web and found here.
So, my contribute is: try to use iftop, iptraf, ifstat, jnettop and ethstatus for network graphical anCLI monitoring.
Use tcmpdump and ngrep for packet sniffing
HTB is very good for QoS in the network, especially if you need to reduce slower VPN network
Reply
157georges June 9, 2010 at 3:39 pm
fuser command is missing from this list. it tells you which command is using a file at the momenSince in Linux everything is a file, it is very useful to know!Use it this way:# to know which process listens on tcp port 80:fuser 80/tcp
# to know which process uses the /dev/sdb1 filesystem:fuser -vm /dev/sdb1etc
Reply
158Naga June 13, 2010 at 7:19 am
Is there any good tools for analyzing Apache/Tomcat instances.
Reply
159Jan 'luckyduck' Brinkmann June 15, 2010 at 11:02 am
ethtool can also be very useful, depending on the situation:
searching for network problems checking link status of ethernet connections and so on
Reply
160Abdullah June 16, 2010 at 7:15 am
nice list, at the end i think what you meant is Bonus and not bounce
bounce means jump
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156611#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156550#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156428#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156398#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=156379#respond5/19/2018 20 Linux System Monitoring Tools Every SysAdmin Should Know - NixCraft - slidep...
http:///reader/full/20-linux-system-monitoring-tools-every-sysadmin-should-kn
10/29/2014 20 Linux System Monitoring Tools Every SysAdmin Should Know - nixCraft
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html
bonus means extra goodies :)
Reply
161dust June 23, 2010 at 8:19 am
What is in Linux that is equal to cfgadm in Solaris?
Reply
162Jerome Christopher July 6, 2010 at 7:55 pm
Thanks for the excellent list of commands, links and info.Jerome.
Reply
163sriharikanth July 12, 2010 at 1:49 pm
Thanks, very useful information provided.
Reply
164Jyoti July 13, 2010 at 9:57 am
very useful
Reply
165t.k. July 16, 2010 at 10:02 pm
Good compilation of commands. Thanks!
Reply
166Thomas August 3, 2010 at 5:40 pm
If you want graphy easly your performance data, try BrainyPDM: an another open source tool!http://www.brainypdm.org
Reply
167Zanil Hyder August 4, 2010 at 5:44 am
Though i have come across most of these names, having them all in one list will prove to be a goresource. I am going to make a list from these and have it within my website which i use forreference.
Thanks for the examples.
Reply
168brownman August 20, 2010 at 8:57 am
http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=158673#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=158669#respondhttp://www.brainypdm.org/http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=158145#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=157932#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=157750#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-tools.html?replytocom=157380#respondhttp://www.cyberciti.biz/tips/top-linux-monitoring-t