Sunteți pe pagina 1din 20

9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance

Page 1 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Donate to TecMint
Search
Advertise
Linux Services
About
Archives
Contact Us
Copyright Policy
Home
Linux Distros
Interview Questions
Shell Scripting
Free Linux eBooks
Linux Commands
Tools
Did You Know?
We are pleased to announce our new TecMint Q/A section to submit your Linux questions
20 Command Line Tools to Monitor Linux Performance
By Ravi Saive Under: Linux Commands, Monitoring Tools On: April 27, 2014
Download Your Free eBooks NOW - 10 Free Linux eBooks for Administrators
Its really very tough job for every System or Network administrator to monitor and debug Linux System Performance problems every day. After being a Linux
Administrator for 5 years in IT industry, I came to know that how hard is to monitor and keep systems up and running. For this reason, weve compiled the list of
Top 20 frequently used command line monitoring tools that might be useful for every Linux/Unix System Administrator. These commands are available under all
avors of Linux and can be useful to monitor and nd the actual causes of performance problem. This list of commands shown here are very enough for you to
pick the one that is suitable for your monitoring scenario.
Linux Command Line Monitoring
1. Top Linux Process Monitoring
Linux Top command is a performance monitoring program which is used frequently by many system administrators to monitor Linux performance and it is
available under many Linux/Unix like operating systems. The top command used to dipslay all the running and active real-time processes in ordered list and
updates it regularly. It display CPU usage, Memory usage, Swap Memory, Cache Size, Buffer Size, Process PID, User, Commands and much more. It also
shows high memory and cpu utilization of a running processess. The top command is much userful for system administrator to monitor and take correct action
when required. Lets see top command in action.
# top
Flash Flash
! Linux ! Monitor Net ! LAN Monitor ! Monitor CPU
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 2 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Top Command Example
For more examples of Top command read : 12 TOP Command Examples in Linux
2. VmStat Virtual Memory Statistics
Linux VmStat command used to display statistics of virtual memory, kernerl threads, disks, system processes, I/O blocks, interrupts, CPU activity and much
more. By default vmstat command is not available under Linux systems you need to install a package called sysstat that includes a vmstat program. The common
usage of command format is.
# vmstat
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free inact active si so bi bo in cs us sy id wa st
1 0 0 810420 97380 70628 0 0 115 4 89 79 1 6 90 3 0
For more Vmstat examples read : 6 Vmstat Command Examples in Linux
3. Lsof List Open Files
Lsof command used in many Linux/Unix like system that is used to display list of all the open les and the processes. The open les included are disk les,
network sockets, pipes, devices and processes. One of the main reason for using this command is when a disk cannot be unmounted and displays the error that
les are being used or opened. With this commmand you can easily identify which les are in use. The most common format for this command is.
# lsof
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
init 1 root cwd DIR 104,2 4096 2 /
init 1 root rtd DIR 104,2 4096 2 /
init 1 root txt REG 104,2 38652 17710339 /sbin/init
init 1 root mem REG 104,2 129900 196453 /lib/ld-2.5.so
init 1 root mem REG 104,2 1693812 196454 /lib/libc-2.5.so
init 1 root mem REG 104,2 20668 196479 /lib/libdl-2.5.so
init 1 root mem REG 104,2 245376 196419 /lib/libsepol.so.1
init 1 root mem REG 104,2 93508 196431 /lib/libselinux.so.1
init 1 root 10u FIFO 0,17 953 /dev/initctl
More lsof command usage and examples : 10 lsof Command Examples in Linux
4. Tcpdump Network Packet Analyzer
Tcpdump one of the most widely used command-line network packet analyzer or packets sniffer program that is used capture or lter TCP/IP packets that
received or transferred on a specic interface over a network. It also provides a option to save captured packages in a le for later analysis. tcpdump is almost
available in all major Linux distributions.
# tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
22:08:59.617628 IP tecmint.com.ssh > 115.113.134.3.static-mumbai.vsnl.net.in.28472: P 2532133365:2532133481(116) ack 3561562349 win 9648
22:09:07.653466 IP tecmint.com.ssh > 115.113.134.3.static-mumbai.vsnl.net.in.28472: P 116:232(116) ack 1 win 9648
22:08:59.617916 IP 115.113.134.3.static-mumbai.vsnl.net.in.28472 > tecmint.com.ssh: . ack 116 win 64347
For more tcpdump usage read : 12 Tcpdump Command Examples in Linux
5. Netstat Network Statistics
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 3 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Netstat is a command line tool for monitoring incoming and outgoing network packets statistics as well as interface statistics. It is very useful tool for every
system administrator to monitor network performance and troubleshoot network related problems.
# netstat -a | more
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:mysql *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:realm-rusd *:* LISTEN
tcp 0 0 *:ftp *:* LISTEN
tcp 0 0 localhost.localdomain:ipp *:* LISTEN
tcp 0 0 localhost.localdomain:smtp *:* LISTEN
tcp 0 0 localhost.localdomain:smtp localhost.localdomain:42709 TIME_WAIT
tcp 0 0 localhost.localdomain:smtp localhost.localdomain:42710 TIME_WAIT
tcp 0 0 *:http *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:https *:* LISTEN
More Netstat examples : 20 Netstat Command Examples in Linux.
6. Htop Linux Process Monitoring
Htop is a much advanced interactive and real time Linux process monitoring tool. This is much similar to Linux top command but it has some rich features like
user friendly interface to manage process, shortcut keys, vertical and horizontal view of the processes and much more. Htop is a third party tool and doesnt
included in Linux systems, you need to install it using YUM package manager tool. For more information on installation read our article below.
# htop
Htop Command Example Screenshot
For Htop installation read : Install Htop (Linux Process Monitoring) in Linux
7. Iotop Monitor Linux Disk I/O
Iotop is also much similar to top command and Htop program, but it has accounting function to monitor and display real time Disk I/O and processes. This tool
is much useful for nding the exact process and high used disk read/writes of the processes.
# iotop
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 4 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Iotop Command Example Screenshot
For Ioptop installation and usage read : Install Iotop in Linux
8. Iostat Input/Output Statistics
IoStat is simple tool that will collect and show system input and output storage device statistics. This tool is often used to trace storage device performance issues
including devices, local disks, remote disks such as NFS.
# iostat
Linux 2.6.18-238.9.1.el5 (tecmint.com) 09/13/2012
avg-cpu: %user %nice %system %iowait %steal %idle
2.60 3.65 1.04 4.29 0.00 88.42
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
cciss/c0d0 17.79 545.80 256.52 855159769 401914750
cciss/c0d0p1 0.00 0.00 0.00 5459 3518
cciss/c0d0p2 16.45 533.97 245.18 836631746 384153384
cciss/c0d0p3 0.63 5.58 3.97 8737650 6215544
cciss/c0d0p4 0.00 0.00 0.00 8 0
cciss/c0d0p5 0.63 3.79 5.03 5936778 7882528
cciss/c0d0p6 0.08 2.46 2.34 3847771 3659776
For more Iostat usage and examples visit : 6 Iostat Command Examples in Linux
9. IPTraf Real Time IP LAN Monitoring
IPTraf is an open source console-based real time network (IP LAN) monitoring utility for Linux. It collects a variety of information such as IP trafc monitor that
passes over the network, including TCP ag information, ICMP details, TCP/UDP trafc breakdowns, TCP connection packet and byne counts. It also gathers
information of general and detaled interface statistics of TCP, UDP, IP, ICMP, non-IP, IP checksum errors, interface activity etc.
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 5 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
IP Trafc Monitor
For more information and usage of IPTraf tool, please visit : IPTraf Network Monitoring Tool
10. Psacct or Acct Monitor User Activity
psacct or acct tools are very useful for monitoring each users activity on the system. Both daemons runs in the background and keeps a close watch on the overall
activity of each user on the system and also what resources are being consumed by them.
These tools are very useful for system administrators to track each users activity like what they are doing, what commands they issued, how much resources are
used by them, how long they are active on the system etc.
For installation and example usage of commands read the article on Monitor User Activity with psacct or acct
11. Monit Linux Process and Services Monitoring
Monit is a free open source and web based process supervision utility that automatically monitors and managers system processes, programs, les, directories,
permissions, checksums and lesystems.
It monitors services like Apache, MySQL, Mail, FTP, ProFTP, Nginx, SSH and so on. The system status can be viewed from the command line or using it own web
interface.
Monit Linux Process Monitoring
Read More : Linux Process Monitoring with Monit
12. NetHogs Monitor Per Process Network Bandwidth
NetHogs is an open source nice small program (similar to Linux top command) that keeps a tab on each process network activity on your system. It also keeps a
track of real time network trafc bandwidth used by each program or application.
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 6 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
NetHogs Linux Bandwidth Monitoring
Read More : Monitor Linux Network Bandwidth Using NetHogs
13. iftop Network Bandwidth Monitoring
iftop is another terminal-based free open source system monitoring utility that displays a frequently updated list of network bandwidth utilization (source and
destination hosts) that passing through the network interface on your system. iftop is considered for network usage, what top does for CPU usage. iftop is a top
family tool that monitor a selected interface and displays a current bandwidth usage between two hosts.
iftop Network Bandwidth Monitoring
Read More : iftop Monitor Network Bandwidth Utilization
14. Monitorix System and Network Monitoring
Monitorix is a free lightweight utility that is designed to run and monitor system and network resources as many as possible in Linux/Unix servers. It has a built in
HTTP web server that regularly collects system and network information and display them in graphs. It Monitors system load average and usage, memory
allocation, disk driver health, system services, network ports, mail statistics (Sendmail, Postx, Dovecot, etc), MySQL statistics and many more. It designed
to monitor overall system performance and helps in detecting failures, bottlenecks, abnormal activities etc.
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 7 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Monitorix Monitoring
Read More : Monitorix a System and Network Monitoring Tool for Linux
15. Arpwatch Ethernet Activity Monitor
Arpwatch is a kind of program that is designed to monitor Address Resolution (MAC and IP address changes) of Ethernet network trafc on a Linux network. It
continuously keeps watch on Ethernet trafc and produces a log of IP and MAC address pair changes along with a timestamps on a network. It also has a feature to
send an email alerts to administrator, when a pairing added or changes. It is very useful in detecting ARP spoong on a network.
Read More : Arpwatch to Monitor Ethernet Activity
16. Suricata Network Security Monitoring
Suricata is an high performance open source Network Security and Intrusion Detection and Prevention Monitoring System for Linux, FreeBSD and
Windows.It was designed and owned by a non-prot foundation OISF (Open Information Security Foundation).
Read More : Suricata A Network Intrusion Detection and Prevention System
17. VnStat PHP Monitoring Network Bandwidth
VnStat PHP a web based frontend application for most popular networking tool called vnstat. VnStat PHP monitors a network trafc usage in nicely graphical
mode. It displays a total IN and OUT network trafc usage in hourly, daily, monthly and full summary report.
Read More : VnStat PHP Monitoring Network Bandwidth
18. Nagios Network/Server Monitoring
Nagios is an leading open source powerful monitoring system that enables network/system administrators to identify and resolve server related problems before
they affect major business processes. With the Nagios system, administrators can able to monitor remote Linux, Windows, Switches, Routers and Printers on a
single window. It shows critical warnings and indicates if something went wrong in your network/server which indirectly helps you to begin remediation processes
before they occur.
Read More : Install Nagios Monitoring System to Monitor Remote Linux/Windows Hosts
19. Nmon: Monitor Linux Performance
Nmon (stands for Nigels performance Monitor) tool, which is used to monitor all Linux resources such as CPU, Memory, Disk Usage, Network, Top processes,
NFS, Kernel and much more. This tool comes in two modes: Online Mode and Capture Mode.
The Online Mode, is used for real-time monitoring and Capture Mode, is used to store the output in CSV format for later processing.
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 8 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Bio Latest Posts
Nmon Monitoring
Read More: Install Nmon (Performance Monitoring) Tool in Linux
20. Collectl: All-in-One Performance Monitoring Tool
Collectl is a yet another powerful and feature rich command line based utility, that can be used to gather information about Linux system resources such as CPU
usage, memory, network, inodes, processes, nfs, tcp, sockets and much more.
Collectl Monitoring
Read More: Install Collectl (All-in-One Performance Monitoring) Tool in Linux
We would like to know what kind of monitoring programs you use to monitor performance of your Linux servers? If weve missed any important tool that you
would like us to include in this list, please inform us via comments and please dont forget to share it.
Ravi Saive
Owner at TecMint.com
Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source
Platform called Linux.
Linux Services & Free WordPress Setup
! Monitor Net ! Free Linux ! LAN Monitor ! Unix Linux
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 9 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Our post is simply DIY aka Do It Yourself, still you may nd difculties and want us to help you out. We offer wide range of Linux and Web Hosting
Solutions at fair minimum rates. Please submit your orders by Clicking Here.
Tweet
73
comments
Previous Post
Nmon: Analyze and Monitor Linux System Performance
Next Post
linux-dash: Monitors Linux Server Performance Remotely Using Web Browser
Related Post(s):
1. 20 Useful Commands of Sysstat Utilities (mpstat, pidstat, iostat and sar) for Linux Performance Monitoring
2. Manage and Limit Download/Upload Bandwidth with Trickle in Linux
3. Showterm.io A Terminal/Shell Recording, Upload and Share Tool for Linux
4. How to Get Hardware Information with Dmidecode Command on Linux
5. Linux Performance Monitoring with Vmstat and Iostat Commands
6. 10 lsof Command Examples in Linux
73 Responses
itoctopus says:
1. September 16, 2012 at 7:44 pm
While top is one of the most used Linux tools, it is also one of the most annoying. htop is a better alternative, but rare are those system administrators who
are willing to install it especially if their server has a lot of sensitive information.
Linux is really behind when it comes to performance monitoring, and I dont see any major advancements in this eld 15 years ago.
Reply
Victor says:
April 6, 2013 at 8:43 pm
Whats annoying about top..?
Reply
Techie Talks says:
April 7, 2013 at 9:43 am
Yeah, I wonder what annoys you.
Reply
~oliver says:
May 4, 2013 at 8:34 pm
I understand what he is saying. TOP is not where I would go rst. vmstat is still my favorite for initial diagnosis. You can use TOP to drill
further down into the issue.
Reply
39
Share Share
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 10 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Joel says:
March 3, 2014 at 3:54 pm
Whats the problem with htop and sensitive data? Is it known vulnerable or ?
Reply
Craig says:
July 15, 2014 at 2:35 pm
It gives near real time information about processes and can kill/examine them. That is sensitive info. A high percentage of software is somewhat
vulnerable to cyber attacks(give information from the system that can help in attacks), its access that you must prevent other than getting rid of
useful software.
Reply
Free Linux says:
2. November 19, 2012 at 4:57 am
Good read, I have Mint 13 installed and some of these tools are not installed by default. top is, of course, and is one of my favorites for a good summary of
current usage information.
Reply
Gilank says:
3. March 4, 2013 at 3:11 pm
+1 Also used dstat command to see live process of send / receive over the ethernet
Reply
Jericho says:
4. March 20, 2013 at 5:44 pm
Great stuff. I love jnettop. Its siimilar to IPTraf but superior to it, IMO.
All the tools are great but nothing compares to getting a baseline on your servers before they freak out so you know what normal is for that specic box.
Reply
Nicolargo says:
5. April 4, 2013 at 11:46 pm
Also have a look on Glances, a new system monitoring tool with CPU, MEM, LOAD, Network, IO disk, Filesystem and processes stats.
Will be included in the next Debian release.
Reply
converge says:
April 27, 2014 at 9:08 pm
Glances is awesome ! Just installed it, a very nice real time monitor.
Reply
Rahul Ghose says:
6. April 6, 2013 at 2:18 pm
Very informative indeed! I was familiar with most items here. Netstat is undoubtedly one of the most used for network monitoring. Well monit came as a
surprise really.
Reply
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 11 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Naveen says:
7. April 6, 2013 at 4:18 pm
Thanks!
Reply
DocJ says:
8. April 6, 2013 at 6:13 pm
No mention of sar? In my opinion, sar is one of the most versatile tools for system performance monitoring. Not only can you see stats in realtime, but
historical data is saved as well. This can provide valuable insight into what is normal (a baseline, if you will) for system performance as it relates to I/O,
memory use, and CPU use, amongst other things. While the rest of these are good tools, Im surprised there is absolutely no mention of sar.
Reply
Ravi Saive says:
April 6, 2013 at 10:12 pm
The article is on its way, will include soon to this list..Thanks..
Reply
kalyani says:
April 4, 2014 at 11:32 am
If you like sar you will denitely nd SeaLion(https://sealion.com) worth it. It gives sar like outputs in a nice organized timeline to check data in the
past.
@Ravi, thanks.. very useful article.
Reply
9. Mariano says:
April 6, 2013 at 9:38 pm
Thank you!
Reply
10. Jon says:
April 7, 2013 at 1:55 am
I like rainbarf too.
Reply
11. dclsv says:
April 7, 2013 at 3:19 am
While all of these tools are nice, I nd the approach of logging into each machine you manage to get this info to be laborious.
If you can run the command locally, you should be able to create a plugin for Nagios (or whatever youre using ) to present the data as part of the larger
picture.
Reply
kevin says:
January 16, 2014 at 11:17 am
You could use SeaLion to do the work for you. Install the agent on all those systems once(and just one command too!! ) and you are good to go. Most
of the default command would serve would be sufcient, but you still get to add any extra commands you want to run on all those servers. No need to
ssh into all machines everytime.
Nagios although not particularly painful to use, using SeaLion makes you wonder just how easy it can get.
Reply
Alok says:
June 14, 2014 at 1:42 pm
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 12 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Well Said I am using it
Reply
12. Xenon says:
April 7, 2013 at 4:48 pm
WTF ! You have used PuTTY to introduce audience to Linux terminal !? Why did you do this to us ? And Its not at all a full list. I recommend using free
instead vmstat because its more simple. Just check this out:
xenon@xenon-dev:~$ free -h
total used free shared buffers cached
Mem: 7,5G 4,3G 3,2G 0B 346M 2,5G
-/+ buffers/cache: 1,5G 6,0G
Swap: 1,9G 0B 1,9G
Reply
13. id_rsa says:
April 7, 2013 at 6:02 pm
Let me add to top family iftop tool. It monitors specied network interface in a real time. And there is ss tool, that is doing almost the same job as netstat
does, but it is simpler. Finally, there is tool named watch, which executes a program periodically, showing output fullscreen. This tool doesnt do monitoring
itself, but can run other tools, e.g. watch df -h for diskspace monitoring.
Reply
14. Joe says:
April 7, 2013 at 10:23 pm
iftop is missing!!!
Reply
Ravi Saive says:
April 8, 2013 at 5:10 pm
Included iftop tool as suggested..Thanks..
Reply
15. Pawan says:
April 17, 2013 at 1:43 pm
Very informative post. I never new there were so many commands for same work.
Reply
16. Edueloco says:
April 26, 2013 at 12:10 am
I found nmon quite useful.
Reply
17. Alen says:
May 4, 2013 at 5:05 pm
Quite useful collection.
Reply
18. angelblade says:
May 5, 2013 at 9:13 am
i will add nmon
Reply
19. Joe says:
May 7, 2013 at 8:50 pm
Can ss get some love?
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 13 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Reply
20. Phil Kingston says:
May 7, 2013 at 9:31 pm
Great list. If you are an Apache httpd user, I would also recommend apache-top:
http://www.fr3nd.net/projects/apache-top/
Reply
Ravi Saive says:
May 7, 2013 at 9:33 pm
Thanks Phil.
Reply
21. RoseHosting says:
May 8, 2013 at 8:51 am
hi,
thanks for sharing such a great post. I wanted to add atop to the list as it is very nice tool. really you should check it if you havent already.
http://linux.die.net/man/1/atop
Reply
22. Manikandan says:
June 6, 2013 at 3:59 pm
Hi Friend,
blog was very use. one more doubt can you help me
Thanks & Regards
Manikandan.K
Reply
Ravi Saive says:
June 6, 2013 at 4:08 pm
Yes! we are here to help you all. Post your query here.
Reply
23. joe satch says:
June 6, 2013 at 7:27 pm
hi thx for sharing.
80 % of those tools i have use also . great info
rs
Reply
24. Ganesh says:
June 6, 2013 at 10:24 pm
uptime and prstat commands are missing here.
Reply
Ravi Saive says:
June 7, 2013 at 1:47 pm
Will add it these two missing commands to the list.
Reply
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 14 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
25. NgocPT says:
June 24, 2013 at 5:31 pm
I think dstat is one of best command for monitoring linux system?? I always use iostat and dstat, may be dstat is missing here
Reply
Ravi Saive says:
June 24, 2013 at 7:10 pm
Thanks, will soon be included dstat in the list.
Reply
26. Yizhar says:
June 26, 2013 at 3:36 pm
One of the best post in this subject weel done Ravi :)
I used for quit long some of this: htop, iptraf, nmon (should added as some of the guys
said) and other genral cmd like: netstat, vmstat, sar, dig, traceroute (should added, default in Red Hat & SuSE).
Today I added to my arsenal he above: iotop, dstat, nethogs, iftop, monit.
Suggesting some other free stuff (some are built-in in distrebutions like: Ubuntu/mint, Fedora, SuSE and other but not in Red Hat 5 and below for example):
mtr Monitor network TRafce.
iperf Ip Performance a beat old school :)
vnstat Another network monitor monitor + logging.
lshw LiSt HardWare.
glet banner.
tree a hierarchy look on le system.
Reply
27. Marek says:
July 9, 2013 at 11:18 am
Idont see between them sar statistics or Ksar tool.
Reply
28. Realbanda says:
July 12, 2013 at 12:32 am
This is an amazing review Thanks for sharing
Keep posting new things..
Reply
29. Lion says:
July 12, 2013 at 12:47 pm
Is there any tools to monitor the loading of GPU?
Reply
30. rigel says:
July 19, 2013 at 1:08 pm
Include NMON, this is very useful
Reply
Ravi Saive says:
July 19, 2013 at 2:17 pm
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 15 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Yes! surely will write up on NMON tool. Thanks..
Reply
31. Karl Crampton says:
July 25, 2013 at 8:31 pm
I think a very useful command is w this shows who is logged on and what they are doing. you can also use watch w to view this information in real time.
Reply
32. DocJ says:
August 31, 2013 at 6:39 pm
I dont understand why more of these performance monitoring posts dont mention sar or ksar. When you talk about performance monitoring, these are two of
the most useful tools out there. Top and all of its variants are nice for performance monitoring at the time you use them, but they dont publish to a log (unless
you whack together a script).
Sar can be used with the -o ag to drop its data into an output le (which defaults to /var/log/sa/sa`date +%d` and /var/log/sa/sar`date +%d`). Then you can
use a multitude of ags against these les to check statistics for just about every conceivable relevant server statistic.
The man page is available here:
http://linux.die.net/man/1/sar
Very useful tool, and I dont think it gets enough publicity.
Reply
33. Bhupathi says:
September 6, 2013 at 12:07 pm
Nice collection of commands. Explained with Screenshot was a good representation style. Thanks for that.
Reply
34. Rajesh A Chivate says:
October 10, 2013 at 10:28 pm
Very nice, thanks
Reply
35. Rahul says:
October 21, 2013 at 9:21 pm
hi Ravi,
Liked you article 17 Command Line Tools to Monitor Linux Performance
it is very helpful
Thanks
Rahul
Reply
36. Tamilselvi says:
October 30, 2013 at 2:57 pm
Hi ,
Please suggest me the list of tools to monitor the performance of the Linux Sever. Open source will be prefered.
Awaiting for the reply..
Thanks in advance.
Reply
Tamilselvi says:
October 30, 2013 at 3:04 pm
I require the tool to be installed in the client machice and it should monitor the performance of the server.
Reply
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 16 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Ravi Saive says:
October 30, 2013 at 6:26 pm
You can select from the list that suits your needs.
Reply
37. daniel n says:
November 8, 2013 at 10:28 pm
You say Open Source Platform called Linux whereas you are referring to GNU/Linux. Linux being just a the kernel, GNU/Linux being an Operating
System (which is not a platform). A platform is comprised of an Operating System on top of a hardware architecture.
Quite a noticeable mistake for a Linux guru.
Reply
38. sam says:
November 9, 2013 at 2:50 am
awesome thanks!
Reply
39. ranganth says:
November 13, 2013 at 3:26 pm
useful information.. keep it up
Reply
40. Joy Banerjee says:
December 7, 2013 at 12:49 am
Thanks these commands will help me alot
Reply
41. Shubhansh says:
December 12, 2013 at 6:57 pm
There is new cloud-based service SeaLion (https://sealion.com) which executes many of these commands by default and others can be added/modied to see
output of commands on beautiful web-interface.
Reply
Shubhansh says:
December 12, 2013 at 6:58 pm
And of course, just to add, SeaLion is free :)
Reply
42. raghav says:
December 22, 2013 at 4:13 pm
temperature monitoring?
Reply
43. raghav says:
December 22, 2013 at 4:14 pm
Good list . thanks.
can you also include how we can monitor cpu, gpu, hdd temperature?
Reply
44. Mario says:
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 17 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
December 23, 2013 at 7:46 am
how would you determine the amount of physical and virtual memory on a Linux system, and its current usage, in one command?
thank you
Reply
MRM says:
March 17, 2014 at 12:04 am
free -m will show total, cache, and used memory, quick, simple, built in.
Reply
45. Mark Smith says:
December 26, 2013 at 8:05 am
Not a command line tool but if you are looking for a monitoring tool for your Linux environment, check out the eG Linux monitoring tool from EG
innovations
http://www.eginnovations.com/web/linux-server-monitoring.htm
Reply
46. Sanjay says:
December 26, 2013 at 5:32 pm
A Good handy list for a novice Linux administrator to look for monitoring his system effectively. Thank you
Reply
47. Jeff Moncrieff says:
December 27, 2013 at 3:13 am
Glance should have been up near the top. As it Monitors everything like disk space network trafc,Memory, Processes,Temperature(CPU,Disks)
Jeff
Reply
48. nicolas says:
March 18, 2014 at 2:38 pm
Thank you Ravi, i had hard time searching the internet for powerful monitoring tools that would help me to protect my server from spam bots, hackers and
harvesters.
Reply
49. Ravindra Reddy says:
March 20, 2014 at 3:28 pm
Thankzzz.
lots of helpful for me. awesome
thanks.
Reply
50. raphael says:
March 27, 2014 at 1:32 pm
Those tools are generally ok for monitoring/checking one server but when it comes to monitoring a bunch of them or a complete datacentre, better move to
integrated tools like Zabbix (http://www.zabbix.com/) which is amazingly complete and exible to monitor, catch and alert on any type of hardware,
software/service status. And it is open source of course.
Reply
51. Cyring says:
May 25, 2014 at 12:00 am
A new visual tool designed for Intel Core at
code.google.com/p/xfreq
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 18 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Still an active development software, it monitors each CPU at the assembly level using performance counters.
You will get C-states, Frequencies, Temps ans other features provided by i7 & duo like processors.
Last version adds kernel task scheduling in RT among logical CPU
Reply
52. M. Adel says:
June 25, 2014 at 8:30 pm
BWTop CLI tool to monitor network interfaces bandwidth rate:
http://adelmahmoud.wordpress.com/2014/06/24/bwtop/
Reply
53. Wellington Torrejais da Silva says:
June 25, 2014 at 8:32 pm
Thanks!!
Reply
Leave a Reply
Name (Required)
Mail (will not be published) (Required)
Website
Submit Comment
Twitter 1795 Twitter
Facebook 40883 Facebook
Google+ 7628 Google+
RSS 3712 Subscribers
Become A TecMint Subscriber to receive latest Updates.
Enter Your Email Address :) Signup!
Popular
Latest
Comments
Tags
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 19 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
How to Add Linux Host to Nagios Monitoring Server Using NRPE Plugin 228 Comments
Nagios 4.0.1 Released Install on RHEL/CentOS 6.x/5.x and Fedora 19/18/17 184 Comments
CentOS 6.4 Step by Step Installation Guide with Screenshots 169 Comments
Wine 1.6.2 Stable Released Install in RHEL, CentOS and Fedora 164 Comments
Install Apache 2.2.15, MySQL 5.5.34 & PHP 5.5.4 on RHEL/CentOS 6.4/5.9 & Fedora 19-12 161 Comments
Google Chrome 35 Released Install on RHEL/CentOS 6 and Fedora 20-15 149 Comments
:: Advertise ::
:: Download Free Linux eBooks ::
Complete Linux Command Line Cheat Sheet
The GNU/Linux Advanced Administration Guide
Securing & Optimizing Linux Servers
Linux Patch Management: Keeping Linux Up To Date
Introduction to Linux A Hands on Guide
Understanding the Linux Virtual Memory Manager
Linux Bible Packed with Updates and Exercises
A Newbies Getting Started Guide to Linux
Linux from Scratch Create Your Own Linux OS
Linux Shell Scripting Cookbook, Second Edition
Securing & Optimizing Linux: The Hacking Solution
User Mode Linux Understanding and Administration
:: Follow Us ::
Flash Flash
9/30/14, 10:01 AM 20 Command Line Tools to Monitor Linux Performance
Page 20 of 20 http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
Know More
Submit Order
Advertise Now
:: About ::
TecMint.com is a website that publishes practical and useful out-of-the-box articles for aspirant like you and me. We seek to present exceptional, remarkable tips,
tutorials, and resources that the modern web professional will appreciate.
:: Our Services ::
We offer wide range of Linux Web Hosting and Management Services includes Linux hosting, WordPress hosting, Joomla Hosting, CMS hosting,
Website migration and Custom solutions, making us a one-stop destination for all your possible hosting needs at fair minimum rates.
:: Advertise ::
TecMint.com is visited by tens of thousands of Linux users and has a excellent reputation in the search engine ranking. Most of the trafc comes from
Google organic search (80%). Spread your messages or products to an engaged readers by advertising with us.
This work is licensed under a (cc) BY-NC | TecMint uses cookies. By using our services, you comply to use of our cookies. More info: Privacy
Policy.
2012-2014 All Rights Reserved.
10 Useful Free Linux eBooks for Newbies and Administrators
25 Hardening Security Tips for Linux Servers
60 Commands of Linux : A Guide from Newbies to System Administrator
15 Command Line Tools to Monitor Linux Performance
5 Best Practices to Secure and Protect SSH Server
18 Tar Command Examples in Linux
20 Linux YUM (Yellowdog Updater, Modied) Commands
25 Useful Basic Commands of APT-GET and APT-CACHE
20 Funny Commands of Linux or Linux is Fun in Terminal
35 Practical Examples of Linux Find Command
10 Linux Distributions and Their Targeted Users

S-ar putea să vă placă și