20 Linux System Monitoring Tools Every SysAdmin Should Know | Transmission Control Protocol | Computer Network

About Forum Howtos & FAQs Low graphics Shell Scripts RSS/Feed

nixcraft - insight into linux admin work

20 Linux System Monitoring Tools Every SysAdmin Should Know
by Vivek Gite on June 27, 2009 · 226 comments Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as: 1. 2. 3. 4. Finding out bottlenecks. Disk (storage) bottlenecks. CPU and memory bottlenecks. Network bottlenecks.

#1: top - Process Activity Command
The top program provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds.

Fig.01: Linux top command

Commonly Used Hot Keys
The top command provides several useful hot keys: Hot Key t m A f o r k z Displays summary information off and on. Displays memory information off and on. Sorts the display by top consumers of various system resources. Useful for quick identification of performance-hungry tasks on a system. Enters an interactive configuration screen for top. Helpful for setting up top for a specific task. Enables you to interactively select the ordering within top. Issues renice command. Issues kill command. Turn on or off color/mono Usage

=> Related: How do I Find Out Linux CPU Utilization?

#2: vmstat - System Activity, Hardware and System Information
The command vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.
# vmstat 3

Sample Outputs:
procs -----------memory---------- ---swap-r b swpd free buff cache si so 0 0 0 2540988 522188 5130400 0 1 0 0 2540988 522188 5130400 0 0 0 0 2540956 522188 5130400 0 -----io---- --system-- -----cpu-----bi bo in cs us sy id wa st 0 2 32 4 2 4 1 96 0 0 0 0 720 1199 665 1 0 99 0 0 0 0 0 1151 1569 4 1 95 0 0

0 0 0 0

0 0 0 0

0 0 0 0

2540956 2540940 2538444 2490060

522188 522188 522188 522188

5130500 5130512 5130588 5130640

0 0 0 0

0 0 0 0

0 0 0 0

6 536 0 18

1117 439 1189 932 1187 1417 1253 1123

1 1 4 5

0 0 1 1

99 98 96 94

0 0 0 0

0 0 0 0

Display Memory Utilization Slabinfo
# vmstat -m

Get Information About Active / Inactive Memory Pages
# vmstat -a

=> Related: How do I find out Linux Resource utilization to detect system bottlenecks?

#3: w - Find Out Who Is Logged on And What They Are Doing
w command displays information about the users currently on the machine, and their processes.
# w username # w vivek

Sample Outputs:
17:58:47 up 5 days, 20:28, 2 users, load average: 0.36, 0.26, 0.24 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/0 10.1.3.145 14:55 5.00s 0.04s 0.02s vim /etc/resolv.conf root pts/1 10.1.3.145 17:43 0.00s 0.03s 0.00s w

#4: uptime - Tell How Long The System Has Been Running
The uptime command can be used to see how long the server has been running. The current time, 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.
# uptime

Output:
18:02:41 up 41 days, 23:42, 1 user, load average: 0.00, 0.00, 0.00

1 can be considered as optimal load value. The load can change from system to system. For a single CPU system 1 - 3 and SMP systems 6-10 load value might be acceptable.

#5: ps - Displays The Processes
ps command will report a snapshot of the current processes. To select all processes use the -A or -e option:
# ps -A

Sample Outputs:
PID 1 2 3 4 5 6 TTY ? ? ? ? ? ? TIME 00:00:02 00:00:02 00:00:01 00:00:00 00:00:00 00:00:15 CMD init migration/0 ksoftirqd/0 watchdog/0 migration/1 ksoftirqd/1

.... ..... 4881 4885 4886 4887 4888 4891 4892 4893 12853 12854 14231 14232 54981 55465 55546 55704

? tty1 tty2 tty3 tty4 tty5 tty6 ttyS1 ? ? ? ? pts/0 ? ? pts/1

00:53:28 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:10:34 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00

java mingetty mingetty mingetty mingetty mingetty mingetty agetty cifsoplockd cifsdnotifyd lighttpd php-cgi vim php-cgi bind9-snmp-stat ps

ps is just like top but provides more information.

Show Long Format Output
# ps -Al

To turn on extra full mode (it will show command line arguments passed to process):
# ps -AlF

To See Threads ( LWP and NLWP)
# ps -AlFH

To See Threads After Processes
# ps -AlLm

Print All Process On The Server
# ps ax # ps axu

Print A Process Tree
# ps -ejH # ps axjf # pstree

Print Security Information
# ps -eo euser,ruser,suser,fuser,f,comm,label # ps axZ # ps -eM

See Every Process Running As User Vivek
# ps -U vivek -u vivek u

Set Output In a User-Defined Format
# ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm # ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm # ps -eopid,tt,user,fname,tmout,f,wchan

Display Only The Process IDs of Lighttpd
# ps -C lighttpd -o pid=

OR
# pgrep lighttpd

OR
# pgrep -u vivek php-cgi

Display The Name of PID 55977
# ps -p 55977 -o comm=

Find Out The Top 10 Memory Consuming Process
# ps -auxf | sort -nr -k 4 | head -10

Find Out top 10 CPU Consuming Process
# ps -auxf | sort -nr -k 3 | head -10

#6: free - Memory Usage
The command free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel.
# free

Sample Output:
total Mem: 12302896 -/+ buffers/cache: Swap: 1052248 used 9739664 4061800 0 free 2563232 8241096 1052248 shared 0 buffers 523124 cached 5154740

=> 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?

#7: iostat - Average CPU Load, Disk Activity

88 0.00 %idle 95.in) avg-cpu: %user 3. and save system activity information.00 0.03 0.02 %nice 0. processor 0 being the first one.56 3.00 => Related: : Linux Track NFS Directory / Disk I/O Stats #8: sar .04 96.08 0.11 0.38 0.03 0.03 0.04 0.11 %sys %iowait 0.03 0. partitions and network filesystems (NFS).00 512.31 34.00 0.el5 (www03.04 1000.78 98.31 0. mpstat -P ALL to display average CPU utilization per processor: # mpstat -P ALL Sample Output: Linux 2.09 0.28 95.03 0.19 97.6.00 0.00 06/26/2009 %soft 0.50 %nice %system %iowait 0.04 0.93 0.01 %steal 0.03 tps 22.6.in) 06:48:11 06:48:11 06:48:11 06:48:11 06:48:11 PM PM PM PM PM CPU all 0 1 2 %user 3.11 %steal 0.00 %idle 97.18-128.el5 (www03.el5 (www03.12 0.09 0.16 %nice 0.1.18-128.00 0. enter: # sar -n DEV | more To display the network counters from the 24th: # sar -n DEV -f /var/log/sa/sa24 | more You can also display real time usage using sar: # sar 4 5 Sample Outputs: Linux 2.10 4.22 0.14.17 0.00 31.in) 06:45:12 06:45:16 06:45:20 06:45:24 06:45:28 06:45:32 Average: PM PM PM PM PM PM CPU all all all all all all %user 2.00 Blk_read/s 31.27 06/26/2009 %iowait 0.14.00 0.02 0.52 98.70 => Related: : How to collect Linux system utilization data into a file #9: mpstat .00 2.18-128.86 Blk_read 16193351 2166 16189010 1615 Blk_wrtn 260102868 180 260102688 0 Device: sda sda1 sda2 sda3 Blk_wrtn/s 512.1.02 %irq 0.Multiprocessor Usage The mpstat command displays activities for each available processor.50 3.78 97.00 0.07 0.00 0.25 0.00 0.00 0.00 .53 2.00 0.nixcraft.09 0.36 0.Collect and Report System Activity The sar command is used to collect.00 0.00 %steal 0.00 06/26/2009 %idle 95.87 0.32 0.00 0.00 0.51 0.The command iostat report Central Processing Unit (CPU) statistics and input/output statistics for devices. report.01 0.94 1.6.00 0. To see network counter.22 0.00 22.34 0. # iostat Sample Outputs: Linux 2.00 0.02 0.28 0.14.44 3.25 intr/s 1218.00 0.1.08 0.86 96.nixcraft.00 %system 0.00 0.nixcraft.22 96.

000000000001b000 008:00002 ld-2.so 00002af8d4b17000 768000 rw-s.0000000000286000 008:00002 php-cgi 00000000008a9000 52 rw--.0000000000000000 008:00002 libc-2.000000000000a000 008:00002 libnss_files-2. interface statistics.00007ffffffea000 000:00000 [ stack ] ffffffffff600000 8192 ----.10 0.so 000000314a81b000 4 r---.91 14.38 0.so 000000314ab4c000 2048 ----.0000000000000000 000:00009 zero (deleted) 00007fffc95fe000 84 rw--.11 0..01 0.so 000000314aa00000 1328 r-x-. Use this command to find out causes of memory bottlenecks.42 95.5.5.00 0.Network Statistics The command netstat displays network connections..10 0.06:48:11 06:48:11 06:48:11 06:48:11 06:48:11 PM PM PM PM PM 3 4 5 6 7 3. ss command is used to dump socket statistics.04 0.5.29 0. routing tables.000000000f678000 000:00000 [ anon ] 000000314a600000 112 r-x-.so 00002af8d4b16000 4 rw--..98 3.00 0.00000000008a9000 000:00000 [ anon ] 0000000000aa8000 76 rw--.52 96.00 0.46 0.01 0.5.00 3.26 4.00 95.11 0.0000000000009000 008:00002 libnss_files-2.0000000000000000 008:00002 php-cgi 0000000000886000 140 rw--.5.00 0.01 0.01 0.46 96.5.. 00002af8d48fd000 4 rw--. It allows showing information similar to netstat.77 2.. # pmap -d PID To display process memory information for pid # 47394.so 00002af8d4916000 2044 ----.03 0.24 0.75 76.000000000014c000 008:00002 libc-2. .03 0.Process Memory Usage The command pmap report memory map of a process.5.so 00002af8d4b15000 4 r---.13 0.03 0.08 0.0000000000000000 008:00002 ld-2.34 0.0000000000006000 008:00002 xsl.00000000002a8000 008:00002 php-cgi 000000000f678000 1980 rw--.30 0. masquerade connections.89 => Related: : Linux display each multiple SMP CPU processors utilization individually.39 0.0000000000000000 000:00000 [ anon ] mapped: 933712K writeable/private: 4304K shared: 768000K 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 #11 and #12: netstat and ss .0000000000000000 008:00002 libnss_files-2.23 95. and multicast memberships.000000000000a000 008:00002 libnss_files-2.5. See the following resources about ss and netstat commands: .so 00002af8d490c000 40 r-x-.96 3.28 0..5.10 0. .02 0..so . #10: pmap .00 0.07 0.000000000001c000 008:00002 ld-2.80 25.69 44.so 000000314a81c000 4 rw--.... enter: # pmap -d 47394 Sample Outputs: 47394: /usr/bin/php-cgi Address Kbytes Mode Offset Device Mapping 0000000000400000 2584 r-x-.

02: General interface statistics: IP traffic statistics by network interface .ss: Display Linux TCP / UDP Network and Socket Information Get Detailed Information About Particular IP address Connections Using netstat Command #13: iptraf . IP checksum errors. node stats. and others.Real-time Network Statistics The iptraf command is interactive colorful IP LAN monitor. Ethernet load info. UDP counts. It is an ncurses-based IP LAN monitor that generates various network statistics including TCP info. ICMP and OSPF information. It can provide the following info in easy to read format: Network traffic statistics by TCP connection IP traffic statistics by network interface Network traffic statistics by protocol Network traffic statistics by TCP/UDP port and by packet size Network traffic statistics by Layer2 address Fig.

i.1. print only packets that contain data.54.((ip[0]&0xf)<<2)) .System Calls Trace system calls and signals. enter: # tcpdump -i eth1 'dst 202.Detailed Network Traffic Analysis The tcpdump is simple command that dump traffic on a network.((tcp[12]&0xf0)>>2)) != 0)' To display all FTP session to 202. For.e. enter: # tcpdump 'tcp port 80 and (((ip[2:2] .1. enter: # tcpdump -i eth1 'udp port 53' To display all IPv4 HTTP packets to and from port 80.e.1. See Linux kernel /proc documentations for further details. for example. This is useful for debugging webserver and other server problems. #16: /Proc file system .txt src or dst port 80 #15: strace . you need good understanding of TCP/IP protocol to utilize this tool.168.03 Network traffic statistics by TCP connection #14: tcpdump .5 and tcp and port http' Use wireshark to view detailed information about files.54.Various Kernel Statistics /proc file system provides detailed information about various hardware devices and other Linux kernel information. SYN and FIN packets and ACK-only packets. not.g to display traffic info about DNS.5: # tcpdump -ni eth0 'dst 192. enter: # tcpdump -n -i eth1 -s 0 -w output.Fig.5. See how to use to trace the process and see What it is doing. However.1. Common /proc examples: .5 and (port 21 or 20' To display all HTTP session to 192.168.

easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices. FAN provides a CDRom image in the standard ISO format. The graphical front end uses so-called sensors to retrieve the information it displays. You can easily monitor all your hosts. FAN goals are to provide a Nagios installation including most tools provided by the Nagios Community. one or more displays are provided. 18#: Cacti .# cat /proc/cpuinfo # cat /proc/meminfo # cat /proc/zoneinfo # cat /proc/mounts 17#: Nagios . All of this is wrapped in an intuitive. KSysguard is not only a simple task manager but also a very powerful tool to control large server farms.Web-based Monitoring Tool Cacti is a complete network graphing solution designed to harness the power of RRDTool's data storage and graphing functionality. logged in users. in order to improve the user experience around Nagios. FAN is "Fully Automated Nagios". It can provide data about network. making it easy to easilly install a Nagios server. Added to this. CPU. multiple data acquisition methods. network equipment and services. It provides lots of features such as a client/server architecture that enables monitoring of local and remote hosts. and user management features out of the box. Displays are organized in worksheets that can be saved and loaded independently from each other. See how to install and configure Cacti network graphing tool under CentOS / RHEL. Apache. memory.Server And Network Monitoring Nagios is a popular open source computer system and network monitoring application software. #19: KDE System Guard . .Real-time Systems Reporting and Graphing KSysguard is a network enabled task and system monitor application for KDE desktop. a wide bunch of tools are including to the distribution. Cacti provides a fast poller. It can send alert when things go wrong and again when they get better. DNS servers and much more. So. advanced graph templating. A sensor can return simple values or more complex information like tables. This tool can be run over ssh session. For each type of information.

Real-time Systems Reporting and Graphing The System Monitor application enables you to display basic system information and monitor system processes.05 KDE System Guard {Image credit: Wikipedia} See the KSysguard handbook for detailed usage. and file systems. Although not as powerful as the KDE System Guard. it provides the basic information which may be useful for new users: Displays various basic information about the computer's hardware and software. #20: Gnome System Monitor .Fig. Linux Kernel version GNOME version Hardware Installed memory Processors and speeds System Status Currently available disk space Processes Memory and swap space Network usage File Systems . usage of system resources. You can also use System Monitor to modify the behavior of your system.

Did I miss something? Please add your favorite system motoring tool in the comments.ntop is the best tool to see network usage in a way similar to what top command does for processes i.06 The Gnome System Monitor application Bonus: Additional Tools A few more tools: nmap . which can display the list of processes in a tree form. and many other things. TCP. hard disks. local and remote mailboxes.mtr combines the functionality of the traceroute and ping programs in a single network diagnostic tool. network interfaces.Another good monitoring tool for the X Window System. it is network traffic monitoring software. memory. vnstat . network connections and much more. e-mail inboxes etc. disk storage. You can see network status. main memory. ntop web based tool . the interactive process viewer. protocol wise distribution of traffic for UDP. It is highly configurable and is able to monitor many system variables including the status of the CPU.It can be used to monitor the status of CPUs. swap space. HTTP and other protocols. system messages. lsof . Conky . mtr . processes. . htop .Lists all mounted filesystems along with basic information about each. network interfaces. GKrellM .htop is an enhanced version of top. It keeps a log of hourly. temperatures.vnStat is a console-based network traffic monitor. daily and monthly network traffic for the selected interface(s). battery power. Fig. DNS.scan your server for open ports.list open files.e.

(/quote) Yea. 2011 (quote) Pretty much common knowledge. Reply 4 Chris June 27. good job of collecting them in a post. Jim (JR) Reply 3 robb June 27. :-D @Vivek *GREAT* list – for those of us who are mere mortals. . . Reply 2 Jim (JR) March 21. . 2009 yeap most of them are must-have tools. . For systems with just a few nodes I recommend Munin. and Windows Users Top 20 OpenSSH Server Best Security Practices Top 10 Open Source Web-Based Project Management Software Top 5 Linux Video Editor Software { 226 comments… read them below or add one } 1 VonSkippy June 27. My favorite . . Mac OS X.Featured Articles: 20 Linux System Monitoring Tools Every SysAdmin Should Know 20 Linux Server Hardening Security Tips My 10 UNIX Command Line Mistakes The Novice Guide To Buying A Linux Laptop 10 Greatest Open Source Software Of 2009 Top 5 Email Client For Linux. . 2009 Nice list. . right! I’ve been around the block two or three times – and a number of these are familiar to me – but some of the ways they’re 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 isn’t funny! It’s likely that I will want to spread this URL around like the Flu as well. . 2009 Pretty much common knowledge (or should be) but handy to have listed all in one place. . It’s easy to install and configure.

Just restart it.– how to repair or check linux os using fsck command plz help me Reply 9 darkdragn May 31. unless you have a kick ass initrd. It’s the same thing in all. just tripping single user mode with a kernel arg. Thanks Reply 8 vasu March 21. but it will let you boot. which the boot fsck doesn’t have. 2009 pocess or process. lol. i love typos Reply 7 Sohrab Khan March 15. haha. if you do then just select recovery mode. I think you should change this “#2: vmstat – Network traffic statistics by TCP connection …” Reply 5 ftaurino June 27.S. it depends on your distro. Reply 10 Artur June 27. you may need to boot from an external medium.tool for monitoring a linux cluster is Ganglia. and run fsck on unmounted partitions. plz login as root……. 2010 . Reply 11 nig belamp December 7. if you don’t normally get a grub delay the hold down the shift key to get one. 2011 Most of the time that happens if the fsck operation requires human interaction. 2009 What about Munin ? Lots easier and lighter than Cacti. P. 2011 In my system booting time it showing error fsck is fails. which combines vmstat. iostat. If it is your root partition. I you have any useful notes pl z sent it to my E-mail. 2009 another useful tool is dstat . 2011 Dear i am learning the Linux pl z help me. but this is a very useful list with some interesting examples! Reply 6 James June 27. netstat information and more. ifstat. or single user mode.

then don’t directly run “atop” command .# killalll atop 4. 2009 I can see that the best tool to monitor processes . 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 . some one may try that. 2011 Uhm.cyberciti. this isn’t blogspot. please visit http://www. CPU. Reply 12 PC4N6 April 20.com/ and I always thanks vivek. geez. 2009 I have a step-by-step nagios implementation howto. Head over there if you have an uncontrollable need to flame people above your level of understanding… Reply 13 RB-211 May 13. Reply 14 Raj June 27.biz/ Reply 16 kaosmonk June 27. but instead run it as follows. that was a bit harsh. 1.linuxbd.# rm -rf /tmp/atop.# yum install atop 3.d/ /var/log/atop/ 6. CentOS. worth bookmarking! Reply 15 rkarim June 27. # ATOPACCT=” atop .How can you even compare munin to cacti…stfu your a tool. 2011 Wow.# chkconfig atop off 5. 2009 Once again.install rpmforge repo 2. great article!! Reply 17 Amr El-Sharnoby June 27. to run such a nice site http://www. 2009 Nice list.

We have just added your latest post “20 Linux System Monitoring Tools Every SysAdmin Should Know” to our Directory of Technology . very useful when u need to have a last moment remote access to a server to see hows the trific going. You can check the inclusion of the post here . its really simple and light. Reply 20 quba June 27. 2009 Yeah. 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. 2009 You probably wanna add IFTOP tool. 2009 Great post. also great reference. 2009 Hi. 2009 @Chris / James Thanks for the heads-up! Reply 19 Solaris June 27.info Reply 21 Cristiano June 27. Reply 22 Peko June 27. Warm Regards Techtrove. well why a so good admin (I dig(g) your site) won’t you use spelling checkers? Typo #2 Web-based __Monitioring__ Tool .info Team http://www.This tool has saved me hundreds of hours really! and helped me to diagnose bottlenecks and solve them that couldn’t otherwise be easily detected and would need many different tools Reply 18 Vivek Gite June 27.techtrove.

2009 Hi guys. I would not trust a sysadmin that knows so few. And. 2011 Typographical error* Reply .Reply 23 paul tergeist June 27. 2009 maybe it’s a typo too. Reply 24 harrywwc June 27. at most. Tools Every SysAdmin MUST Know” and still.h Reply 25 StygianAgenda February 28. *If* you have received those clearly – in spite of the typos – then the purpose has been fulfilled. 2011 Typos* Reply 27 roflcopter June 24. but if the language is coherent enough to get the idea across. then that’s all that really matters. this is advanced user knowledge. good list – and some great submitted pointers to other useful tools. you’ve 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? I _used_ to be a real PITA about this. 2011 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. /me gets down off his soapbox . is to *communicate* concepts and ideas. and other forms of communication... to those carp-ing on about typo’s – give us all a break. but the title should be : “. The purpose of this blog. then I grew up. Reply 26 Lolcatz April 7.

2009 No love for whowatch ? Real time info on who’s logged in. 2009 A script I use often to show the real memory usage of programs on linux.py I also summarised a few linux monitoring tools here I’d also mention the powertop utility Reply 29 Saad June 27. 2011 It is not a tool. Reply 33 Manoj April 27.pttk.pl/~mike/#whowatch Reply 31 StygianAgenda February 28.krakow. 2009 . TTY. 2009 This blog is more impressive and more useful than ever. It is an Editor Reply 34 Eric schulman June 28. 2009 vi — tool used to examine and modify almost any configuration file. 2011 I just became an instant fan of ‘whowatch’. http://www. is ps_mem. Reply 35 Ashok kumar June 28. I need more help regarding proper installation document on “php-network weathermap” on Cacti as plugins Reply 30 Jack June 28. how their connected (SSH. etc) and what process thay have running.28 Pádraig Brady June 27. Thanks!!! .) Reply 32 Ponzu June 28.ae. 2009 dtrace is a notable mention for the picky hackers that wish to know more about the behavior of the operating system and it’s programs internals.

2009 You missed: iftop & nethogs Reply 37 Adrian Fita June 28. great article Reply 41 Mathieu Desnoyers June 28. It is a system-wide tracing tool which helps understanding complex performance problems in multithreaded. 2009 I would like to add whoami . 2009 Excellent list. 2009 One tool which seems to be missing from this list is LTTng.0 and its making my work easy. 2009 Well. multiprocess applications involving many userspace-kernel interactions. Like Amr El-Sharnoby above. Monta Vista and STLinux offer the tracer as distribution packages. WindRiver.who am i.lttng. Reply 39 praveen k June 28. 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.hi gud information . 2009 i always love linux. the one i use right now is Pandora FMS 3. The standard way to use it is to install a patched kernel though.org. pinky . The project is available at http://www. Mathieu . I also find atop indispensable and think it must be installed on every system. Reply 38 Knightsream June 28. keep it up ash Reply 36 Enzo June 28. which provides nice view of the overall system behavior. Recent SuSE distributions. LTTV. id commands Reply 40 create own website June 28. It comes with a trace analyzer. finger.

2009 Dude you forgot the most important of ALL! net-snmpd With it you can collect vast amounts of information. Thanks! Reply 43 Aveek Sen June 29. Then with snmpwalk and scripts you can create your own web NMS to collect simple information like ping. 2009 `iotop` is nice one to be include in list. well done. 2009 If we’re talking about a web server. Reply 44 The Hulk June 29. 2009 @Everyone Thanks for sharing all your tools with us. I used `vnstat` very much for keeping track of my download when I was on limited connection :) Reply 48 Vivek Gite June 29. 2009 Very informative. services down. Reply 49 feilong June 29. apachetop is a nice tool to see Apache’s activity.Reply 42 Andy Leo June 29. Reply 47 Kartik Mistry June 29. disk space. 2009 I love this website. 2009 . Reply 46 Ram June 29. 2009 Very useful. Reply 45 kburger June 29.

It unifies all of the performance data from the tools you’ve mentioned (and more).sgi. The ps samples are nice. Reply 50 boz June 29. 2009 . No reference to configuration management tools ? cfengine/puppet/chef? Reply 52 Ken McDonell June 29. 2009 mtr Reply 51 Scyldinga June 29. PCP also works for monitoring non-Linux platforms (Windows and some of the Unix derivatives). Thanks for compiling this list. you may wish to explore Performance Co-Pilot (PCP). 2009 Nice summary article. I use about 25% of those regularly. can be extended to include new applications and service layers.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. 2009 I love your collection. and the performance issues you’re tackling are complex. and another 25% semi-regularly. Take a look to a great tools called nmon.oss. If your “system” is large and/or distributed. Reply 54 bogo June 30. thanks.Very useful. works across the network and for clusters and provides both real-time and retrospective analysis. I use it on AIX IBM system but works now on all GNU/linux system now. Reply 53 Lance June 30. thinks for sharing. See http://www. As a bonus. I’ll have to add another 25% of those to my list of regulars. tools every linux user should know. 2009 I’m with @paul tergeist.

I use nmon on my linux boxes from years. Great list. I agree. 2009 Great article. I work with linux but I can’t say that i know them all. Reply 60 komradebob July 1. 2009 Good post…already bookmarked… cheers Reply 57 Aleksey Tsalolikhin June 30. etherape – great visual indicator of what traffic is going where on the network wireshark – tcpdump on steroids. thanks!! Aleksey Reply 58 Abdul Kayyum July 1.Very nice collection of linux applications. 2009 Thanks for sharing this information. 2009 feilong. multitail – tail multiple files in a single terminal window swatch – track your log files and fire off alerts Reply . 2009 I’ll just mention “ngrep” – network grep.. Reply 55 MEHTA GHANSHYAM June 30. Reply 59 Aurelio July 1. many great suggestions. It’s worth a look. 2009 REALLY ITS VERY GOOD N USEFULL FOR ALL ADMIN. THANKS ONCE AGAIN Reply 56 fasil June 30. Was surprised not to see these among the suggestions: bmon – graphs/tracks network activity/bandwidth real time.

2009 O personally much prefer htop to top. It would be nice if some of you knowledgeable guys can shed some light on java heap monitoring thing. 2009 thanks for sharing all the helpful tools. 2009 Very much Useful Information’s. trafmon is one more useful tool Reply 68 Stefan July 15. heap analysis etc. SLAs and ITIL processes such as availability management and capacity planning. Monitor “everything” connected to a network with incredible performance. 2009 Osmius: The Open Source Monitoring Tool is C++ and Java. Create and integrate Business Services. Very easy to setup and use.61 pradeep July 2. thread lock detection and analysis. As usual. 2009 nmon is a nice tool… try google for it. Reply 64 aR July 6. it rocks Reply 67 Balaji July 12. Displays everything very nicely. phpsysinfo is another nice light web-based monitoring tool. 2009 And for those which like lightweight and concise graphical metering: . 2009 Nice compilation. Reply 66 Bjarne Rasmussen July 7. 2009 how the hell i missed this site this many days… :P thank god i found it… :) i love it… Reply 62 Jay July 4. Reply 63 Manuel Fraga July 5. always very useful. Reply 65 Shailesh Mishra July 7.

src. Very interesting Reply 70 Rajat July 24. 2009 Nice… very nice guy!!!! .fedora.3.sourceforge.phx. 2009 Excellent list! Reply 73 Vinidog August 29. 2009 Awesome. 2009 Thanks very good info!!! Reply 71 nima0102 July 27.redhat.5-1. Especially love the ps tips.3. Mon Aug 31 14:42:40 2009.fc10 Build Date: Fri Aug 21 13:22:42 2009 Install Date: Tue Sep 1 18:10:34 2009 Build Host: x86-5.5 Vendor: Fedora Project Release : 1.xosview +disk -ints -bat Reply 69 Raja July 19. Key ID bf226fcc4ebfc273 Packager : Fedora Project URL : http://collectl.com Group : Applications/System Source RPM: collectl-3.fc10. 2009 From the guy who wrote the collect utility for Tru64: Name : collectl Relocations: (not relocatable) Version : 3. 2009 It’s really nice :) Reply 72 David Thomas August 12.-) Reply 74 Bob Marcan September 4.rpm Size : 1138212 License: GPLv2+ or Artistic Signature : DSA/SHA1.net Summary : A utility to collect various linux performance data Description : A utility to collect linux performance data Best regards. Bob .

2009 Thanks for the article. 2009 openNMS Reply 79 Sergiy September 25.and a whole lot more .not all write to log files . Thanks for the comments also :) Reply 80 Mark Seger September 28. Best Regards.Reply 75 Tman September 5.sar is close but still too many things it doesn’t collect . multipath etc. 2009 Hi. 2009 For professional network monitoring use Zenoss: Zenoss Core (open source): http://www. Somnath Reply 77 Eddy September 17. I am not admin myself.different output formats make correlation VERY difficult .com/product/network-monitoring Reply 76 Somnath Pal September 14.zenoss. Consider adding tools to monitor SAN storage. 2009 I did not see ifconfig or iwconfig on the list Reply 78 Kestev September 17. but tools are very useful for me too. 2009 When I wrote collectl my goal was to replace as many utilities as possible for several reasons including: . also.I wanted sub-second monitoring .I wanted option to generate data that can be easily plotted or loaded into spreadsheet .I want an API and I want to be able to send data over sockets to other tools . Thanks for the nice collection with useful samples.

I do not make typoous. Is there a way of configuring it? . I personally believe if you're collecting performance counters at a minute or coarser you're not really seeing what your system is doing. 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. such as Infiniband or Lustre monitoring. which is much more useful.html -mark Reply 81 PeteG September 29. How about buddyinfo? And more… http://collectl. Just install rpm and type “/etc/init. Reply 83 AndrewW November 5. where’s the HTML to PDF howto? Thanks again. However I prefer the interface and flexibility of KSysGuard. As for the API. 2009 Use: free -m To show memory usage in megabytes. in particular not having to worry if the right data is being collected. 2009 Darn.d/collectl start” and you’re collecting everything such as slabs and processes every 60 seconds and everything else every 10 seconds AND using <0.I think I succeeded on many fronts. Saved me making one. particularly for the PDF. They also collectl counters from individual CPUs and pass that data to collectl as well. I found stuff I didn’t know either. I worked with some folks at PNNL to monitor their 2300 node cluster. 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. Hey. But also keep in mind there are a lot of things collectl does for which there is no equivalent system command. 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. Reply 82 Denilson October 26.1% of the CPU to do so.sourceforge.net/Matrix. I’ve been using Linux since Windows 98 was the current MicroSnot FOPA. Why do you post this stuff? We all know it. I know all this stuff. Hummmm…… Imagine that! Thanks. 2009 Is it possible to display hard drive temps from hddtemp in KSysGuard? They are available in Ksensors and GKrellM. without any configuration required.

com Reply 85 Kevin November 15. 2009 Thanks a lot… Reply 91 mancai December 11.. this is what i want looking for few day ago… tq . 2009 Zabbix open source monitoring tool http://www. 2009 Very nice collection. 2009 Just thanks! :) Reply 87 GBonev November 25.Andrew Reply 84 Abhijit November 10. Worth a bookmark…Bravo… Reply 90 Jalal Hajigholamali December 9.zabbix. 2009 How to install the Kickstart method in linux Reply 89 Bilal Ahmad December 8. Reply 88 Gokul December 7. 2009 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 . good work Reply 86 Stefano November 22. 2009 Thanks. 2009 nice sharing. proto and ports at once.

2009 I meant to thank Vivek Gita once again awesome job Reply 98 Shrik December 31. 2009 After so many thanks.. 2009 Mark. Reply 97 Yusuf December 25. 2009 Great post!! Thanks. 2009 Very helpful. 2009 This is a nice document for new user. 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. Add one more……. thaks to owner of this document. 2009 Thank you very much VERY GOOD WEBSITE Reply . Reply 94 Rakib Hasan December 16. It’s very handy. Thanks a lot! Reply 95 PRR December 22. arun Reply 93 myghty December 16. thank you. Reply 96 Yusuf December 25.Reply 92 aruinanjan December 14.

99 sekar January 1. Reply 103 Mark Seger January 10. you can always include it but you will need a wider screen to see the output. Reply 102 Ganesan AS January 10. disk and network.. If you want to add memory. I know it bothers me.. Thanks for sharing all your knowledge about Linux. 2010 Dear all Members. i really thankful for your share linux tips. If you run one command and see something weird doesn’t 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. 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. 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. Anyone care to comment? -mark Reply . May GOD bless you to do more. I’d recommend to run sar with a 10 second sampling level like collectl and you’ll get far more out of it. 2010 it is cool Reply 100 Giriraaj January 5. 2010 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. The number of situations which this would be too much of a load on your system would be extremely rare. 2010 Thanks for sharing most resourceful information.. Thanks for sharing. 2010 Good info. it’s too late to go back and see what else was going on. so many switches and so many formats.!! thanks and continue this jurny…as well thank you. Again. Reply 101 Bhagyesh Dhamecha January 6.

“Why?”. you will ask. 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 107 Mark Seger January 12. so what gives? A close look showed me that even those the I/O rates were low. I was working with someone who had a system with mysql that was crawling. 2010 Amr El-Sharnoby: atop is awesome. you need to see multiple things AND see them at the same time. it was trying to write to it’s backing store. bottom line – running a single tool and only looking at one thing does not tell the whole story. 2010 re mysql – it’s not necessarily that straight forward. 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. low network and low disk i/o. it was taking multiple seconds for vi to echo a single character! we ran collectl on it and could see low cpu. 2010 If you are running a web server and you have multiple clients writing code. 2010 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. -mark Reply . 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. the average request sizes were also real low – probably do so small db requests. thanks for the tip.104 miles January 12. you will one day see CPU slow to a crawl. Lots of available memory. it took over 2 second to complete and that’s why vi was so slow. ) Reply 106 met00 January 12.top and other is commonly used by users who administrated a non-productive or desktop systems or for some users who’s 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 105 Serg January 12.

108 mtituh Alu January 19. wi. ntop. iftop.…. so i installed debian as a network bridge between the isa server and the lan.1 machine when one of its network interface is down.aol. 2010 I like the saidar tool. and iptstate. Reply 115 deepu March 2. . recently through tcpdump I see alot of traffic to dc. darkstat). Reply 113 AD February 25. How do I find out it is spamming? and how do I stop it.com. Reply 112 JK February 23.com. 2010 Thank you very much. 2010 Only allow authenticated email users to send an email. ssl keys. fedExservices..I need it for clustering. I believe my mail server is spamming. Reply 110 kirankumarl February 3. vnstat... iptraf.dixie-net. Check them out. Reply 109 Vivek Gite January 19.rr. There are other things too such as anti-spam. 2010 Dear sir pls send me some linex pdf file by wich i can learn how to install & maintanes Reply 111 Visigoth February 21. 2010 it is a very good and resourceful infomation.com. and equipped it with various monitoring tools (bandwidthd.com. 2010 Actually where I work we have and isa server acting as a proxy/firewall. 2010 Hiii vivek.mx. which prevent me from monitoring internet traffic consumption. Do you know any application to shut down a ubuntu 9. 2010 I have a postfix mail server. This information is very useful for me to monitoring my server… Reply 114 Tarek February 26. mx1. Please help.. domain keys and much more.

2010 Excellent one !!! . 2010 Good information. 2010 Good knowledge base. THX pinguins ! Reply 117 vijay March 12. So i can say it will help in future. 2010 Thank you it is very helpful Reply 120 Saorabh Kumar March 25. 2010 Very interesting read that really includes the tools that every admin should know about.Reply 116 Solo March 7. Actually i am a Mysql DBA and i fond a lot of new things here. great post Reply 121 Spyros March 30. 2010 OMG ! Amazing – Super – Ultra nice info . 2010 Hi Its a great topic. Thanks Reply 119 Prashant Redkar March 25. 2010 its so usefulllll thanks a lot Reply 118 Venu Yadav March 23. Reply 122 amitabh mishra March 30. Thanks once again Reply 123 Chinmaya April 2.

Reply 125 Mustafa Ashraf Rahman April 20. -a All current limits are reported. 2010 wow this is some great info. Thanks Reply .Reply 124 saurav April 3. -H Change and report the hard limit associated with a resource. -f The maximum size of files created by the shell(default option) -l The maximum size that may be locked into memory. -t The maximum amount of cpu time in seconds. Syntax ulimit [-acdfHlmnpsStuv] [limit] Options -S Change and report the soft limit associated with a resource. This is really a very good post and useful for all admin.. -s The maximum stack size. 2010 Great tips. One i would like to add is ulimit User limits – limit the use of system-wide resources. -u The maximum number of processes available to a single user. 2010 hello Vivek Gite. -d The maximum size of a process’s data segment. Thanks. -n The maximum number of open file descriptors. -p The pipe buffer size. ulimit provides control over the resources available to the shell and to processes started by it. -m The maximum resident set size.also the various inputs in comments. on systems that allow such control. -c The maximum size of core files created. -v The maximum amount of virtual memory available to the process. Ashraf Reply 126 arief April 21.

and the process is killed with -15. Then do kill -9 PID (where PID is the number your found in the above). 2010 Perfect examples : thanks Reply 129 wolfc01 May 2. . 2010 See also the “Linux Process Explorer” (in development) meant to be an equivalent the windows process explorer of Mark Russinovich.. will have to confirm (y). and you can see the process you want to kill in your list. you will find most of these tools explained in any basic linux howto… Reply 131 Anonymous May 7. Reply 132 FHJ May 11. See http://sourceforge. 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.bar this will give the PID (process ID) as well as other information. he isn’t a real admin. 2010 I think you missed my top 2 monitoring tools: monit: http://mmonit.com/monit/ mrtg : http://oss.net/projects/procexp Reply 130 ohwell May 2. 2010 but how to kill process ID in my server. 2010 I assume you can find the process ID – for example if your process is called foo. you could do ps -ef | grep foo. Which is less “severe” than a “kill -9″ which really kills just about any process (without allowing it a graceful exit of any kind).ch/mrtg/ Reply 128 Lava Kafle April 29.oetiker. 2010 if an “admin” doesnt know 90% of those tools.127 Eduardo Cereto April 25. Or if you use top. You type the number and “enter”. you can just type k and you will be prompted for the PID (the screen will freeze so it’s easy to read).bar.

2010 Thanks. memory. thanks. Chennai. 2010 hey. india +91 9962300520 Reply 135 Samuel Egwoyi May 14. its neat to have it as an applet. Thanks. I am not clear about crontab. It shows the occupation of the most critical hardware resources (from a performance point of view) on system level.It also shows which processes are responsible for the indicated load with respect to cpu. Can u send me how i can do with details. cpu.Use with care! Reply 133 someone May 10. kalyan de. Today i will try to check it. 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.and memory . but thats it. i. disk and network. Reply 134 kalyan de May 14. 2010 how can i practice Mysql using linux Reply 136 Basil May 21.e. 2010 This article simply rocks Reply 137 Fenster June 1. I think it will be very helpfull for me as i am practicng oracle in redhat linux4. I want 1 more help. 2010 atop man atop shows “The program atop is an interactive monitor to view the load on a Linux system. just installed htop and iptraf. very nice tools!! Reply 138 zim June 2. 2010 Gnome system monitor is a pretty useless utility if you ask me.

ifstat.” Reply 139 Amit June 2. my contribute is: try to use iftop.load on process level. it is very useful to know! . Reply 143 giftzy June 5. it tells you which command is using a file at the moment. jnettop and ethstatus for network graphical and CLI monitoring. iptraf. 2010 Great article. 2010 I become to love linux after 10 years of hp-ux Reply 144 Rafael Quirino de Castro June 7. So. Use tcmpdump and ngrep for packet sniffing HTB is very good for QoS in the network. Since in Linux everything is a file. disk. very userfull tools! Reply 142 dudhead June 5. 2010 Thanks :) THIS helped me a lot. especially if you need to reduce slower VPN network Reply 145 georges June 9. 2010 I´m lookuing for apache parameter on the web and found here. Reply 140 Walker June 4.and network load is only shown per process if a kernel patch has been installed. 2010 Great list! Missed df command in the list. 2010 fuser command is missing from this list. 2010 Hello. How to install a Suphp on cpanel. Reply 141 m6mb3rtx June 4.

2010 Is there any good tools for analyzing Apache/Tomcat instances.and so on Reply 148 Abdullah June 16. 2010 Thanks for the excellent list of commands. Reply 151 sriharikanth July 12. links and info. . at the end i think what you meant is “Bonus” and not “bounce” “bounce” means “jump” “bonus” means extra goodies :) Reply 149 dust June 23. very useful information provided. Jerome. 2010 Thanks.checking link status of ethernet connections . depending on the situation: .searching for network problems .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 146 Naga June 13. Reply 147 Jan 'luckyduck' Brinkmann June 15. 2010 What is in Linux that is equal to cfgadm in Solaris? Reply 150 Jerome Christopher July 6. 2010 nice list. 2010 ‘ethtool’ can also be very useful.

Thanks! Reply 154 Thomas August 3. 2010 Hi ite really very very nice which is helful to fresher. July 16.Reply 152 Jyoti July 13. having them all in one list will prove to be a good resource. Thanks a lot…………………. Thanks for the examples. 2010 web-based gui : webmin wins them all Reply 157 chandra August 28. 2010 Though i have come across most of these names. try BrainyPDM: an another open source tool! http://www. 2010 very useful Reply 153 t.org Reply 155 Zanil Hyder August 4.k. Regards Amuri Chandra Reply 158 George August 30. I am going to make a list from these and have it within my website which i use for reference. 2010 Good compilation of commands. 2010 Great resource…Really helpful for a novice as well for an expert… Reply .brainypdm. Reply 156 brownman August 20.. 2010 If you want graphy easly your performance data.

debian etc… Ftptop works with a lot of ftp servers daemons. The way I would do it is use collectl to show both processes sorted by I/O and ftp stats. 2011 Try ftptop . You can use it a similar way as the regular cron. 2010 I don’t believe that ftp usage by user is recorded anywhere. The difference is that the inotify cron handles filesystem events rather than time periods. It consists of a daemon and a table manipulator. I think you can find it in centos . slack. -mark Reply 163 jan February 24. 2011 Usually ftp access are recorded in /var/log/messages file (at least pure-ftpd) Reply 164 sriram September 12. Very useful tool Reply 165 Riadh Rezig September 12.159 SHREESAI LUG September 4. red hat . Reply 162 mark seger September 12. 2010 hiiiiiiiiiiiii we r SHREESAI LINUX USER GROUP FRM MUMBAI THIS COMMANDS R REALLY NICE THANKS VIVEK SIR PLZ REPLY US ON MAIL Reply 160 Tunitorios September 12. Then is simply becomes a matter of see which processes are contributing to the I/O and who their owners are. . My question is how to show the username(s) wich are connected to the server and they are using ftp protocole ? Reply 161 Marcelo Cosentino April 7. 2010 Dumpcap is another command which is useful for capturing packets. so you’d have to get inventive. 2010 There is another tools “Incron” : This program is an “inotify cron” system. 2010 Thanks for this great tips.

And how to define specific time to run this command. Reply 167 Amzath September 14. Thanks in advance. Also. Reply 169 Jalal Hajigholamali September 20. Would some1 help me here regarding. 2010 Hi. since last mirror. 2010 discus is a nice / light tool to have an idea of file system usage. 2010 Hi guys. 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.. use “rsync” command. etc stat – details of any file getconf – to get HP server details runlevel – redhat run level Search in web for more detailed info. i mean schedule. I m totally new to the linux & this web aswell.x. Reply 170 leebert September 28. 2010 Handy list. 2010 Don’t forget systemtap (stap) which provides the equivalent of Solaris’ invaluable “dtrace” scripting utility.Reply 166 eaman September 14. . mirrordir utility? what would b the full syntex if i only want to copy/mirror changed/edited files from source to destination. Good luck… Reply 168 Rafiq September 20. There’s a “dtrace” for Linux project but I haven’t been able to get it to compile on my OpenSuSE 11.

the RRD-related tools. iptraf. It’ll reveal the amount of wait a given process spends waiting for CPU. iftop. the sys-fs tools. the sysstat/sar-related sa* series (sadc. enabled via the grub kernel command line “delayacct” switch (starting with SuSE 10 Enterprise…). nagios. collectl. great for isolating lag in the system. 2010 please help where I can insert the command of route add of a node. sa1). saidar. sysctl. big sister/brother … you could fill a book with them all. iotop. sadf. iostat. how linux works Reply 174 Rino Rondan October 7. disk (I/O) or memory (swap). There are many many other monitoring tools (don’t know if these were mentioned before) atopsar (atop-related). dstat. whenever the server is up i have to re do the command. jnettop. blktrace (blktrace-blkiomon / blktrace-blkparse). nigel’s monitor (nmon). famd/fileschanged. htop. ftop. acctail. 2010 thank you so much it’s very usefull for me Reply 176 sameer October 15. 2010 ThanX.!! can u send basic linux commands with ex .On SuSE Linux is “getdelays” . 2010 Thanx !!! A really completed guide ! Reply 175 games October 8. 2010 IT IS SUPERB LIST Reply 173 MAHENDRA SINGH October 2. btrace. now i want to know that. isag. Reply 171 Lonu Feruz September 29. I need to know where i can put this command permanently Reply 172 nagaraju October 1. ftop. 2010 thanx your collection is fantastic..

there are so good. weekly and monthly usage. Reply 179 Stan April 21.Thanks again Reply 177 Gunjan October 17.. thanks so much… i found this through stumbleupon linux/unix Reply 182 ram November 12. 2010 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. 2010 Hi. Reply 181 david a. 2010 Nice post. 2010 very nice very importan tool of monetering thanks for ………………………………………. Thanks&Regards. very useful if you don’t want to install a web-based tool for this. its really useful and helping beginners to resolve server issue Reply 178 Moe October 19.thanks to builder…. Rajkapoor M .i love them! Reply 183 Rajkapoor M November 30. Reply 180 vishal sapkal October 19. 2010 well.. 2010 this rocks. it could not have come at a better time as i am into my first networking course. 2011 Nice history stats. It’s awasome……………………. lawson October 22.

great article. DNS. .Reply 184 jalexandre December 2. Ldap. Reply 186 Sarath Babu M December 11. 2010 Perl?! Reply 185 jalexandre December 2. Way to go Sumo Reply 190 Deepak January 6. and Zabbix for generate alarms and very nice graphs. i always love linux. the best that ever was and the best that ever will be. and I all applications. 2010 Hi. One of My Professor is introduce about the Ubantu This os is I like very much this flyover. 2010 Sumo is the best. 2010 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. 2011 Thanks …. sarath Reply 187 Laxman December 23. This is really helpful…. 2010 thanks alot … its a great help~! Reply 189 KK December 25. Before I am Using XP but now I download all app. 2010 Very interesting I will try I hope it’ll help for me Reply 188 sah December 23.

it just shows what is on the screen.Reply 191 mark January 7. can any one tell me what might be the problem. allow process termination and sending of signals (even multi select several processes) 3. is it OS level issue or my Application Issue. Active development. show cpu / ram usage with visual bars instead of numbers 4. where i have to start the tuning . 2011 Great list. Use your cursor keys to explore what cannot be shown on the screen. 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 193 coldslushy February 7. There are new features. Reply 195 abdul hameed February 2.1 start.. 2011 Colors do not always contrast well with the background. use colors for better readabilty. show ALL processes: top cannot do that. 6. for example full CLI parameters from commands. HTOP can do all top can. 5. 2011 Dear All.. Abdul Hameed . plus a ton of stuff more: 1. but why is TOP still used? It is a highly limited utility. My Oracle Enterprice Linux getting very slow. all computers have a super hightech thing on their monitor called COLORS (sarcasm off) 2. normally in other R12 instance only few Database users are available. Kinldy advice me. 2011 How would I get a list of slow running websites on my server via ssh? Reply 192 nigratruo January 13. 2011 Colors? Too resource intensive… Reply 194 josh July 19. It is the main limiting factor that made me chuck it to the curb. In the 21st century. Thanks in Advance. when my local R12. by using “top” command i found lot of Database users are running.

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”.Reply 196 Vimal February 9. But then 4. 2011 Friends I have typed the corrected question here below. Other software. Reply 200 krishna February 23. even compressed. despite today’s machines being so much faster. It didn’t hurt either that memory was getting cheaper. Today’s 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. And forget about Windows! Reply 198 benjamin ngobi February 15. 2011 Awesome Thanks a ton worth a bookmark. when my local R12. and people were saying “Unix is becoming VMS”? With 4.. 2011 “My Oracle Enterprice Linux getting very slow.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). Green Hills employees seemed a glaring exception and I don’t know about Microsoft) have to prove they have learned good programming practices before their skills are considered acceptable). and we could afford to upgrade our 30 user timesharing systems from four Megabytes to eight Megabytes. people! Remember when 4. still feels about the same as it did in the eighties. So much was added so quickly into 4. are many times larger. 2011 wow these are great tools one should know.1 start. which now really scream by – compiling a quarter meg kernel used to take hours. we had been flying on one MIP machines (think of a one Mhz clock rate – three orders of magnitude slower than today’s machines. Please let me know if you can help: .2BSD came out. 2011 Shit. like the X server. not Ghz… Mhz!). whereas now it feels like barely seconds pass when compiling kernels that. this looks great! Thanks very much.1 BSD.thank you so much coz it just makes me better every day Reply 199 Mousin February 16.” Arghh! Linux is turning into Windows! These are super machines. Reply 197 Michael February 10.2 (kernels were no longer a few hundred kilobytes at most) that performance took a nose dive. But then. compiler writers for the most part (25 years ago.

2011 thanks.. Note: NO EXTERNAL TOOLS are allowed to be used with linux. Only shell script should be written for the same! Reply 201 krishna March 4. 2011 I got the answer for it i used $vi file1 #!/bin/bash while [ true ] do echo “—$(date)—-” >> richprocess echo ” 1. 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.. Reply 202 vasu April 16. & How many process are running currently in “exact numbers”?. 2011 1) lshw 3) w user Reply 203 ysha March 4. Free mem available in system” >> richprocess free -m >> richprocess echo ” 3..Iwantothersdomyhomework. I am asking help only because I want to learn. 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.Part1 : Find out the system resources — CPU Usage.com” please dont post things like this. 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. virtual mem of the system” >> richprocess vmstat >> richprocess echo ” 2. i love it . Memory Usage. saying “www. Thanks for support from this site.. What is the current run level of the process. I had a worse comment from someone to try a nonexistent website.

I would add LogWatch. Reply 210 Matias April 12. 2011 This is really helpful. Reply 208 John April 5. I know these tools. 2011 Great Work man. it really works for a newby like me Reply 206 Michael March 17. 2011 Very good for beginners as well as professional. Plz help…. .Reply 204 Rohit Shrivastava March 10. Many thanks for your tips. 2011 cant see nload on the list .. to send daily reports to your mail. 2011 nice one. but did not use them well. Reply 209 Parthyz April 12. thanks a lot. Thank you very much Sir for sharing your knowledge. 2011 Nice list. Reply 211 sasidaran April 15.. I really appreciate. nload eth0 should show rest. 2011 Good collection of commands. Reply 207 PRADEEP March 28. 2011 I ve updated kernel…now i need to update it without restart the server.. easy showing of whats going on with your network. Reply 205 ctian March 11.

see manual page of iptables and get examples from google Reply 217 sudipta June 3. 2011 Hi. 2011 Plz help me how write the firewall rules in linux. 2011 Thanks for sharing a good list of useful commands. 2011 . which is logged in vai ssh could you please help me?? Reply 215 chandu May 6. 2011 top Reply 214 Sachin Jain April 18. Reply 216 Jalal Hajigholamali May 6. friends i want to watch terminal session. 2011 Thanks for sharing such a use full commands.Reply 212 TiTiMan April 15. I found a typo where there should not be a dash in front of the options for ps auxf in the command for Find Out The Top 10 Memory Consuming Process and Find Out top 10 CPU Consuming Process Reply 213 vasu April 16. 2011 GR8 effort … Worth 2 b appreciated Reply 218 Liunx June 10.

cpu frequency. daily.org/ Reply 220 Jalaluddin June 24.That’s great! thanks very much. Reply 219 foster June 16. 2011 Hi I want to learn linux firewall and file server from base. weekly. in which link i can get all those useful material. At the moment it provides graphs for memory usage. Reply 222 Bhanu Kashyap July 9. Thank You Reply 221 Adil Husain June 30. 2011 Nice list … i’ll bookmark it for quick ref. number of open files. monthly … graphs of various system data. cpu info.!! Reply 223 Raivis July 12. ntpdrift. https://www. number of processes. Can u sujjest me. disk iostat. harddisk/partition usage and temperatures. privoxy proxy statistic.de/sw/systemgraph/ Nice graphical system statistics RRDTool frontend which produces hourly. fan status and system temperatures. number of tcp connections.decagon. network traffic. It consists only of some shell and perl scripts. number of users. system load.A July 14. Thanks…. Reply 224 Aviv. 2011 You forgot the command “htop” :D . protocl statistic. 2011 Its Very Useful For Us…. It is simple and it doesn’t require snmp. 2011 Nagios fork Icinga should be on people’s radar as well. 2011 systemgraph – http://www.icinga.

cpu monitoring linux. 2011 An other interesting program wich hasn’t been mentioned yet is Midnight Commander (mc). Thanks all for your contributions. htop command. nagios monitoring linux. 2011 Nice List 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.Reply 225 Laurens July 15. At least it’s my favourite file manager in a console environment. pgrep command. network monitoring linux. process monitoring linux. Submit Tagged as: bandwidth monitoring tool linux. monitoring linux servers. ps command. netstat command. load monitoring linux. There are a lot of interesting programs wich I already use. ss command. or certainly will be using in the future. Reply 226 Sravi Raj July 19. top command Previous post: My 10 UNIX Command Line Mistakes . disk monitoring linux.

All rights reserved.777 people like nixCraft. Privacy Policy | Terms of Service | Questions or Comments | Copyright Info | Sitemap .5 For Windows. Rahul Jagadeesh Jacob M ukesh M ik S tephen Kian Sin Rob H elio Sotheany F acebook social plugin Related Posts Essential tools for monitoring and administrating MySQL Server How To Track Changes in Your Linux Filesystem Download of the day: AutoScan Network Monitoring – Management Tool ©2004-2011 nixCraft. Mac OS X Sign up for our daily email newsletter: Enter your email address Sign Up Search Find us on Facebook nixCraft Like 11. Cannot be reproduced without written permission.Next post: Download Of the Day: Firefox 3. Linux.

Sign up to vote on this title
UsefulNot useful