Question : Monitor For Only Specific Words

Hi,

I want to monitor only a specific name in the a log file with tail command. Is this possible?

We able to monitor a log file with tail -f messages.log. But I see all logs with this command in the messages log file. Example I want to see only related websrv logs with this command. How can i see for only websrv logs with tail command or via different way on the Aix OS.

Thanks.

Answer : Monitor For Only Specific Words

First of all, there is no inherent numbering of rows in MySQL, so selecting "odd" or "even" rows is not possible unless you have a field that numbers them.

If you have such a field, say RowNumber, then use

SELECT * FROM Table WHERE MOD(RowNumber) = 0   for the even rows, or
SELECT * FROM Table WHERE MOD(RowNumber) <> 0   for the odd rows.
Random Solutions  
 
programming4us programming4us