Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to run a Batch job to view the last 20 lines of the Activity Log? 1

Status
Not open for further replies.

hem1meh

Technical User
Jan 8, 2003
2
GB
Hi,

I am trying to find some information to automate my morning checks. I would like to write a batch file to view the last 20 lines of the activity log. We have about 42 remote servers. Thank you for you help.

Rgds,
Heather
 
I have the same needs. If anyone has any input, it would be much appreciated.
 
There is a unix util called tail.exe that can be run on windows. You pass it the filenam and the number of lines you want returned from the end of a file, you can redirect the output to a text file.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top