in reply to Re^3: Returning Line where Characters Have been found
in thread Returning Line where Characters Have been found
my $search; if ($cmdout =~ / \n ( .* procdump .*) \n /sx) { $search = $1; print "$search\n"; }
so i expected only to get the line1038 7ffd4000 00001000 1039 7ffd5000 00001000 1040 7ffd6000 00001000 1041 7ffd7000 00001000 1042 7ffd8000 00001000 1043 7ffd9000 00001000 1044 7ffda000 00001000 1045 7ffdb000 00001000 1046 7ffdc000 00001000 1047 7ffdd000 00001000 1048 7ffdf000 00001000 1049 7ffe0000 00001000 Total memory: 4bbf000 Stream 4: type SystemInfoStream (7), size 00000038, RVA 00000098 Stream 5: type MiscInfoStream (15), size 00000018, RVA 000000D0 Stream 6: type HandleDataStream (12), size 0000A0B0, RVA 000226D7 Stream 7: type CommentStreamW (11), size 0000005C, RVA 000166C7 ' *** procdump -ma ccSvcHst.exe *** Timed dump' Stream 8: type UnusedStream (0), size 00000000, RVA 00000000 Stream 9: type UnusedStream (0), size 00000000, RVA 00000000 Windows Server 2003 Version 3790 (Service Pack 2) MP (2 procs) Free x8 +6 compatib le Product: Server, suite: TerminalServer Debug session time: Thu Oct 20 02:43:30 2011 System Uptime: not available Process Uptime: 0 days 0:08:28.000 The call to LoadLibrary(ext) failed, Win32 error 2 "The system cannot find the file specified." Please check your debugger configuration and/or network access. The call to LoadLibrary(exts) failed, Win32 error 2 "The system cannot find the file specified." Please check your debugger configuration and/or network access. The call to LoadLibrary(uext) failed, Win32 error 2 "The system cannot find the file specified." Please check your debugger configuration and/or network access. The call to LoadLibrary(ntsdexts) failed, Win32 error 2 "The system cannot find the file specified." Please check your debugger configuration and/or network access. No export peb found Finished dump check
back. but instead i get the complete output back..*** procdump -ma ccSvcHst.exe
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Returning Line where Characters Have been found
by Corion (Patriarch) on Dec 13, 2011 at 15:11 UTC | |
|
Re^5: Returning Line where Characters Have been found
by Anonymous Monk on Dec 13, 2011 at 15:16 UTC |