Solaris 9 - reading data between pipes (or is this a /proc question?)

From: Birl (sbirl@temple.edu)
Date: Tue Sep 23 2003 - 10:30:10 EDT


Hello once again gurus:

I hope I phrase this question correctly. I tried to Google for the
answer, but Im not sure if I sent the query correctly.
(used: Solaris read between pipe process)

I executed this command back on Friday the 19th:

# nmap <arguments> <server> | mailx sbirl

I told nmap to run REAL SLOW (-T Paranoid) while scanning the server so
that it doesnt crash. Problem is I cannot tell how far along in the scan
it is.

I poked around /proc/16615 which is nmap and /proc/16616 which is mailx
to see if the output was in a "file" in either process, or if the output
is in a temp file on the hard drive.

How can I locate the output of nmap? Would I need C-code to hook into the
process?

Thanks

 Scott Birl
 Senior Systems Administrator Computer Services Temple University
====*====*====*====*====*====*====*====+====*====*====*====*====*====*====*====*

NOTE: Im only a peon with NO buying or decision-making power.
      Do NOT spam or telemarket me about SUN products or services.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:27:10 EDT