Narrative:

While leveling out at FL260, ATC advised of traffic at FL270. While I was searching for traffic, aircraft crept up to 250 ft above FL260. First officer called out altitude, I returned to FL260. 4TH leg of day nearing 10TH hour of duty. Fly aircraft first and then look for traffic.

Google
 

Original NASA ASRS Text

Title: CAPT OF A DC9 OVERSHOT ASSIGNED ALT DURING CLB DUE TO WATCHING FOR TA.

Narrative: WHILE LEVELING OUT AT FL260, ATC ADVISED OF TFC AT FL270. WHILE I WAS SEARCHING FOR TFC, ACFT CREPT UP TO 250 FT ABOVE FL260. FO CALLED OUT ALT, I RETURNED TO FL260. 4TH LEG OF DAY NEARING 10TH HR OF DUTY. FLY ACFT FIRST AND THEN LOOK FOR TFC.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.