Any utility or tool to check logs


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Any utility or tool to check logs
# 8  
Old 09-09-2014
Welcome ankush_mehra ,

Can you tell us more about the directory stricture that the log files will be written to, eg:-
  • Are they /logs/Monday, /logs/Tuesday etc. or /logs/2014-09-09 style. If so, what format?
  • Are the logs single files for the day or one for each job (named for the job, process id, timestamp etc.) ?
  • Are the contents of the log files (however organised) consistent so you can search for a particular string or expression?
  • Are the log files archived, overwritten or just forever growing in number?
A good response also depends on what you have tried so far and what you are comfortable with. It would be better if we can work out what you know so that you can maintain any solution, rather than us just giving something that works in a test situation, but then is hard for you to adapt for actively using it.


It would help us all if you could consider these questions:-
  • What have you tried so far?
  • What output/errors do you get and how far off are you?
  • Can you supply some sample input and output required? (wrapped in CODE tags please)
  • What OS and version are you using?
  • What are your preferred tools? (C, shell, perl, awk, etc.)
  • What logical process have you considered? (to help steer us to follow what you are trying to achieve)
Most importantly, What have you tried so far?

There are probably many ways to achieve most tasks, so giving us an idea of your style and thoughts will help us guide you to an answer most suitable to you so you can adjust it to suit your needs in future.


We're all here to learn and getting the relevant information will help us all.


Kind regards,
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need to check logs

I have nearly 25+ tail commands which we need to verify the logs if there is any errors on current or previous date with time. I need this to be automate and send email to me with details. Please help me on this. (5 Replies)
Discussion started by: Nasir HussainSM
5 Replies

2. Shell Programming and Scripting

Wich tool for check that two system have the same configuration

Hello , On a couple of system I have to check that systems have the same configuration. This system are part of manual cluster but when application are going to switch from one side to another side I would like to be sure I am not going to experience incidents. It is why I wonder if on the web... (2 Replies)
Discussion started by: xavier38450
2 Replies

3. Shell Programming and Scripting

Script to check logs

I have 5 log files under different directores . say for eg abc under /home/dir1 , xyz under home/dir2 . is there a script that i can run from say /home that searchers all these files for string or combination of strings and write to a file eg search file by timestamp|keyword o/p in a file (6 Replies)
Discussion started by: Nevergivup
6 Replies

4. Solaris

logs to check

Hi all i want to know what are the logs we need to check when the server is down and how to resolve to make server UP? please help me with this (8 Replies)
Discussion started by: vkav
8 Replies

5. UNIX for Dummies Questions & Answers

which is the best online tool to analyze vmstat logs

hi all which is best online tool to analyze the vmstat logs to measure the cpu performance (2 Replies)
Discussion started by: din_annauniv
2 Replies

6. Shell Programming and Scripting

How to check whether logs are updating or not?

how to check whether logs are updating or not in unix is there any built in command or function ? (1 Reply)
Discussion started by: mail2sant
1 Replies

7. UNIX for Dummies Questions & Answers

check disk utility

Is there a UNIX check hard disk utility similar to the DOS utility chkdsk ? If there is one can it fix hard disk problems like checkdsk /f can with a DOS system? Where can I find these commands? (1 Reply)
Discussion started by: hatcity
1 Replies

8. Programming

How to write a tool or utility in C/Tuxedo?

Hi, I have a hard time to think of writing a tool or call its an API utility in order to migrate the data from an old-system (DB2) to a new-system (Oracle). I never do this before. There are many records in the old database DB2. I can't just map each of them to the new database by manually. ... (1 Reply)
Discussion started by: tux-denle
1 Replies
Login or Register to Ask a Question