Friday 10 February 2012

10 Linux Performance Monitoring and Debugging Tools

Similar to the previous post, this short post provides 10 monitoring and debugging tools that will be helpful when you are working on a Linux environment.
Sar
#Report I/O statistics every 1 second for a total of 3 times
sar –b 1 3
Tcpdump
# Displays captured packages in ASCII
tcpdump –A –i eth0
Iostat
#Displays information about the CPU usage and I/O statistics about all the partitions of the system
iostat
Mpstat
#Report processor statistics
mpstat -A
Vmstat
#Display the memory usage (including swap)
vmstat
PS
#Display processes that belong to the specified usernames
ps –f –u wwwrun, postfix

#Display the process id and commands in a hierarchy.
ps –e –o pid,args --forest
Free
#Display the total physical memory on this system in KB
free

#Display total in MB displaying the sum of physical and swap memory values, excluding the buffer/cache line.
free –mto
TOP
# Displays a specific user process only
top –u geek

While unix top command is running, press u which will ask for username.
Pmap
#Displays memory of the given process id
pmap 5732

#Display additional information about the memory maps
pmap –x 5732

#Display the device information of the process maps
pmap –d pid

20 comments:

  1. This is truly a great read for me. I have bookmarked it and I am looking forward to reading new articles.
    Employee Engagement Solutions

    ReplyDelete
  2. Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks from every one of us.

    Best AWS Training in Chennai | Amazon Web Services Training in Chennai

    ReplyDelete
  3. Your new valuable key points imply much a person like me and extremely more to my office workers. With thanks from every one of us.

    AWS Training in Bangalore | Amazon Web Services Training in Bangalore

    Amazon Web Services Training in Pune | Best AWS Training in Pune

    ReplyDelete
  4. Excellent blog, I wish to share your post with my folks circle. It’s really helped me a lot, so keep sharing post like this
    python training in pune | python training institute in chennai | python training in Bangalore

    ReplyDelete
  5. All the points you described so beautiful. Every time i read your i blog and i am so surprised that how you can write so well.
    python interview questions and answers | python tutorials

    ReplyDelete
  6. Very well written blog and I always love to read blogs like these because they offer very good information to readers with very less amount of words....thanks for sharing your info with us and keep sharing.
    Java training in Chennai | Java training in Bangalore

    Java interview questions and answers | Core Java interview questions and answers

    ReplyDelete
  7. Attend The Python training in bangalore From ExcelR. Practical Python training in bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python training in bangalore.
    python training in bangalore

    ReplyDelete
  8. Anda hanya perlu mendapatkan nilai kartu tertinggi dalam pemrainan Ceme ini. Dimana kartu tertinggi adalah angka 9 dari hasil kartu yang di bagikan.
    asikqq
    http://dewaqqq.club/
    http://sumoqq.today/
    interqq
    pionpoker
    bandar ceme terpercaya
    freebet tanpa deposit
    paito warna
    syair sgp

    ReplyDelete
  9. Great blog !It is best institute.Top Training institute In Coimbatore
    http://glimtechnologies.com/aws-training-coimbatore/
    http://glimtechnologies.com/angular-js-training-coimbatore/
    http://glimtechnologies.com/dotnet-training-coimbatore/
    http://glimtechnologies.com/dotnet-training-coimbatore/
    http://glimtechnologies.com/sas-training-coimbatore/
    http://glimtechnologies.com/wordpress-training-coimbatore/

    ReplyDelete
  10. There is a one more site like this website. It helps me to grow my knowlegde and my website traffic. I think it is very helpful for use. You can check it out Here..

    ReplyDelete
  11. HVAC & Plumbing Services
    Air Star Heating guarantees reliability and quality for all equipment and services.

    Air Star Heating specialists always try to deliver the most excellent quality of services to our customers at an affordable price. It is understood that every client has different needs and different problems. We try to accomplish the needs of every client according to their requests. We are having considerable experience in this field. Our specialists understand very well how things work. It doesn’t matter in which field of industry you are looking for services.
    Plumbing & HVAC Services in San Diego. Call now (858) 900-9977 ✓Licensed & Insured ✓Certified Experts ✓Same Day Appointment ✓Original Parts Only ✓Warranty On Every Job.
    Visit:- https://airstarheating.com

    ReplyDelete