Flipkart

Tuesday, September 11, 2012

Get overall CPU Usage using TOP command in Linux

Here is the command which gives the total CPU usage in %

top -bn1 | grep "Cpu(s)" | \sed "s/.*, *\([0-9.]*\)%\id.*/\1/" | \awk '{print 100 - $1"%"}'


Here is another command in which, we can write the conditions to display the results. Below is the example which display the process names which exceeds by given $cpuUtil value.

$cpuUtil = 2

ps -e -o pcpu  -o args  --no-heading | sort -k 1 -r | awk '$1 > $cpuUtil { print $2 }'

109 comments:

  1. Thank for your writing. I think this give more information which is very popular nowadays.

    ReplyDelete
    Replies
    1. So charming and tempting they are looking. I am sure I am going to try this out for one of my events that is taking place at my place.http://www.escort-hk.net/.

      Delete
  2. I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own Blog.

    ReplyDelete
  3. It is meaningful information. Thank for your posting. I hope to see more than that.

    ReplyDelete
  4. Most of us are thankful to be working, and accept whatever the company gives us.

    ReplyDelete
  5. This is great! It really shows me where to expand my blog. I think that sometime in the future I might try to write a book to go along with my blog, but we will see.Good post with useful tips and ideas

    ReplyDelete
  6. I visited your site & after visiting i found that it is very informational for everyone you have done really a great job thank you

    ReplyDelete
  7. Wonderful job right here. I seriously enjoyed what you had to say. Keep going because you absolutely bring a new voice to this topic. Not many people would say what youve said and still make it interesting.

    ReplyDelete
  8. Great article as are all the rest found on this site. I know a couple of friends of mine who'll love this place so, I'll be sure to pass this site along to them. Thanks. signs

    ReplyDelete
    Replies
    1. I am so happy to read this. This is the kind of manual that needs to be given and not the random misinformation that's at the other blogs. Thanks for sharing this.

      Delete
  9. toronto landscaper, I am very satisfied with the content that you mentioned. I wanted to thank you for this great article. I enjoyed every bit of his party and I'll be waiting for updates.

    ReplyDelete
  10. vertrek schiphol, These kinds of articles are always attractive and I am happy to find so many good points here in the post. I appreciate it very much! I am looking forward to other share. Thank you so much!

    ReplyDelete
  11. Nice post on this topic. I like your blog very much because it has very helpful articles on various topics like different culture and the latest news.

    ReplyDelete
  12. Good share, you topic is very great and useful for us…thank you. I just like the approach you took with this subject. It isn’t every day that you discover something so concise and enlightening.

    ReplyDelete
  13. landscape companies, I want to extend my greatest appreciation with the article you post me really love to read it

    ReplyDelete
  14. toronto landscaping contractors, Thank for your writing. I think this give more information which is very popular nowadays.

    ReplyDelete
  15. (ביטוח סוסים),
    It is really a nice and helpful piece of info. I'm glad that you shared this helpful information with us. Please stay us informed like this. Thanks for sharing.

    ReplyDelete
  16. Brandon Azadegan Mortgage Fraud, Google, Face book and any other company would be G L A D to sell your information to everyone under the sun if they were allowed to.

    ReplyDelete
  17. markham landscaping, What a great discussion! I'm so delighted to find other people who care about this topic, which I've been puzzling over for a while. Thanks

    ReplyDelete
  18. I like your writing style. It is easy to understand the content of the article.

    ReplyDelete
  19. What a great discussion! I'm so delighted to find other people who care about this topic, which I've been puzzling over for a while. Thanks

    ReplyDelete
  20. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement.
    Hey its been really a very good and informative post to read on. I will keep these points in my mind from now onwards, hope will not commit mistakes

    ReplyDelete
  21. landscaping company, Thank you for the great article I did enjoyed reading it, I will be sure to bookmark your blog and definitely will come back from again. I want to encourage that you continue your great job, have a good day.

    ReplyDelete
  22. Thank you for the summary and sharing more of your own thoughts on this count.

    ReplyDelete
  23. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement.
    Hey its been really a very good and informative post to read on. I will keep these points in my mind from now onwards, hope will not commit mistakes

    ReplyDelete
  24. landscape contractors, I want to extend my greatest appreciation with the article you post me really love to read it

    ReplyDelete
  25. markham landscaping, Thanks for taking the time to discuss that, I really feel strongly about it and love learning more on that topic. If achievable, as you gain competence, would you mind updating your blog with more information? It is highly helpful for me

    ReplyDelete
  26. Fire Alarm Jobs

    Good share, you topic is very great and useful for us…thank you. I just like the approach you took with this subject. It isn’t every day that you discover something so concise and enlightening.


    ReplyDelete
  27. Thanks so much with this fantastic new web site. I’m very fired up to show it to anyone. It makes me so satisfied your vast understanding and wisdom have a new channel for trying into the world.

    ReplyDelete
  28. toronto lawn care, I admire the work that you do there. Must be a challenge to do a VIP blog each week. But very appreciated,

    ReplyDelete
  29. This is definitely a blog that people need to get behind. The problem is, no one wants to do a great deal of reading and not have something else to stimulate the mind.

    http://www.youtube.com/watch?v=209kJD-M3_A

    ReplyDelete
  30. lawn sprinklers toronto, I am glad for commenting to let you understand what a awesome discovery our girl gained checking yuor web blog. She discovered such a lot of issues, including what it's like to possess an awesome helping mindset to have a number of people effortlessly gain knowledge of selected problematic topics.

    ReplyDelete
  31. Oh! Great, these kinds of sites are really helpful for searching good and useful stuff , thanks a lot for sharing this one

    ReplyDelete
  32. Thank you for the summary and sharing more of your own thoughts on this count.

    ReplyDelete
  33. What a great discussion! I'm so delighted to find other people who care about this topic, which I've been puzzling over for a while. Thanks

    ReplyDelete
  34. joseph b Garza, * Thanks a lot and keep sharing the information. Keep updating the information for all of us.

    ReplyDelete
  35. Wow!! What a great writing, really I appreciate such kind of topics. It will be very helpful for us. Waiting for more articles, blogs like this. I’m going bookmark your blog for future reference. Thanks a lot for sharing this.

    ReplyDelete
  36. Regenerative Leadership Institute, I enjoy reading your article/ blog; I find most of them to be thoughtful and interesting

    ReplyDelete
  37. Thanks so much with this fantastic new web site. I’m very fired up to show it to anyone. It makes me so satisfied your vast understanding and wisdom have a new channel for trying into the world.


    ReplyDelete
  38. These kinds of articles are always attractive and I am happy to find so many good points here in the post. I appreciate it very much! I am looking forward to other share. Thank you so much!

    ReplyDelete
  39. lawn maintenance toronto, Thanks a lot and keep sharing the information. Keep updating the information for all of us.

    ReplyDelete
  40. Thank you for the summary and sharing more of your own thoughts on this count.

    ReplyDelete
  41. Really I'm impressed out of this post…The one that created this post can be a genius and learns how to keep your readers connected..Thank you for sharing this with us. Excited for much more updates.

    ReplyDelete
  42. Joe b Garza Texas State Bar, Thanks a lot and keep sharing the information. Keep updating the information for all of us.

    ReplyDelete
  43. smart parking schiphol, I admire the work that you do there. Must be a challenge to do a VIP blog each week. But very appreciated,

    ReplyDelete
  44. lawn maintenance toronto, * Most of us are thankful to be working, and accept whatever the company gives us.

    ReplyDelete
  45. toronto lawn care,
    * Thanks a lot and keep sharing the information. Keep updating the information for all of us.

    ReplyDelete
  46. I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own blog now.

    ReplyDelete
  47. I like this post,And I guess that they having fun to read this post,they shall take a good site to make a information,thanks for sharing it to me. 

    ReplyDelete
  48. Regenerative Leadership Institute, * Most of us are thankful to be working, and accept whatever the company gives us.

    ReplyDelete
  49. Thank for your writing. I think this give more information which is very popular nowadays.

    ReplyDelete
  50. Pretty good post. I merely stumbled upon your website and wanted to say that I have really enjoyed reading through your blog posts. Any ways I'm going to be subscribing for your feed and I hope you post again soon.

    {Fire Alarm Jobs}

    ReplyDelete
  51. Thanks so much with this fantastic new web site. I’m very fired up to show it to anyone. It makes me so satisfied your vast understanding and wisdom have a new channel for trying into the world

    Regenerative Leadership Institute

    ReplyDelete
    Replies
    1. This is great! It really shows me where to expand my blog. I think that sometime in the future I might try to write a book to go along with my blog, but we will see.Good post with useful tips and ideas. Timber Merchants Blackburn

      Delete
  52. How pretty and good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. I am very happy to be read your share. Have a good time

    ReplyDelete
  53. I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own blog now.

    ReplyDelete
  54. * Thanks a lot and keep sharing the information. Keep updating the information for all of us.

    ReplyDelete
  55. How pretty and good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. I am very happy to be read your share. Have a good time !

    ReplyDelete
  56. Your style is very unique in comparison to other folks I have read stuff from. Thanks for posting when you have the opportunity, Guess I’ll just book mark this page.

    ReplyDelete
  57. Good share, you topic is very great and useful for us…thank you. I just like the approach you took with this subject. It isn’t every day that you discover something so concise and enlightening.

    ReplyDelete
  58. Really I'm impressed out of this post…The one that created this post can be a genius and learns how to keep your readers connected..Thank you for sharing this with us. Excited for much more updates.

    ReplyDelete
  59. Just wanna input that you have a very nice internet site , I like the style it really stands out.

    ReplyDelete
  60. Thank you for your share. I found your website perfect for my needs. It contains wonderful and helpful information. I have read most of them and got a lot from them.

    ReplyDelete
  61. Thanks for the write up……………..!Keep up!The organization logo and brand punch line are imprinted with an aim to improve the overall brand visibility. Even the color scheme and typographic setting implemented in designing these beer coasters takes into account the brand positioning.

    ReplyDelete
  62. I agree with your conclusions and will eagerly look forward to your incoming updates. Just saying thanks will not just be adequate, for the wonderful clarity in your writing.It is imperative that we read blog post very carefully

    ReplyDelete
  63. I think that sometime in the future I might try to write a book to go along with my blog, but we will see.Good post with useful tips and ideas.

    ReplyDelete
  64. I enjoyed reading you post. Usually writing skills is attained via practice: e. I am sharing it with my other friends on social networking sites, as the information is really very useful. Keep sharing your excellent work.

    ReplyDelete
  65. These kinds of articles are always attractive and I am happy to find so many good points here in the post. I appreciate it very much! I am looking forward to other share. Thank you so much!

    ReplyDelete
  66. I would really admire the work and efforts you did to make this blog wonderful and spectacular thanks keep post I wanted to write a quick note to express my thanks. I’m really impressed by a blog unique and perfectly chosen and organized!

    ReplyDelete
  67. Really I'm impressed out of this post…The one that created this post can be a genius and learns how to keep your readers connected..Thank you for sharing this with us. Excited for much more updates.

    ReplyDelete
  68. What a great discussion! I'm so delighted to find other people who care about this topic, which I've been puzzling over for a while. Thanks
    A very good looking site and very informative too.

    ReplyDelete
    Replies
    1. Sleeping Pills Online
      Extremely clear clarification of issues is given and it is open to every living soul. I have perused your post, truly you have given this extraordinary informative data about it.

      Delete
  69. I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own blog now.

    ReplyDelete
  70. I agree with your conclusions and will eagerly look forward to your incoming updates. Just saying thanks will not just be adequate, for the wonderful clarity in your writing.It is imperative that we read blog post very carefully

    ReplyDelete
  71. I agree with your conclusions and will eagerly look forward to your incoming updates. Just saying thanks will not just be adequate, for the wonderful clarity in your writing.It is imperative that we read blog post very carefully

    ReplyDelete
  72. Thanks a lot and keep sharing the information. Keep updating the information for all of us.

    ReplyDelete
  73. Really I'm impressed out of this post…The one that created this post can be a genius and learns how to keep your readers connected..Thank you for sharing this with us. Excited for much more updates.

    ReplyDelete
  74. Many thanks with regard to providing this particular data. Thus giving me personally plenty of understanding......

    ReplyDelete
  75. I would like to thank you for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own blog now.

    ReplyDelete
  76. How pretty and good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. I am very happy to be read your share. Have a good time !

    ReplyDelete
  77. Good share, you topic is very great and useful for us…thank you. I just like the approach you took with this subject. It isn’t every day that you discover something so concise and enlightening

    ReplyDelete
  78. I am so fascinated with the entire content of your site, from the material to the theme. I really had a great time reading and watching this post.

    ReplyDelete
  79. This aspect is said to be very complicated and difficult. your presentation help me to have different view.Diamond Prices

    ReplyDelete
  80. I think I will become a great follower.Just want to say your article is striking. The clarity in your post is simply striking and i can take for granted you are an expert on this subject.

    ReplyDelete
  81. This is a good common sense article. Very helpful to one who is just finding the resources about this part. It will certainly help educate me

    ReplyDelete
  82. Thanks for sharing excellent informations. I’m impressed by the details that you’ve on this web site. I will come back soon.

    ReplyDelete
  83. This post is truly inspirational. I like your post and all you share with us is up to date and quite informative. Unbiased Simmons BeautyRest

    ReplyDelete
  84. I am very happy to be read your share. Have a good time ! bike locks

    ReplyDelete
  85. I really get pleasure from this theme you've happening in your website. what's the name of the guide by the way? i used to be thinking of exploitation this vogue for the positioning i'm aiming to construct for my faculty project.Double Glazing Preston

    ReplyDelete
  86. I want you to thank for your time of this wonderful read!!! I definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog.Timur Sener

    ReplyDelete
    Replies
    1. This is the kind of manual that needs to be given and not the random misinformation t hat's at the other blogs. Appreciate your sharing this best posting. Door Casing

      Delete
  87. Thanks for sharing excellent informations. Your website is very cool. I’m impressed by the details that you’ve on this web site. It reveals how nicely you understand this subject. Bookmarked this website page, will come back for more articles.

    ReplyDelete
  88. Thanks for the unmatchable diary.it was rale useful for me.navigator sharing specified ideas in the instant as symptomless.this was actually what i was labour for,and i am voluntary to came here!SEO Liverpool

    ReplyDelete
  89. Most of us are thankful to be working, and accept whatever the company gives us. bicycle lock

    ReplyDelete
  90. ecift Aşkın tadı Nestlé, aşkın yolu eÇift'le buluştu! Nestlé Sütlü ve Bitter Çikolatalı Gofret'lerdeki şifreler, eÇift.com Premium üyeliği kazandırıyor! Ayrıntılar: http://bit.ly/ ...

    ReplyDelete
  91. I think that it is very interesting, hopefully, you will keep posting such blogs..Keep sharing

    ReplyDelete
  92. I just want to thank you for sharing your information and your site or blog this is simple but nice Information I’ve ever seen i like it i learn something today.Blockboard

    ReplyDelete
  93. They get the most recent models of treadclimber models' features comprehensively. walk tc

    ReplyDelete
  94. This was actually what I was looking for, and I am glad to came here! Thanks for sharing the such information with us.Social Media Marketing Manchester

    ReplyDelete
  95. Excellent! It is a successful article. The information is very useful. Thank so much! seat lock

    ReplyDelete
  96. Getting enough rest and relaxation is, surprisingly, very helpful when trying to lose weight. hcg diet protocol

    ReplyDelete
  97. It is really a nice and helpful piece of info. I'm glad that you shared this helpful information with us. Please stay us informed like this. Thanks for sharing. theft prevention

    ReplyDelete
  98. I really enjoy this design you have got going on your web site. What is the name of the template by the way? I was thinking of using this style for the blog I am going to build for my class project.

    ReplyDelete
  99. Thanks a lot and keep sharing the information. Keep updating the information for all of us. buy hcg drops

    ReplyDelete
  100. I feel strongly about it and love reading more on this topic. security skewers

    ReplyDelete
  101. Soma Online
    This is such a great information for me, because i do an online job thats why i need fast Internet connection, i search how to bost internet speed then ireach at a right place.

    ReplyDelete
  102. I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you web log post. www.walktc.com

    ReplyDelete