From: Johannes D. <joh...@dr...> - 2010-02-23 17:22:02
|
Hi, i would like to use the ssh stream to watch a logfile with "tail -f <filename>" and to capture the output for 10 seconds. But how can I receive the output until I get the prompt again?! Sometimes it is truncated when I use Dim Response As String = client.ReadResponse() And sometimes it is hanging and I have to stop... Is there a way of asyncronous monitoring the output of a command?! Thanks & Regards, Johannes Johannes von Drachenfels Phone: +49-7231-9223800 Mobile: +49-171-6710815 Drachenfels GmbH Bleichstrasse 56 75173 Pforzheim Germany Geschäftsführer: Johannes von Drachenfels Sitz der Gesellschaft: Pforzheim Handelsregister: Registergericht Mannheim: HRB 504389 Notice: This transmittal and/or attachments may be privileged or confidential. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you. |