20 Linux System Monitoring Tools Every SysAdmin Should Know
20 Linux System Monitoring Tools Every SysAdmin Should Know
About Forum Howtos & FAQs Low graphics Shell Scripts RSS/Feed
FilaLavadro Black SneakersShow Now!-30%Rs. 979.00Rs. 1399.00Neu nixcraft - insight into linux admin work
Peri PeriSoft
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
1/69
7/15/13
Sample Outputs:
p r o c sm e m o r y -s w a p -i o -s y s t e m -c p u r b s w p d f r e e b u f f c a c h e s i s o b i b o i n c su ss yi dw as t 0 0 02 5 4 0 9 8 85 2 2 1 8 85 1 3 0 4 0 0 0 0 2 3 2 4 2 4 19 6 0 0 1 0 02 5 4 0 9 8 85 2 2 1 8 85 1 3 0 4 0 0 0 0 0 7 2 01 1 9 9 6 6 5 1 09 9 0 0
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 2/69
7/15/13
0 0 0 0 0
0 0 0 0 0
02 5 4 0 9 5 65 2 2 1 8 85 1 3 0 4 0 0 02 5 4 0 9 5 65 2 2 1 8 85 1 3 0 5 0 0 02 5 4 0 9 4 05 2 2 1 8 85 1 3 0 5 1 2 02 5 3 8 4 4 45 2 2 1 8 85 1 3 0 5 8 8 02 4 9 0 0 6 05 2 2 1 8 85 1 3 0 6 4 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
01 1 5 11 5 6 9 61 1 1 7 4 3 9 5 3 61 1 8 9 9 3 2 01 1 8 71 4 1 7 1 81 2 5 31 1 2 3
4 1 1 4 5
19 5 09 9 09 8 19 6 19 4
0 0 0 0 0
0 0 0 0 0
=> 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.
#wu s e r n a m e #wv i v e k
Sample Outputs:
1 7 : 5 8 : 4 7u p5d a y s ,2 0 : 2 8 , 2u s e r s , l o a da v e r a g e :0 . 3 6 ,0 . 2 6 ,0 . 2 4 U S E R T T Y F R O M L O G I N @ I D L E J C P U P C P UW H A T r o o t p t s / 0 1 0 . 1 . 3 . 1 4 5 1 4 : 5 5 5 . 0 0 s 0 . 0 4 s 0 . 0 2 sv i m/ e t c / r e s o l v . c o n f r o o t p t s / 1 1 0 . 1 . 3 . 1 4 5 1 7 : 4 3 0 . 0 0 s 0 . 0 3 s 0 . 0 0 sw
#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, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.
#u p t i m e
Output:
1 8 : 0 2 : 4 1u p4 1d a y s ,2 3 : 4 2 , 1u s e r , l o a da v e r a g e :0 . 0 0 ,0 . 0 0 ,0 . 0 0
1 can be considered as optimal load value. The load can change from system to system. For a single CPU system 1 - 3 and SMP systems 6-10 load value might be acceptable.
Sample Outputs:
P I DT T Y 1? 2? 3? 4? T I M EC M D 0 0 : 0 0 : 0 2i n i t 0 0 : 0 0 : 0 2m i g r a t i o n / 0 0 0 : 0 0 : 0 1k s o f t i r q d / 0 0 0 : 0 0 : 0 0w a t c h d o g / 0
3/69
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
7/15/13
5? 6? . . . . . . . . . 4 8 8 1? 4 8 8 5t t y 1 4 8 8 6t t y 2 4 8 8 7t t y 3 4 8 8 8t t y 4 4 8 9 1t t y 5 4 8 9 2t t y 6 4 8 9 3t t y S 1 1 2 8 5 3? 1 2 8 5 4? 1 4 2 3 1? 1 4 2 3 2? 5 4 9 8 1p t s / 0 5 5 4 6 5? 5 5 5 4 6? 5 5 7 0 4p t s / 1
0 0 : 0 0 : 0 0m i g r a t i o n / 1 0 0 : 0 0 : 1 5k s o f t i r q d / 1
0 0 : 5 3 : 2 8j a v a 0 0 : 0 0 : 0 0m i n g e t t y 0 0 : 0 0 : 0 0m i n g e t t y 0 0 : 0 0 : 0 0m i n g e t t y 0 0 : 0 0 : 0 0m i n g e t t y 0 0 : 0 0 : 0 0m i n g e t t y 0 0 : 0 0 : 0 0m i n g e t t y 0 0 : 0 0 : 0 0a g e t t y 0 0 : 0 0 : 0 0c i f s o p l o c k d 0 0 : 0 0 : 0 0c i f s d n o t i f y d 0 0 : 1 0 : 3 4l i g h t t p d 0 0 : 0 0 : 0 0p h p c g i 0 0 : 0 0 : 0 0v i m 0 0 : 0 0 : 0 0p h p c g i 0 0 : 0 0 : 0 0b i n d 9 s n m p s t a t 0 0 : 0 0 : 0 0p s
To turn on extra full mode (it will show command line arguments passed to process):
#p sA l F
7/15/13
#p se M
OR
#p g r e pl i g h t t p d
OR
#p g r e puv i v e kp h p c g i
Sample Output:
t o t a l M e m : 1 2 3 0 2 8 9 6 / +b u f f e r s / c a c h e : S w a p : 1 0 5 2 2 4 8 u s e d 9 7 3 9 6 6 4 4 0 6 1 8 0 0 0 f r e e 2 5 6 3 2 3 2 8 2 4 1 0 9 6 1 0 5 2 2 4 8 s h a r e d 0 b u f f e r s 5 2 3 1 2 4 c a c h e d 5 1 5 4 7 4 0
=> Related: : 1. Linux Find Out Virtual Memory PAGESIZE 2. Linux Limit CPU Usage Per Process 3. How much RAM does my Ubuntu / Fedora Linux desktop PC have?
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 5/69
7/15/13
Sample Outputs:
L i n u x2 . 6 . 1 8 1 2 8 . 1 . 1 4 . e l 5( w w w 0 3 . n i x c r a f t . i n ) 0 6 / 2 6 / 2 0 0 9 a v g c p u : % u s e r % n i c e% s y s t e m% i o w a i t % s t e a l % i d l e 3 . 5 0 0 . 0 9 0 . 5 1 0 . 0 3 0 . 0 0 9 5 . 8 6 D e v i c e : t p s B l k _ r e a d / s B l k _ w r t n / s B l k _ r e a d B l k _ w r t n s d a 2 2 . 0 4 3 1 . 8 8 5 1 2 . 0 3 1 6 1 9 3 3 5 1 2 6 0 1 0 2 8 6 8 s d a 1 0 . 0 0 0 . 0 0 0 . 0 0 2 1 6 6 1 8 0 s d a 2 2 2 . 0 4 3 1 . 8 7 5 1 2 . 0 3 1 6 1 8 9 0 1 0 2 6 0 1 0 2 6 8 8 s d a 3 0 . 0 0 0 . 0 0 0 . 0 0 1 6 1 5 0
Sample Outputs:
L i n u x2 . 6 . 1 8 1 2 8 . 1 . 1 4 . e l 5( w w w 0 3 . n i x c r a f t . i n ) 0 6 : 4 5 : 1 2P M C P U % u s e r % n i c e % s y s t e m 0 6 : 4 5 : 1 6P M a l l 2 . 0 0 0 . 0 0 0 . 2 2 0 6 : 4 5 : 2 0P M a l l 2 . 0 7 0 . 0 0 0 . 3 8 0 6 : 4 5 : 2 4P M a l l 0 . 9 4 0 . 0 0 0 . 2 8 0 6 : 4 5 : 2 8P M a l l 1 . 5 6 0 . 0 0 0 . 2 2 0 6 : 4 5 : 3 2P M a l l 3 . 5 3 0 . 0 0 0 . 2 5 A v e r a g e : a l l 2 . 0 2 0 . 0 0 0 . 2 7 0 6 / 2 6 / 2 0 0 9 % i o w a i t % s t e a l 0 . 0 0 0 . 0 0 0 . 0 3 0 . 0 0 0 . 0 0 0 . 0 0 0 . 0 0 0 . 0 0 0 . 0 3 0 . 0 0 0 . 0 1 0 . 0 0 % i d l e 9 7 . 7 8 9 7 . 5 2 9 8 . 7 8 9 8 . 2 2 9 6 . 1 9 9 7 . 7 0
=> Related: : How to collect Linux system utilization data into a file
Sample Output:
L i n u x2 . 6 . 1 8 1 2 8 . 1 . 1 4 . e l 5( w w w 0 3 . n i x c r a f t . i n ) 0 6 : 4 8 : 1 1P M C P U % u s e r % n i c e % s y s% i o w a i t 0 6 : 4 8 : 1 1P M a l l 3 . 5 0 0 . 0 9 0 . 3 4 0 . 0 3 0 6 : 4 8 : 1 1P M 0 3 . 4 4 0 . 0 8 0 . 3 1 0 . 0 2 0 6 : 4 8 : 1 1P M 1 3 . 1 0 0 . 0 8 0 . 3 2 0 . 0 9 0 6 : 4 8 : 1 1P M 2 4 . 1 6 0 . 1 1 0 . 3 6 0 . 0 2 0 6 : 4 8 : 1 1P M 3 3 . 7 7 0 . 1 1 0 . 3 8 0 . 0 3
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
0 6 / 2 6 / 2 0 0 9 % i r q % s o f t % s t e a l 0 . 0 1 0 . 1 7 0 . 0 0 0 . 0 0 0 . 1 2 0 . 0 0 0 . 0 2 0 . 1 1 0 . 0 0 0 . 0 0 0 . 1 1 0 . 0 0 0 . 0 1 0 . 2 4 0 . 0 0
% i d l e 9 5 . 8 6 9 6 . 0 4 9 6 . 2 8 9 5 . 2 5 9 5 . 4 6
i n t r / s 1 2 1 8 . 0 4 1 0 0 0 . 3 1 3 4 . 9 3 0 . 0 0 4 4 . 8 0
6/69
7/15/13
0 6 : 4 8 : 1 1P M 0 6 : 4 8 : 1 1P M 0 6 : 4 8 : 1 1P M 0 6 : 4 8 : 1 1P M
4 5 6 7
2 . 9 6 3 . 2 6 4 . 0 0 3 . 3 0
0 . 0 7 0 . 0 8 0 . 1 0 0 . 1 1
0 . 2 9 0 . 2 8 0 . 3 4 0 . 3 9
0 . 0 4 0 . 0 3 0 . 0 1 0 . 0 3
0 . 0 2 0 . 0 1 0 . 0 0 0 . 0 1
0 . 1 0 0 . 1 0 0 . 1 3 0 . 4 6
0 . 0 0 0 . 0 0 0 . 0 0 0 . 0 0
9 6 . 5 2 9 6 . 2 3 9 5 . 4 2 9 5 . 6 9
2 5 . 9 1 1 4 . 9 8 3 . 7 5 7 6 . 8 9
=> Related: : Linux display each multiple SMP CPU processors utilization individually.
Sample Outputs:
4 7 3 9 4 : / u s r / b i n / p h p c g i A d d r e s s K b y t e sM o d e O f f s e t D e v i c e M a p p i n g 0 0 0 0 0 0 0 0 0 0 4 0 0 0 0 0 2 5 8 4r x -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 8 : 0 0 0 0 2p h p c g i 0 0 0 0 0 0 0 0 0 0 8 8 6 0 0 0 1 4 0r w -0 0 0 0 0 0 0 0 0 0 2 8 6 0 0 00 0 8 : 0 0 0 0 2p h p c g i 0 0 0 0 0 0 0 0 0 0 8 a 9 0 0 0 5 2r w -0 0 0 0 0 0 0 0 0 0 8 a 9 0 0 00 0 0 : 0 0 0 0 0 [a n o n] 0 0 0 0 0 0 0 0 0 0 a a 8 0 0 0 7 6r w -0 0 0 0 0 0 0 0 0 0 2 a 8 0 0 00 0 8 : 0 0 0 0 2p h p c g i 0 0 0 0 0 0 0 0 0 f 6 7 8 0 0 0 1 9 8 0r w -0 0 0 0 0 0 0 0 0 f 6 7 8 0 0 00 0 0 : 0 0 0 0 0 [a n o n] 0 0 0 0 0 0 3 1 4 a 6 0 0 0 0 0 1 1 2r x -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 8 : 0 0 0 0 2l d 2 . 5 . s o 0 0 0 0 0 0 3 1 4 a 8 1 b 0 0 0 4r -0 0 0 0 0 0 0 0 0 0 0 1 b 0 0 00 0 8 : 0 0 0 0 2l d 2 . 5 . s o 0 0 0 0 0 0 3 1 4 a 8 1 c 0 0 0 4r w -0 0 0 0 0 0 0 0 0 0 0 1 c 0 0 00 0 8 : 0 0 0 0 2l d 2 . 5 . s o 0 0 0 0 0 0 3 1 4 a a 0 0 0 0 0 1 3 2 8r x -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 8 : 0 0 0 0 2l i b c 2 . 5 . s o 0 0 0 0 0 0 3 1 4 a b 4 c 0 0 0 2 0 4 8-0 0 0 0 0 0 0 0 0 0 1 4 c 0 0 00 0 8 : 0 0 0 0 2l i b c 2 . 5 . s o . . . . . . . . . . . . . 0 0 0 0 2 a f 8 d 4 8 f d 0 0 0 4r w -0 0 0 0 0 0 0 0 0 0 0 0 6 0 0 00 0 8 : 0 0 0 0 2x s l . s o 0 0 0 0 2 a f 8 d 4 9 0 c 0 0 0 4 0r x -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 8 : 0 0 0 0 2l i b n s s _ f i l e s 2 . 5 . s o 0 0 0 0 2 a f 8 d 4 9 1 6 0 0 0 2 0 4 4-0 0 0 0 0 0 0 0 0 0 0 0 a 0 0 00 0 8 : 0 0 0 0 2l i b n s s _ f i l e s 2 . 5 . s o 0 0 0 0 2 a f 8 d 4 b 1 5 0 0 0 4r -0 0 0 0 0 0 0 0 0 0 0 0 9 0 0 00 0 8 : 0 0 0 0 2l i b n s s _ f i l e s 2 . 5 . s o 0 0 0 0 2 a f 8 d 4 b 1 6 0 0 0 4r w -0 0 0 0 0 0 0 0 0 0 0 0 a 0 0 00 0 8 : 0 0 0 0 2l i b n s s _ f i l e s 2 . 5 . s o 0 0 0 0 2 a f 8 d 4 b 1 7 0 0 0 7 6 8 0 0 0r w s -0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 : 0 0 0 0 9z e r o( d e l e t e d ) 0 0 0 0 7 f f f c 9 5 f e 0 0 0 8 4r w -0 0 0 0 7 f f f f f f e a 0 0 00 0 0 : 0 0 0 0 0 [s t a c k] f f f f f f f f f f 6 0 0 0 0 0 8 1 9 2-0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 : 0 0 0 0 0 [a n o n] m a p p e d :9 3 3 7 1 2 K w r i t e a b l e / p r i v a t e :4 3 0 4 K s h a r e d :7 6 8 0 0 0 K
The last line is very important: mapped: 933712K total amount of memory mapped to files writeable/private: 4304K the amount of private address space shared: 768000K the amount of address space this process is sharing with others => Related: : Linux find the memory used by a program / process using pmap command
7/15/13
ss: Display Linux TCP / UDP Network and Socket Information Get Detailed Information About Particular IP address Connections Using netstat Command
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
8/69
7/15/13
To display all IPv4 HTTP packets to and from port 80, i.e. print only packets that contain data, not, for example, SYN and FIN packets and ACK-only packets, enter:
#t c p d u m p' t c pp o r t8 0a n d( ( ( i p [ 2 : 2 ]-( ( i p [ 0 ] & 0 x f ) < < 2 ) )-( ( t c p [ 1 2 ] & 0 x f 0 ) > > 2 ) )! =0 ) '
7/15/13
Linux kernel /proc documentations for further details. Common /proc examples:
#c a t/ p r o c / c p u i n f o #c a t/ p r o c / m e m i n f o #c a t/ p r o c / z o n e i n f o #c a t/ p r o c / m o u n t s
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
10/69
7/15/13
Fig.05 KDE System Guard {Image credit: Wikipedia} See the KSysguard handbook for detailed usage.
7/15/13
Lists all mounted filesystems along with basic information about each.
7/15/13
745
785
StumbleUpon
If you would like to be kept up to date with our posts, you can follow us on Twitter, Facebook, Google+, or even by subscribing to our RSS Feed. Featured Articles: 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X Top 30 Nmap Command Examples For Sys/Network Admins 25 PHP Security Best Practices For Sys Admins 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips Linux: 20 Iptables Examples For New SysAdmins Top 20 OpenSSH Server Best Security Practices Top 20 Nginx WebServer Best Security Practices 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors 15 Greatest Open Source Terminal Applications Of 2012 My 10 UNIX Command Line Mistakes Top 10 Open Source Web-Based Project Management Software Top 5 Email Client For Linux, Mac OS X, and Windows Users The Novice Guide To Buying A Linux Laptop { 323 comments read them below or add one } 1 VonSkippy June 27, 2009 at 5:10 am Pretty much common knowledge (or should be) but handy to have listed all in one place. Reply 2 Jim (JR) March 21, 2011 at 3:30 am (quote) Pretty much common knowledge. . . . (/quote) Yea, right!
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 13/69
7/15/13
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 were absolutely 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 this URL around like the Flu as well. . . . :-D @Vivek *GREAT* list for those of us who are mere mortals. . . . Jim (JR) Reply 3 Steve August 3, 2011 at 7:28 am For someone with the common knowledge, why would this be handy? I mean, if you already know/use these, then why would you need a page detailing them? Reply 4 Mike 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 book fraternity. Reply 5 farseas January 8, 2013 at 5:29 pm If you did a lot of sysadmin you would already know the answer to that question. Reply 6 robb June 27, 2009 at 8:29 am yeap most of them are must-have tools. good job of collecting them in a post. Reply 7 Chris June 27, 2009 at 8:37 am Nice list. For systems with just a few nodes I recommend Munin. Its easy to install and configure. My 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 8 ftaurino June 27, 2009 at 9:09 am another useful tool is dstat , which combines vmstat, iostat, ifstat, netstat information and more. but this is a very
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 14/69
7/15/13
useful list with some interesting examples! Reply 9 James June 27, 2009 at 9:23 am pocess or process. haha, i love typos Reply 10 Sohrab Khan March 15, 2011 at 9:09 am Dear i am learning the Linux pl z help me, I you have any useful notes pl z sent it to my E-mail. Thanks Reply 11 vasu March 21, 2011 at 5:43 am In my system booting time it showing error fsck is fails. plz login as root. how to repair or check linux os using fsck command plz help me Reply 12 darkdragn May 31, 2011 at 7:14 am Most of the time that happens if the fsck operation requires human interaction, which the boot fsck doesnt have. Just restart it, if you dont normally get a grub delay the hold down the shift key to get one, if you do then just select recovery mode, or single user mode, it depends on your distro. Its the same thing in all, just tripping single user mode with a kernel arg, but it will let you boot, and run fsck on unmounted partitions. If it is your root partition, you may need to boot from an external medium, unless you have a kick ass initrd, lol. Reply 13 Artur June 27, 2009 at 9:40 am What about Munin ? Lots easier and lighter than Cacti. Reply 14 nig belamp December 7, 2010 at 4:21 pm How can you even compare munin to cactistfu your a tool. Reply 15 PC4N6 April 20, 2011 at 7:53 pm Uhm, geez, this isnt blogspot. Head over there if you have an uncontrollable need to flame people above your level of understanding
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 15/69
7/15/13
Reply 16 RB-211 May 13, 2011 at 12:57 pm Wow, that was a bit harsh. Reply 17 grammer nazi July 24, 2011 at 1:54 pm it is youre you are a tool. Please when randomly slamming someones post to feel better about yourself, at least you proper grammer. Then at least you sound like an intelligent a55h0le. :P Reply 18 Jeff August 9, 2011 at 6:07 pm Sarcastic pros, N00bs, flaming, harsh language, grammar nazis. All we need now 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 encounter it at least once. Like here in this nice list. Thanks for sharing! Reply 19 David August 25, 2011 at 3:05 pm A ban? Censorship! You Nazi! Reply 20 Roberto September 9, 2011 at 6:08 pm Thats grammar, unless youre talking about the actor who plays Frasier on Cheers. :P Reply 21 Fireman October 17, 2011 at 11:39 pm Let me go ahead and re-write your comment, grammer nazi. It seems you have quite a few errors. It is youreyou are a tool. Please, when randomly slamming someones post to feel better about yourself, at least use proper grammar. Then, at least, you sound like an intelligent a55h0le. In the future, I would recommend proof-reading your own posts before you arrogantly correct others. I counted at least six mistakes in your correction. Have a nice day! :) Reply 22 flame on! December 4, 2011 at 8:05 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 16/69
7/15/13
Vivek does a great job, as usual. But, thanks for the laughs, guys! Reply 23 Raj June 27, 2009 at 10:13 am Nice list, worth bookmarking! Reply 24 kaosmonk June 27, 2009 at 10:53 am Once again, great article!! Reply 25 Amr 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 is atop But the tool itself can cause a lot of trouble in heavily loaded servers and it enables process accounting and has a service running all the time To use it efficiently on RHEL , CentOS; 1- install rpmforge repo 2- # yum install atop 3- # killalll atop 4- # chkconfig atop off 5- # 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 solve them that couldnt otherwise be easily detected and would need many different tools Reply 26 Vivek Gite June 27, 2009 at 1:01 pm @Chris / James Thanks for the heads-up! Reply 27 Solaris June 27, 2009 at 1:26 pm Great post, also great reference. Reply 28 quba June 27, 2009 at 1:46 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 17/69
7/15/13
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 to invite you to submit all your future posts to the directory and get a huge base of visitors to your website. Warm Regards Techtrove.info Team http://www.techtrove.info Reply 29 Cristiano June 27, 2009 at 1:57 pm You probably wanna add IFTOP tool, its really simple and light, very useful when u need to have a last moment remote access to a server to see hows the trific going. Reply 30 Peko 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 31 paul tergeist June 27, 2009 at 4:17 pm maybe its a typo too, but the title should be : .. Tools Every SysAdmin MUST Know and still, this is advanced user knowledge, at most. I would not trust a sysadmin that knows so few. And.. Reply 32 harrywwc 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) to give people grief about making a typo?
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 18/69
7/15/13
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 and ideas. *If* you have received those clearly in spite of the typos then the purpose has been fulfilled. /me gets down off his soapbox .h Reply 33 StygianAgenda 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 is coherent enough to get the idea across, then thats all that really matters. Reply 34 Lolcatz April 7, 2011 at 10:54 pm Typos* Reply 35 roflcopter June 24, 2011 at 1:57 pm Typographical error* Reply 36 Pdraig Brady June 27, 2009 at 11:37 pm A script I use often to show the real memory usage of programs on linux, is ps_mem.py I also summarised a few linux monitoring tools here Id also mention the powertop utility Reply 37 Saad June 27, 2009 at 11:54 pm This blog is more impressive and more useful than ever. I need more help regarding proper installation document on php-network weathermap on Cacti as plugins Reply 38 Jack June 28, 2009 at 2:18 am No love for whowatch ? Real time info on whos logged in, how their connected (SSH, TTY, etc) and what process thay have running.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 19/69
7/15/13
http://www.pttk.ae.krakow.pl/~mike/#whowatch Reply 39 StygianAgenda February 28, 2011 at 9:50 pm I just became an instant fan of whowatch. Thanks!!! ;) Reply 40 Ponzu June 28, 2009 at 2:28 am vi tool used to examine and modify almost any configuration file. Reply 41 Manoj April 27, 2011 at 9:28 am It is not a tool. It is an Editor Reply 42 su - July 28, 2011 at 9:30 pm An editor is a tool for text documents. Reply 43 Eric 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 the operating system and its programs internals. Reply 44 Ashok kumar June 28, 2009 at 5:48 am hi gud information , keep it up ash Reply 45 Enzo June 28, 2009 at 6:09 am You missed: iftop & nethogs Reply 46 Adrian Fita June 28, 2009 at 7:09 am Excellent list. Like Amr El-Sharnoby above, I also find atop indispensable and think it must be installed on every system.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 20/69
7/15/13
In addition I would like to add iotop to monitor disk usage per process and jnettop to very easily monitor bandwidth allocation between connections on a Linux system. Reply 47 Knightsream 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 48 praveen k June 28, 2009 at 12:56 pm I would like to add whoami ,who am i, finger, pinky , id commands Reply 49 create own website June 28, 2009 at 3:32 pm i always love linux, great article Reply 50 Mathieu 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 which helps understanding complex performance problems in multithreaded, multiprocess applications involving many userspace-kernel interactions. The project is available at http://www.lttng.org. Recent SuSE distributions, WindRiver, Monta Vista and STLinux offer the tracer as distribution packages. The standard way to use it is to install a patched kernel though. It comes with a trace analyzer, LTTV, which provides nice view of the overall system behavior. Mathieu Reply 51 Andy Leo June 29, 2009 at 1:02 am Very useful, well done. Thanks! Reply 52 Aveek Sen June 29, 2009 at 1:29 am Very informative. Reply 53 The Hulk June 29, 2009 at 2:11 am I love this website.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 21/69
7/15/13
Reply 54 kburger June 29, 2009 at 3:08 am If were talking about a web server, apachetop is a nice tool to see Apaches activity. Reply 55 Ram 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 can create your own web NMS to collect simple information like ping, disk space, services down. Reply 56 Kartik 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 download when I was on limited connection :) Reply 57 Vivek Gite June 29, 2009 at 7:03 am @Everyone Thanks for sharing all your tools with us. Reply 58 feilong 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 all GNU/linux system now. Reply 59 boz June 29, 2009 at 10:21 am mtr Reply 60 Scyldinga June 29, 2009 at 10:21 am Im with @paul tergeist, tools every linux user should know. The ps samples are nice, thanks.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 22/69
7/15/13
No reference to configuration management tools ? cfengine/puppet/chef? Reply 61 Ken 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 are complex, 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 and service layers, works across the network and for clusters and provides both real-time and retrospective 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 RH distributions in the future. As a bonus, PCP also works for monitoring non-Linux platforms (Windows and some of the Unix derivatives). Reply 62 Lance 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 63 bogo 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 64 MEHTA GHANSHYAM June 30, 2009 at 9:28 am REALLY ITS VERY GOOD N USEFULL FOR ALL ADMIN. THANKS ONCE AGAIN Reply 65 fasil June 30, 2009 at 12:06 pm Good postalready bookmarked cheers Reply
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 23/69
7/15/13
66 Aleksey Tsalolikhin June 30, 2009 at 7:30 pm Ill just mention ngrep network grep. Great list, thanks!! Aleksey Reply 67 Abdul Kayyum July 1, 2009 at 3:40 pm Thanks for sharing this information.. Reply 68 Aurelio July 1, 2009 at 8:20 pm feilong, I agree. I use nmon on my linux boxes from years. Its worth a look. Reply 69 komradebob 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 network wireshark tcpdump on steroids. multitail tail multiple files in a single terminal window swatch track your log files and fire off alerts Reply 70 pradeep 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 71 Jay 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 72 Manuel Fraga July 5, 2009 at 4:55 pm Osmius: The Open Source Monitoring Tool is C++ and Java. Monitor everything connected to a network with
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 24/69
7/15/13
incredible performance. Create and integrate Business Services, SLAs and ITIL processes such as availability management and capacity planning. Reply 73 aR July 6, 2009 at 4:17 pm thanks for sharing all the helpful tools. Reply 74 Shailesh 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 monitoring thing, thread lock detection and analysis, heap analysis etc. Reply 75 Bjarne Rasmussen July 7, 2009 at 8:00 pm nmon is a nice tool try google for it, it rocks Reply 76 Balaji July 12, 2009 at 5:50 pm Very much Useful Informations, trafmon is one more useful tool Reply 77 Stefan July 15, 2009 at 8:18 pm And for those which like lightweight and concise graphical metering: xosview +disk -ints -bat Reply 78 Raja July 19, 2009 at 3:03 am Awesome. Especially love the ps tips. Very interesting Reply 79 Rajat July 24, 2009 at 4:04 am Thanks very good info!!! Reply 80 nima0102 July 27, 2009 at 7:39 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 25/69
7/15/13
Its really nice :) Reply 81 David Thomas August 12, 2009 at 9:49 am Excellent list! Reply 82 Vinidog August 29, 2009 at 4:53 am Nice very nice guy!!!! ;-) Reply 83 Bob 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 Project Release : 1.fc10 Build Date: Fri Aug 21 13:22:42 2009 Install Date: Tue Sep 1 18:10:34 2009 Build Host: x86-5.fedora.phx.redhat.com Group : Applications/System Source RPM: collectl-3.3.5-1.fc10.src.rpm Size : 1138212 License: GPLv2+ or Artistic Signature : DSA/SHA1, Mon Aug 31 14:42:40 2009, Key ID bf226fcc4ebfc273 Packager : Fedora Project URL : http://collectl.sourceforge.net Summary : A utility to collect various linux performance data Description : A utility to collect linux performance data Best regards, Bob Reply 84 Tman 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 85 Somnath Pal September 14, 2009 at 9:02 am Hi, Thanks for the nice collection with useful samples. Consider adding tools to monitor SAN storage, multipath etc. also. Best Regards,
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 26/69
7/15/13
Somnath Reply 86 Eddy September 17, 2009 at 8:41 am I did not see ifconfig or iwconfig on the list Reply 87 Kestev September 17, 2009 at 1:57 pm openNMS Reply 88 Sergiy 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 89 Mark Seger September 28, 2009 at 6:02 pm When I wrote collectl my goal was to replace as many utilities as possible for several reasons including: - 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 more I think I succeeded on many fronts, in particular not having to worry if the right data is being collected. Just install rpm and type /etc/init.d/collectl start and youre collecting everything such as slabs and processes every 60 seconds and everything else every 10 seconds AND using <0.1% of the CPU to do so. I personally believe if you're collecting performance counters at a minute or coarser you're not really seeing what your system is doing. As for the API, I worked with some folks at PNNL to monitor their 2300 node cluster, pass the data to ganglia and from there they pass it to their own real-time plotting tool that can display counters for the entire cluster in 3D. They also collectl counters from individual CPUs and pass that data to collectl as well. I put together a very simple mapping of 'standard' utilities like sar to the equivilent collectl commands just to get a feel for how they compare. But also keep in mind there are a lot of things collectl does for which there is no equivalent system command, such as Infiniband or Lustre monitoring. How about buddyinfo? And more http://collectl.sourceforge.net/Matrix.html -mark
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 27/69
7/15/13
Reply 90 PeteG 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 I 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 91 Denilson October 26, 2009 at 11:55 pm Use:
f r e em
To show memory usage in megabytes, which is much more useful. Reply 92 AndrewW November 5, 2009 at 11:48 pm Is it possible to display hard drive temps from hddtemp in KSysGuard? They are available in Ksensors and GKrellM, without any configuration required. However I prefer the interface and flexibility of KSysGuard. Is there a way of configuring it? Andrew Reply 93 Abhijit November 10, 2009 at 1:46 pm Zabbix open source monitoring tool http://www.zabbix.com Reply 94 greg January 6, 2012 at 6:27 pm Zabbix is a great tool that it doesnt require a entirely separate project to make it easy to install and use (like Nagios and FAN).
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 28/69
7/15/13
Ive been following it since its early days and its come a long way. Its sad that lists like this never 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 relegated to foot notes? Reply 95 Kevin November 15, 2009 at 10:55 pm Thanks, good work Reply 96 Stefano November 22, 2009 at 4:09 pm Just thanks! :) Reply 97 GBonev November 25, 2009 at 2:13 pm Good Job on assembling the list If I may suggest trafshow as an alternative to iptraf when you need to see more detailed info on source/destination , proto and ports at once. Reply 98 Gokul December 7, 2009 at 4:43 am How to install the Kickstart method in linux Reply 99 Bilal Ahmad December 8, 2009 at 4:01 pm Very nice collection.. Worth a bookmarkBravo Reply 100 Jalal Hajigholamali December 9, 2009 at 5:07 am Thanks a lot Reply 101 mancai December 11, 2009 at 6:40 pm nice sharing, this is what i want looking for few day ago tq Reply 102 aruinanjan December 14, 2009 at 7:41 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 29/69
7/15/13
This is a nice document for new user, thaks to owner of this document. arun Reply 103 myghty December 16, 2009 at 7:57 am Great post!! Thanks. Reply 104 Rakib Hasan December 16, 2009 at 2:09 pm Very helpful. Thanks a lot! Reply 105 PRR December 22, 2009 at 9:25 pm After so many thanks. Add one more.. thank you. Its very handy. Reply 106 Yusuf 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 page great help for Linux new bees like myself. Reply 107 Yusuf December 25, 2009 at 7:40 pm I meant to thank Vivek Gita once again awesome job Reply 108 Shrik December 31, 2009 at 9:58 am Thank you very much VERY GOOD WEBSITE Reply 109 sekar January 1, 2010 at 4:16 pm it is cool
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 30/69
7/15/13
Reply 110 Giriraaj January 5, 2010 at 7:38 am Thanks for sharing most resourceful information. Reply 111 Bhagyesh 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 112 Ganesan AS January 10, 2010 at 1:53 pm Good info. Thanks for sharing. May GOD bless you to do more. Reply 113 Mark 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 happy with 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 the anomaly already passed and you can no longer see it with a different tool? For example if you see a drop in network performance and wonder if there was a memory or cpu problem, its too late to go back and see what else was going on. I know it bothers me. Again, by running collectl I never have to worry about that because it collects everything (when run as a deamon) or you can just tell it to report lots of things when running interactively and by default is shows cpu, disk and network. If you want to add memory, you can always include it but you will need a wider screen to see the output. As a curiosity for those who run sar I never do what do you use for a monitoring interval? The default is to take 10 minute samples which I find quite worthless remember sar has been around forever dating back to when cpus were much slower and monitoring much more expensive. Id recommend to run sar with a 10 second sampling level like collectl and youll get far more out of it. The number of situations which this would be too much of a load on your system would be extremely rare. Anyone care to comment? -mark Reply 114 miles January 12, 2010 at 4:58 am Amr El-Sharnoby: atop is awesome, thanks for the tip.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 31/69
7/15/13
Reply 115 Serg 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 yourself and do it right! These tools like ps,top and other is commonly used by users who administrated a non-productive or desktop systems or for some users whos temporary came to the system and who needed to get a little bit of information about the box and its pretty good enough for them. ) Reply 116 met00 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 see CPU slow to a crawl. Why?, you will ask. ps -ef and top will show that mysql is eating up resources 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 for fixing their code). Reply 117 Mark Seger January 12, 2010 at 6:36 pm re mysql its not necessarily that straight forward. I was working with someone who had a system with mysql that was crawling. it was taking multiple seconds for vi to echo a single character! we ran collectl on it and could see low cpu, low network and low disk i/o. Lots of available 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! in other words when you requested an I/O operation not matter how fast the disk is, it took over 2 second 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. you need to see multiple things AND see them at the same time. -mark Reply 118 mtituh 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 do I find out it is spamming? and how
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 32/69
7/15/13
do I stop it. Please help. Reply 119 Vivek Gite January 19, 2010 at 3:01 pm Only allow authenticated email users to send an email. There are other things too such as anti-spam, ssl keys, domain keys and much more. Reply 120 kirankumarl 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 121 Visigoth February 21, 2010 at 3:11 pm I like the saidar tool, and iptstate. Check them out. Reply 122 JK 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 interface is down..I need it for clustering.. Reply 123 AD February 25, 2010 at 6:23 am Thank you very much,,,. This information is very useful for me to monitoring my server Reply 124 Tarek February 26, 2010 at 7:18 pm Actually where I work we have and isa server acting as a proxy/firewall, which prevent me from monitoring internet traffic consumption. so i installed debian as a network bridge between the isa server and the lan, and equipped it with various monitoring tools (bandwidthd, ntop, vnstat, iftop, iptraf, darkstat). Reply 125 deepu March 2, 2010 at 7:31 am it is a very good and resourceful infomation. Reply 126 Solo March 7, 2010 at 11:40 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 33/69
7/15/13
OMG ! Amazing Super Ultra nice info . THX pinguins ! Reply 127 vijay March 12, 2010 at 7:30 am its so usefulllll thanks a lot Reply 128 Venu Yadav March 23, 2010 at 5:05 am Good information. Thanks Reply 129 Prashant Redkar March 25, 2010 at 7:10 am Thank you it is very helpful Reply 130 Saorabh Kumar March 25, 2010 at 12:12 pm Good knowledge base, great post Reply 131 Spyros March 30, 2010 at 2:52 am Very interesting read that really includes the tools that every admin should know about. Reply 132 amitabh mishra March 30, 2010 at 9:47 am Hi Its 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 133 Chinmaya April 2, 2010 at 4:48 am Excellent one !!! Reply 134 saurav April 3, 2010 at 6:43 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 34/69
7/15/13
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. Syntax ulimit [-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, on systems that allow such control. Reply 135 Mustafa 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 136 arief April 21, 2010 at 3:23 pm Great tips.. Thanks Reply 137 Eduardo Cereto April 25, 2010 at 5:20 am I think you missed my top 2 monitoring tools:
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 35/69
7/15/13
monit: http://mmonit.com/monit/ mrtg : http://oss.oetiker.ch/mrtg/ Reply 138 Lava Kafle April 29, 2010 at 9:05 am Perfect examples : thanks Reply 139 wolfc01 May 2, 2010 at 3:32 pm See also the Linux Process Explorer (in development) meant to be an equivalent the windows process explorer of Mark Russinovich. See http://sourceforge.net/projects/procexp Reply 140 ohwell 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 141 Anonymous May 7, 2010 at 7:17 pm but how to kill process ID in my server.. Reply 142 FHJ May 11, 2010 at 2:32 pm I assume you can find the process ID for example if your process is called foo.bar, you could do ps -ef | grep foo.bar this will give the PID (process ID) as well as other information. Then do kill -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 an admin 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 type k and you will be prompted for the PID (the screen will freeze so its easy to read). You type the number and enter, will have to confirm (y), and the process is killed with -15. Which is less severe than a kill -9 which really kills just about any process (without allowing it a graceful exit of any kind). Use with care! Reply
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 36/69
7/15/13
143 someone 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 144 kalyan 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 to check 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 hour. Can u send me how i can do with details. Thanks, kalyan de. Chennai, india +91 9962300520 Reply 145 Samuel Egwoyi May 14, 2010 at 9:29 am how can i practice Mysql using linux Reply 146 Basil May 21, 2010 at 8:49 pm This article simply rocks Reply 147 Fenster June 1, 2010 at 10:24 am hey, thanks, just installed htop and iptraf, very nice tools!! Reply 148 zim 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 the occupation of the most critical hardware resources (from a performance point of view) on system level, i.e. cpu, memory, disk and network.It also shows which processes are responsible for the indicated load with respect to cpu- and memory load on process level; disk- and network load is only shown per process if a kernel patch has been installed. Reply
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 37/69
7/15/13
149 Boggles September 21, 2011 at 1:52 am Have to agree with zim. Atop is a great tool along with its report generating sister application atopsar. This is a must-have on any server I manage. Reply 150 Amit June 2, 2010 at 1:26 pm Hello, How to install a Suphp on cpanel. Reply 151 Walker June 4, 2010 at 4:19 am Thanks :) THIS helped me a lot. Reply 152 m6mb3rtx June 4, 2010 at 4:34 pm Great article, very userfull tools! Reply 153 dudhead June 5, 2010 at 2:38 pm Great list! Missed df command in the list. Reply 154 giftzy June 5, 2010 at 6:26 pm I become to love linux after 10 years of hp-ux Reply 155 Rafael 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 and CLI 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 156 georges June 9, 2010 at 3:39 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 38/69
7/15/13
fuser command is missing from this list. it tells you which command is using a file at the moment. Since 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/sdb1 etc Reply 157 Naga June 13, 2010 at 7:19 am Is there any good tools for analyzing Apache/Tomcat instances. Reply 158 Jan '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 159 Abdullah 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 bonus means extra goodies :) Reply 160 dust June 23, 2010 at 8:19 am What is in Linux that is equal to cfgadm in Solaris? Reply 161 Jerome Christopher July 6, 2010 at 7:55 pm Thanks for the excellent list of commands, links and info. Jerome. Reply 162 sriharikanth July 12, 2010 at 1:49 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 39/69
7/15/13
Thanks, very useful information provided. Reply 163 Jyoti July 13, 2010 at 9:57 am very useful Reply 164 t.k. July 16, 2010 at 10:02 pm Good compilation of commands. Thanks! Reply 165 Thomas 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 166 Zanil 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 good resource. I am going to make a list from these and have it within my website which i use for reference. Thanks for the examples. Reply 167 brownman August 20, 2010 at 8:57 am web-based gui : webmin wins them all Reply 168 chandra August 28, 2010 at 7:39 am Hi ite really very very nice which is helful to fresher. Thanks a lot.. Regards Amuri Chandra Reply 169 George August 30, 2010 at 3:53 pm Great resourceReally helpful for a novice as well for an expert
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 40/69
7/15/13
Reply 170 SHREESAI LUG September 4, 2010 at 5:36 am hiiiiiiiiiiiii we r SHREESAI LINUX USER GROUP FRM MUMBAI THIS COMMANDS R REALLY NICE THANKS VIVEK SIR PLZ REPLY US ON MAIL Reply 171 Tunitorios September 12, 2010 at 2:31 am Thanks for this great tips. My question is how to show the username(s) wich are connected to the server and they are using ftp protocole ? Reply 172 Marcelo Cosentino April 7, 2011 at 12:38 pm Try ftptop . I think you can find it in centos , red hat , slack, debian etc Ftptop works with a lot of ftp servers daemons. Reply 173 mark seger September 12, 2010 at 11:48 am I dont believe that ftp usage by user is recorded anywhere, so youd have to get inventive. The way I would do it is use collectl to show both processes sorted by I/O and ftp stats. Then is simply becomes a matter of see which processes are contributing to the I/O and who their owners are. -mark Reply 174 jan February 24, 2011 at 7:42 am Usually ftp access are recorded in /var/log/messages file (at least pure-ftpd) Reply 175 sriram September 12, 2010 at 12:53 pm Dumpcap is another command which is useful for capturing packets. Very useful tool Reply 176 Riadh Rezig September 12, 2010 at 1:12 pm There is another tools Incron :
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 41/69
7/15/13
This program is an inotify cron system. It consists of a daemon and a table manipulator. You can use it a similar way as the regular cron. The difference is that the inotify cron handles filesystem events rather than time periods. Reply 177 eaman September 14, 2010 at 6:03 am discus is a nice / light tool to have an idea of file system usage. Reply 178 Amzath September 14, 2010 at 9:43 pm Handy list. Also, these might be handy as well lsdev list of installed devices lsmod list of installed modules ldd to see dependencies of a executable file watch automated refresh of any code every specified seconds, etc stat details of any file getconf to get HP server details runlevel redhat run level Search in web for more detailed info. Good luck Reply 179 Rafiq September 20, 2010 at 11:45 am Hi guys, I m totally new to the linux & this web aswell. Would some1 help me here regarding, mirrordir utility? what would b the full syntex if i only want to copy/mirror changed/edited files from source to destination. since last mirror. And how to define specific time to run this command, i mean schedule. Thanks in advance. Reply 180 Jalal Hajigholamali September 20, 2010 at 11:54 am Hi, use rsync command.. Reply 181 leebert September 28, 2010 at 8:58 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 42/69
7/15/13
Dont forget systemtap (stap) which provides the equivalent of Solaris invaluable dtrace scripting utility. Theres a dtrace for Linux project but I havent been able to get it to compile on my OpenSuSE 11.x. On SuSE Linux is getdelays , enabled via the grub kernel command line delayacct switch (starting with SuSE 10 Enterprise). Itll reveal the amount of wait a given process spends waiting for CPU, disk (I/O) or memory (swap), great for isolating lag in the system. There are many many other monitoring tools (dont know if these were mentioned before) atopsar (atop-related), the sysstat/sar-related sa* series (sadc, sadf, sa1), isag, saidar, blktrace (blktrace-blkiomon / blktrace-blkparse), iotop, ftop, htop, nigels monitor (nmon), famd/fileschanged, acctail, sysctl, dstat, iftop, btrace, ftop, iostat, iptraf, jnettop, collectl, nagios, the RRD-related tools, the sys-fs tools, big sister/brother you could fill a book with them all. Reply 182 Lonu Feruz September 29, 2010 at 8:37 am please help where I can insert the command of route add of a node. whenever the server is up i have to re do the command. I need to know where i can put this command permanently Reply 183 nagaraju October 1, 2010 at 4:47 am IT IS SUPERB LIST Reply 184 MAHENDRA SINGH October 2, 2010 at 12:09 pm thanx your collection is fantastic. now i want to know that, how linux works Reply 185 Rino Rondan October 7, 2010 at 7:37 pm Thanx !!! A really completed guide ! Reply 186 games October 8, 2010 at 1:43 am thank you so much its very usefull for me Reply 187 sameer October 15, 2010 at 6:14 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 43/69
7/15/13
ThanX..!! can u send basic linux commands with ex Thanks again Reply 188 Gunjan October 17, 2010 at 3:42 pm Nice post, its really useful and helping beginners to resolve server issue Reply 189 Moe October 19, 2010 at 9:13 am another good tool for monitoring traffic and network usage: vnstat this also makes statistics for bandwidth usage over time which can be display for daily, weekly and monthly usage. very useful if you dont want to install a web-based tool for this. Reply 190 Stan April 21, 2011 at 12:35 pm Nice history stats. Reply 191 vishal sapkal October 19, 2010 at 2:54 pm very nice very importan tool of monetering thanks for . Reply 192 david a. lawson October 22, 2010 at 12:32 am this rocks. it could not have come at a better time as i am into my first networking course. thanks so much i found this through stumbleupon linux/unix Reply 193 ram November 12, 2010 at 8:55 am well,there are so good,i love them! Reply 194 Rajkapoor M November 30, 2010 at 12:52 pm Hi, Its awasome..thanks to builder..
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 44/69
7/15/13
Thanks&Regards, Rajkapoor M Reply 195 jalexandre December 2, 2010 at 12:41 am Perl?! Reply 196 jalexandre December 2, 2010 at 12:44 am And a good Sysadmin always can count with you prefered script language. I using perl for monitoring a lot of basic infra structure services, like DHCP, DNS, Ldap, and Zabbix for generate alarms and very nice graphs. Reply 197 Sarath Babu M December 11, 2010 at 9:07 am Hi, One of My Professor is introduce about the Ubantu This os is I like very much this flyover. Before I am Using XP but now I download all app. and I all applications. i always love linux, great article. sarath Reply 198 Laxman December 23, 2010 at 9:37 am Very interesting I will try I hope itll help for me Reply 199 sah December 23, 2010 at 10:19 pm thanks alot its a great help~! Reply 200 KK December 25, 2010 at 4:19 am Sumo is the best, the best that ever was and the best that ever will be. Way to go Sumo Reply 201 Deepak January 6, 2011 at 1:18 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 45/69
7/15/13
Thanks . This is really helpful. Reply 202 mark January 7, 2011 at 7:05 am How would I get a list of slow running websites on my server via ssh? Reply 203 nigratruo January 13, 2011 at 6:41 pm Great list, but why is TOP still used? It is a highly limited utility. HTOP can do all top can, plus a ton of stuff more: 1. use colors for better readabilty. In the 21st century, all computers have a super hightech thing on their monitor called COLORS (sarcasm off) 2. allow process termination and sending of signals (even multi select several processes) 3. show cpu / ram usage with visual bars instead of numbers 4. show ALL processes: top cannot do that, it just shows what is on the screen. It is the main limiting factor that made me chuck it to the curb. 5. Use your cursor keys to explore what cannot be shown on the screen, for example full CLI parameters from commands. 6. Active development. There are new features. Top is dead and there does not seem to have been any active development for 10 years (and that is how the tool looks) Reply 204 coldslushy February 7, 2011 at 12:55 pm Colors? Too resource intensive Reply 205 josh July 19, 2011 at 3:38 pm Colors do not always contrast well with the background. Reply 206 abdul hameed February 2, 2011 at 6:52 am Dear All, My Oracle Enterprice Linux getting very slow, when my local R12.1 start. by using top command i found lot of Database users are running. normally in other R12 instance only few Database users are available. can any one tell me what might be the problem,, is it OS level issue or my Application Issue.. where i have to start the tuning . Kinldy advice me.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 46/69
7/15/13
Thanks in Advance, Abdul Hameed Reply 207 Vimal February 9, 2011 at 8:02 pm Shit, this looks great! Thanks very much. Reply 208 Michael February 10, 2011 at 10:30 am My Oracle Enterprice Linux getting very slow, when my local R12.1 start. Arghh! Linux is turning into Windows! These are super machines, people! Remember when 4.2BSD came out, and people were saying Unix is becoming VMS? With 4.1 BSD, we had been flying on one MIP machines (think of a one Mhz clock rate three orders of magnitude slower than todays machines, not Ghz Mhz!). So much was added so quickly into 4.2 (kernels were no longer a few hundred kilobytes at most) that performance took a nose dive. But then 4.3 BSD fixed things for a while (with lots of optimizations such as unrolling the the instructions in a bcopy loop till they just just filled an instruction cache line). It didnt hurt either that memory was getting cheaper, and we could afford to upgrade our 30 user timesharing systems from four Megabytes to eight Megabytes, or even more! It takes an awful amount of software bloat (and blind ignorance of the principles we all learned in our combinatorial algorithms classes) to be able to make machines that are over a thousand times faster than the Vaxen we cut our teeth on be slow. Todays Linux systems hardly feel much faster on multicore x86 machines than they did on personal MicroVaxes or the somewhat faster Motorola 68020 based workstations (except for compilations, which now really scream by compiling a quarter meg kernel used to take hours, whereas now it feels like barely seconds pass when compiling kernels that, even compressed, are many times larger. But then, compiler writers for the most part (25 years ago, Green Hills employees seemed a glaring exception and I dont know about Microsoft) have to prove they have learned good programming practices before their skills are considered acceptable). Other software, like the X server, still feels about the same as it did in the eighties, despite todays machines being so much faster. And forget about Windows! Reply 209 benjamin ngobi February 15, 2011 at 3:44 pm wow these are great tools one should know.thank you so much coz it just makes me better every day Reply 210 Mousin February 16, 2011 at 9:52 am Awesome Thanks a ton worth a bookmark.. Reply 211 krishna February 23, 2011 at 9:17 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 47/69
7/15/13
Friends I have typed the corrected question here below. Please let me know if you can help: Part1 : Find out the system resources CPU Usage, Memory Usage, & How many process are running currently in exact numbers?, what are the process? Part2: Assume a process CACHE is running on the same system How many files are opened by CACHE out of the total numbers found above?? what are the files used by CACHE? Whats the virtual memory used by the process. What is the current run level of the process. Part3: How many users or terminals are accessing the process CACHE? Part4: The script should run every 15secs with the time of execution & date of script and the output should be given to a file richprocess in the same order as that of the question. Note: NO EXTERNAL TOOLS are allowed to be used with linux. Only shell script should be written for the same! Reply 212 krishna March 4, 2011 at 1:08 pm I got the answer for it i used $vi file1 #!/bin/bash while [ true ] do echo $(date)- >> richprocess echo 1. virtual mem of the system >> richprocess vmstat >> richprocess echo 2. Free mem available in system >> richprocess free -m >> richprocess echo 3. Mem used by cache & to print files used by CACHE pmap -x `ps -A | pgrep CACHE` >> richprocess sleep 15 done :wq! $bash file1 & $cat richprocess # to see the output.. I had a worse comment from someone to try a nonexistent website.. saying www.Iwantothersdomyhomework.com please dont post things like this. I am asking help only because I want to learn. Thanks for support from this site.. Reply 213 vasu April 16, 2011 at 2:07 am 1) lshw 3) w user Reply 214 ysha March 4, 2011 at 5:06 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 48/69
7/15/13
thanks.. i love it Reply 215 Rohit Shrivastava March 10, 2011 at 5:01 am Very good for beginners as well as professional. Thank you very much Sir for sharing your knowledge. I really appreciate. Reply 216 ctian March 11, 2011 at 8:41 am nice one. it really works for a newby like me Reply 217 Michael March 17, 2011 at 7:01 am This is really helpful. I know these tools, but did not use them well. Many thanks for your tips. Reply 218 PRADEEP March 28, 2011 at 4:33 am I ve updated kernelnow i need to update it without restart the server. Plz help. Reply 219 John April 5, 2011 at 9:29 pm cant see nload on the list , easy showing of whats going on with your network.. nload eth0 should show rest. Reply 220 Parthyz April 12, 2011 at 6:30 am Great Work man.. thanks a lot.. Reply 221 Matias April 12, 2011 at 12:46 pm Nice list. I would add LogWatch, to send daily reports to your mail. Reply 222 sasidaran April 15, 2011 at 5:16 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
49/69
7/15/13
Good collection of commands. Reply 223 TiTiMan April 15, 2011 at 3:29 pm Thanks for sharing a good list of useful commands. I found a typo where there should not be a dash in front of the options for
p sa u x f
in the command for Find Out The Top 10 Memory Consuming Process and Find Out top 10 CPU Consuming Process Reply 224 vasu April 16, 2011 at 2:07 am top Reply 225 Me June 7, 2013 at 4:33 pm Thanks for the typo correction; command works for me now. Reply 226 Sachin Jain April 18, 2011 at 2:16 pm Thanks for sharing such a use full commands, friends i want to watch terminal session, which is logged in vai ssh could you please help me?? Reply 227 chandu May 6, 2011 at 3:06 am Plz help me how write the firewall rules in linux. Reply 228 Jalal Hajigholamali May 6, 2011 at 12:40 pm Hi, see manual page of iptables and get examples from google Reply
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 50/69
7/15/13
229 sudipta June 3, 2011 at 4:58 am GR8 effort Worth 2 b appreciated Reply 230 Liunx June 10, 2011 at 7:56 am Thats great! thanks very much. Reply 231 foster June 16, 2011 at 11:13 pm Nagios fork Icinga should be on peoples radar as well. https://www.icinga.org/ Reply 232 Jalaluddin June 24, 2011 at 6:55 am Hi I want to learn linux firewall and file server from base. Can u sujjest me, in which link i can get all those useful material. Thank You Reply 233 Adil Husain June 30, 2011 at 10:43 am Nice list ill bookmark it for quick ref. Reply 234 Bhanu Kashyap July 9, 2011 at 5:26 pm Its Very Useful For Us. Thanks.!! Reply 235 Raivis July 12, 2011 at 5:48 am systemgraph http://www.decagon.de/sw/systemgraph/ Nice graphical system statistics RRDTool frontend which produces hourly, daily, weekly, monthly graphs of various system data. At the moment it provides graphs for memory usage, cpu info, cpu frequency, disk iostat, number of users, number of processes, number of open files, number of tcp connections, system load, network traffic, protocl statistic, harddisk/partition usage and temperatures, privoxy proxy statistic, ntpdrift, fan status and system temperatures.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 51/69
7/15/13
It is simple and it doesnt require snmp. It consists only of some shell and perl scripts. Reply 236 Aviv.A July 14, 2011 at 10:30 pm You forgot the command htop :D Reply 237 Laurens July 15, 2011 at 10:16 pm An other interesting program wich hasnt been mentioned yet is Midnight Commander (mc). At least its my favourite file manager in a console environment. Thanks all for your contributions. There are a lot of interesting programs wich I already use, or certainly will be using in the future. Reply 238 Sravi Raj July 19, 2011 at 5:03 am Nice List Reply 239 andy July 21, 2011 at 8:48 am NO PRINT FUNKTION ? BIG FAIL IN YOUR FACEdamn why is every hole blogging but a printfunktion is missing ? i dont need the scrappie comments in my prints.. Reply 240 Tommie September 11, 2011 at 8:27 am Nice Roundup. However, I love you not having a print function. I am able to print what I need without it ;) htop missing? :) Reply 241 Vivek Gite September 11, 2011 at 12:21 pm To see a print version just append /print to the end of the url. Reply 242 GEORGE FAREED July 25, 2011 at 8:43 pm thaaaaaaaaaaaanks alot :) its useful informations :)
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 52/69
7/15/13
Reply 243 apparao August 3, 2011 at 11:36 am Thanks Reply 244 kiran.somidi August 3, 2011 at 12:47 pm traceroute Reply 245 kiran.somidi August 3, 2011 at 12:49 pm tarceroute coomand is not their Reply 246 Lalit Sharma August 7, 2011 at 2:13 pm how can i copy all this? Reply 247 amit lamba August 29, 2011 at 8:16 am m using ubuntu 9.10 on system but problem is regarding internet . unable to connect with internet waiting for useful reply Reply 248 Daniel Brasil August 30, 2011 at 10:03 pm Very good post. Ive some problems trying to figure out historical data about disk usage. I still dont know a good tool for that. sar is wonderful but its unable to record disk usage per process. You know any tool for that? Reply 249 greg January 6, 2012 at 6:30 pm most monitoring tools like nagios, cacti, and zabbix give you the ability to trend your disk usage, and even alert at certain capacity points. Reply 250 jock September 6, 2011 at 2:45 am Its great, but im having a little inconvenient, i want to look the detail for a process, exactly from apache, but the result is always the seem, any one have a trick for see them? explaining better, i have a process from apache but not die, it keep for a long time using the resource and overloading the machine, when i see with a ps auxf the result is
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 53/69
7/15/13
apache 32327 85.7 0.5 261164 39036 ? R 22:49 0:49 \_ /usr/sbin/httpd I want see wath is doing this process 32327 exactly, any idea? Reply 251 greg January 6, 2012 at 7:13 pm you can try strace as mentioned in the tools and you can also look at the files in /proc/PID/ (so /proc/32327 for you) Reply 252 eeb2 September 7, 2011 at 9:25 pm Thanks for posting this list. Keep up the good posts! Reply 253 khupcom September 12, 2011 at 8:30 am Im using monitorix and vnstat to monitor my servers Reply 254 Gaurav kuamr jha October 2, 2011 at 7:42 am Great it was bagger description for me. This is article has solved my lot of problems thanks for this gkjha009 Reply 255 [email protected] October 8, 2011 at 10:14 am thanks :) Reply 256 Peter Green October 15, 2011 at 3:29 pm Great article, there are many great suggestions! I want to contribute with these two: GoAccess real-time Apache/nginx log analyzer and viewer, runs in a terminal in *nix systems. CCZE modular log colorizer Reply 257 cirrus October 21, 2011 at 10:44 am great post cuz , very informative for recent nix converts PCLinuxOS#1
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 54/69
7/15/13
Reply 258 David Bothwell November 3, 2011 at 4:27 pm I have just recently released my first open source project the Remote Linux Monitor, which you can find at here . I modeled it on Gnomes System Monitor and I would love get your feedback on it. Thanks. Reply 259 Ferenc Varga November 4, 2011 at 10:06 pm for http traffic, i suggest to use justniffer. Reply 260 bishow November 8, 2011 at 2:22 pm yeah really nice post !!! Its really help me but how about the centos linux command can anyone tell me about that, all the linux command will be same for the all versions of linux (Is it wright guys) . or please email me if you know some code of contos linux cause i using this lunux. regards, Reply 261 Unni November 11, 2011 at 1:39 am Well written , keep up the good work .. . Thanks, Unni Reply 262 Gmaster December 2, 2011 at 12:30 pm Great job in compiling all the utils in one nice post. Thank you very much! Reply 263 Denis December 9, 2011 at 10:30 pm Great stuff, nice to have it all in one place. :-) Reply 264 manna December 12, 2011 at 5:09 am Am working in small company having around 45 employees,we r using linux server in our office, i need to checkout or monitor the users website, which they are accessing in office hours,Please any one suggest me with
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 55/69
7/15/13
correct command. Thanks Reply 265 Sibbala Govardhan Raju December 13, 2011 at 10:08 am Dear Sir, My Name is Govardhan Raju from TIRUPATI, ANDHRA PRADESH. working as a linux (RHEL4) operator. I want to take data backup daily. Is there any posibility to take todays date files only ? Please suggest me the commands which are useful to take backup daily with syntax. Thanking U Sir, S Govardhan Raju Reply 266 Kash January 15, 2012 at 2:41 pm This is monitoring article not backup article??? Search your question somewhere else. Reply 267 bhaskar February 6, 2012 at 7:57 pm Hi, Im using windows 7 version. how to access the UNIX commands in windows plat form without installing any set up file or UNIX Operating System. Could you please suggest any to me. Thanks, Reply 268 Steve February 13, 2012 at 4:11 pm I feel an important one is psacct.. Should have at least made the list. Very useful to track what commands/users are eating cpu time. Reply 269 AL February 24, 2012 at 12:55 pm There is another tool we use for system monitoring, its from IBM called NMON pretty good tool, I recommend it. AL Reply 270 sudhir menon March 21, 2012 at 7:10 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 56/69
7/15/13
nfsiostat is a great small command on linux Reply 271 nishhhh March 22, 2012 at 2:15 pm nice collection..referencing related articles are like feathers in the cap !! appreciate it..thanks! Reply 272 naveen March 23, 2012 at 8:54 am Dear all , I have deployed some 40 routers in the cafes,60 more in have to deploy in diff region/areas.I want to monitor the Wifi routers sitting in one place. I have connected Debian installed thin client to each router to provide internet to the customers @ cafe,free browsing for 30 mins. Can some one suggest me a tool for monitoring the Routers & my debian machine performance. Regards Naveen C Reply 273 naveen March 23, 2012 at 8:58 am The router model is DAP-1155 Wireless N 150 i have purchased some 100 and i am planning to buy 300 more. pls do help me Thanks in advance Naveen C Reply 274 LTJX August 2, 2012 at 3:08 pm Such routers often include a management/monitoring package, which may be more immediately useful than using Debian-based commands, and the router software may allow for viewing the multiple routers you describe from a single screen. I know that the latest NETGEAR wireless routers include a software package like this. But, why just 30 minutes per customer? Isnt that the wrong message to give the cafe customers?: Like, hurry up and drink your coffee/tea, and then get out!! Maybe you could try a one hour limit and see what happens. Linux is much more efficient than many people realize, even under heavy usage.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 57/69
7/15/13
I think that Starbucks and similar shops in North America tend to offer unlimited Internet access with any purchase and most dont really seem to enforce the purchase requirement, unless a freeloader is annoying or being offensive to other customers, etc. Reply 275 Stan August 6, 2012 at 6:25 am Have you tried MRTG to monitor your routers. More for just network http://oss.oetiker.ch/mrtg/ Reply 276 Eric April 6, 2012 at 1:18 pm Great post! Some of these I never thought to use that way. When using free I will often use the -m option to display in Mb. (Example: free -m) Reply 277 sudarshan April 11, 2012 at 6:17 am Hi Team, I required to find the hardware information in linux, can you please advise. I recieved alert as below: Tivoli MINOR for : Accelerator board battery failed thanks sudarshan Reply 278 Prasad August 17, 2012 at 6:23 pm Just do # uname for specific details do: # uname help Reply 279 Navneet April 21, 2012 at 10:34 am Thanks Vivek, For Posting this. It is very useful for Beginners as well.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 58/69
7/15/13
Keep the Great work going on.. Reply 280 Shreyansh Modi May 2, 2012 at 6:04 pm Great Share :) After using a few of these commands I am feeling like I am an Linux Operations Engineer ;) Reply 281 Ravi May 9, 2012 at 6:17 pm Great and useful information. Thanks Reply 282 Michael May 10, 2012 at 10:10 pm Your forgot monit (I dont care why it failed at 3a.m. just fix it and tell me!) and collectd (just record how things are going over the months, without freaky sar..) Michael ;) Reply 283 Omar Osorio June 5, 2012 at 8:27 pm lshw -short Reply 284 vvvv June 12, 2012 at 3:50 am I Liked it too thank you) Reply 285 oran00b June 16, 2012 at 7:05 pm excellent and concise info. For people who are not dedicated Linux Admin but need some tools to work with Linux, this is excellent! Reply 286 darkfader July 3, 2012 at 5:14 pm Learn to use sar well and youll never need to use iostat, vmstat, etc. Reply 287 William G. Loughran July 11, 2012 at 1:32 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 59/69
7/15/13
Excellent cant thank you enough. Not sure what CIFS tools we were using not SAMBA Reply 288 Vichuz July 12, 2012 at 2:17 am Keep up the nice work. Reply 289 seema July 17, 2012 at 8:54 am pl help me as i am new in linux i am copying a folder in /filesystem/usr/local . form pen derive , but it is giving error msg no permission pl help Reply 290 Sandeep July 17, 2012 at 12:19 pm Its really useful .nice one..I liked it!!! Reply 291 Praveen Reddy July 19, 2012 at 5:29 am Hi, How to take data back in Linux Enterprise 6 daily basis and how to speed up (refresh) in linux. is there any specific commands for this??? help me out of this Reply 292 Chetan July 25, 2012 at 7:40 am One of my fav network traffic monitoring tool is iftop Reply 293 Don Saulo August 2, 2012 at 10:54 am Good job, guys! Thanks for share. Reply 294 netman August 26, 2012 at 3:49 am
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 60/69
7/15/13
thanks for your good articles Reply 295 balwant September 1, 2012 at 5:46 pm very very nice.. Reply 296 chinta October 1, 2012 at 3:01 pm very usefull Reply 297 Carlos A. Junior October 1, 2012 at 4:35 pm +1 Great postnow im think more prepared to find an strange memory usage on apache server . Great post. Reply 298 Anup October 5, 2012 at 11:57 am Nice job Reply 299 Richard Cain October 11, 2012 at 7:09 am My new favourite tool is systemd.analyze. It is great for pin-pointing bottle-necks in startup. It can produce a very nice plot of every process, allowing you instantly see whats holding things up. Reply 300 Girijesh October 16, 2012 at 3:54 am very informative!!! Thanks a ton.. :) Reply 301 Shekhar October 22, 2012 at 9:30 am What is tool to get All activity info. Like any user create/delete/move file or directory information??? Reply
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
61/69
7/15/13
302 Rahul November 8, 2012 at 9:26 am +100 Reply 303 Hannes Dorn November 8, 2012 at 10:46 pm Instead of Cacti I prefer munin. Installation and configuration is easy and on monitored systems, only a small client is needed. Reply 304 xuedi November 11, 2012 at 5:50 pm I would replace top with htop, it extents top with a much nicer ncurses and lots of functions Reply 305 Bill November 14, 2012 at 3:02 pm Great list, Shekhar For File Activity etc, I use vigil and vlog client to create the logs Reply 306 Vishal November 15, 2012 at 6:26 am try one for tool to report network interfaces bandwith just like vmstat/iostat # ifstat Reply 307 Vishnuprasad November 25, 2012 at 3:41 pm And I am using watch utility. This is basically not a system monitoring tool. But in some case we need to watch the out put of a command continuously. That time this is not easy to enter the same command all the time and watch the output. In that case you can use this utility. You can set the interval of each refresh. Eg: watch -n 10 df -Th (this is just an example) This command will give you the output of df -Th in each 10 seconds. Then you can easily measure the hard disk usage. Cheers! Reply 308 Vishnuprasad November 25, 2012 at 3:43 pm A better Server Management Software http://www.webmin.com/
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 62/69
7/15/13
Cheers! Reply 309 Konstantin November 28, 2012 at 3:02 am Id also add monit utility, to monitor assorted services and perform actions 9such as restarting the stopped service). Reply 310 jlarchev December 15, 2012 at 7:21 am Hi all, A nice monitoring tool were using for years : http://sysusage.darold.net Reply 311 Uday Vallamsetty December 31, 2012 at 6:03 pm All of these are must have tools for doing any analysis/monitoring of activity on Linux boxes. Thanks for collecting everything into a concise space. Reply 312 peter January 11, 2013 at 5:04 am very useful article..im a reader of both nixcraft and cyberciti.. well done Reply 313 veera February 7, 2013 at 7:00 am Very nice Thanks for the effort.. Reply 314 sinlir February 8, 2013 at 10:29 am Very nice! Reply 315 wanie February 12, 2013 at 10:38 am Hi.. i would know about your opinioni must do the project about monitoring devices availability what the software in linux about this and i must editing the coding software. Reply 316 Ankit Srivastava February 26, 2013 at 10:01 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 63/69
7/15/13
You guys are awesome. I love this website :) Reply 317 Mayur April 19, 2013 at 11:14 am Please can somebody help me to with Autosys/ Control M sheduling tool. I m new to both these tools and never used them. want some tutorials to learn any of these tools for beginners . also, which unix commands are important for production support guys apart from normal commands like Grep,find,less,more etc. any help in form of documents / tutorials is appreciated thanks in advance appreciate ur reply on my maild id Reply 318 chandan June 1, 2013 at 6:56 am It helped me a lot. Thanks a lot and even more. Reply 319 Shreehari June 4, 2013 at 12:31 pm Its really awesome!! Reply 320 mohsin June 6, 2013 at 6:46 pm TQ, Very helpful tips Just my $0.02; ETHERAPE for linux is a free graphical tool http://etherape.sourceforge.net/ which is really helpful to help monitor network traffic in a network segment. Many instances i managed to pinpoint which PC/server is heavily broadcasting packets that caused network slowdown.. tq Reply 321 nickchacha June 8, 2013 at 11:38 am This are very helpful tips. Thank you chief. Am a newbie in SysAdmin and i this commands will come in hardy. Reply 322 Kristoffer June 14, 2013 at 3:43 pm
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 64/69
7/15/13
Dont forget cowsay! Reply 323 Thusitha Nuwan July 1, 2013 at 4:28 am Thanks very much for this list. It was very useful. Reply Leave a Comment Name * E-mail * Website
You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title=""> Notify me of followup comments via e-mail. Security Question: What is 5 + 8 ? Solve the simple math so we know that you are a human and not a bot.
Submit
Tagged as: bandwidth monitoring tool linux, cpu monitoring linux, disk monitoring linux, htop command, load monitoring linux, monitoring linux servers, nagios monitoring linux, netstat command, network monitoring linux, pgrep command, process monitoring linux, ps command, ss command, top command Previous post: My 10 UNIX Command Line Mistakes Next post: Download Of the Day: Firefox 3.5 For Windows, Linux, Mac OS X
7/15/13
Sign Up
nixCraft
Like 35,519 people like nixCraft.
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
66/69
7/15/13
Related Posts
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
67/69
7/15/13
Quick Tip: Find Hidden Processes and Ports [ Linux / Unix / Windows ]
Linux / UNIX: Scanning network for open ports with nmap command
Get Detailed Information About Particular IP address Connections Using netstat Command
Linux List The Open Ports And The Process That Owns Them
www.cyberciti.biz/tips/top-linux-monitoring-tools.html 68/69
7/15/13
2004-2013 nixCraft. All rights reserved. Cannot be reproduced without written permission. Privacy Policy | Terms of Service | Questions or Comments | Copyright Info | Sitemap
www.cyberciti.biz/tips/top-linux-monitoring-tools.html
69/69