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

14 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. Thanks for providing this informative information you may also refer.
    http://www.s4techno.com/blog/2016/07/12/quick-guide-to-iscsi-on-linux-and-solaris/

    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.

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

    ReplyDelete
  4. 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
  5. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.

    angularjs Training in chennai
    angularjs Training in chennai

    angularjs-Training in tambaram

    angularjs-Training in sholinganallur

    angularjs-Training in velachery

    ReplyDelete
  6. 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
  7. 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
  8. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    Devops Training courses
    Devops Training in Bangalore
    Best Devops Training in pune
    Devops interview questions and answers

    ReplyDelete
  9. 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
  10. This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me.. 
    Data Science course in kalyan nagar | Data Science course in OMR

    Data Science course in chennai | Data science course in velachery

    Data science course in jaya nagar | Data science training in tambaram


    ReplyDelete
  11. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.

    rpa interview questions and answers
    automation anywhere interview questions and answers
    blueprism interview questions and answers
    uipath interview questions and answers
    rpa training in chennai

    ReplyDelete
  12. Wow it is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.

    rpa training in velachery| rpa training in tambaram |rpa training in sholinganallur | rpa training in annanagar| rpa training in kalyannagar

    ReplyDelete