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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BPERROR Windows SCRIPT

Status
Not open for further replies.

timmy411

MIS
Joined
Oct 28, 2002
Messages
3
Location
US
I have a windows 2003 master server that I need to generate a open file report from daily. I have the following script woring, but it is ugly to read.

bperror -all -hoursago 24 | qgrep -e "can't open file"

1139194045 1 4 8 server1.com 133787 133787 0 Server1 bpbrm from client server1: WRN - can't open file: C:\WINNT\test.log (WIN32 32: The process cannot access the file because it is being used by another process. )

Is there a way to eliminate all but the client name and open file path? Server1 C:\WINNT\test.log

Thanks in advanced..

TS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top