Search This Blog

Thursday 21 January 2021

Searching a log files in Linux

 Being a Developer and Administrator, It is our everyday duty to analyze log files of bi server, scheduler, presentation or nodemanager log. 

When logs are growing, it is difficult to identify and track it. For e.g: When hundred Agents are scheduled, it is creating 200 files everyday with .log and .err files in scheduler log location. 

When you want to search yesterday or today or 10 days before with the particular agent log file, the following syntax will help you to bring up the files.

[logs]$ find . -iname "Agent-111-*" -atime -2 -type f -ls

The above syntax will list out all the files starts with Agent id 111 before 2 days.

Customize the syntax based on your need.


Cheers!

Bose 

21 comments:

  1. Thanks for sharing such a valuable this post, It was great reading this article. I would like to know more about it
    Business intelligence

    ReplyDelete
  2. thanks for your helpful instruction. and we want more.

    ReplyDelete
  3. keep going its really helpful keep sharing your information

    ReplyDelete
  4. Nice blog, Thank you for this blog is very informative.

    ReplyDelete
  5. Great post, you have pointed out some fantastic points , I likewise think this s a very wonderful website. dark0de market url

    ReplyDelete
  6. Very informative post! There is a lot of information here that can help any business get started with a successful social networking campaign. dark0de market link

    ReplyDelete
  7. The blog has been written in a manner that there isn't anything that has been left revealed, and furthermore, I have perused different web journals that are posted here and they are altogether worth a read.
    visit site

    ReplyDelete
  8. I Like to add one more important thing here, The global Artificial Intelligence Platform market is expected to be around US$ 13.80 Billion by 2025, at a CAGR of more than 28% in the given forecast period.

    ReplyDelete
  9. Such beautiful article in your BlogSpot and lovely humour during while read article lots of new information and glad to thankful knowable tips. Best Textile Designing Course In Delhi NCR, Best Institute for Short Term Courses

    ReplyDelete
  10. thanks for creating this content on your website to know more google now.albaik founder in india <a href="https://images.google.at/url?sa=t&url=https://www.al-baik.in
    ”>al-baik founder in india</a>

    ReplyDelete
  11. thanks for creating this content on your website to know more google now.albaik founder in india
    al-baik founder in india

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. Hi there! Thanks for sharing this! This is very fantastic blog. want to read many more like this content.. If, you want to, you can also visit our website: Business Intelligence

    ReplyDelete
  14. I really enjoyed reading this blog. Thank you for sharing your work. Thank you for Sharing such an amazing article.
    ratan khatri pannel chart
    supreme day pannel chart
    supreme night pannel chart

    ReplyDelete
  15. Thanks For Sharing we are the part of Digital Marketing at Lebynd

    ReplyDelete

What is Oracle Database Link and How to create database link (DB Link)

 https://www.oracletutorial.com/oracle-administration/oracle-create-database-link/

Recent Posts