Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: shell and output redirection

RE: shell and output redirection

From: David Lee <David_Lee_at_kaplan.com>
Date: Fri, 2 Jul 2004 18:01:52 -0400
Message-ID: <201AE221B32F7E48B74E6B4B78BFC9AB07674B@ktpamail3.kaplaninc.com>


This is clever, I have to try it on my linux box. I am not familiar with strace but I will look it up=20 using the man pages.

thanks,
- david lee

Sent: Friday, July 02, 2004 5:42 PM,On Behalf Of Mladen Gogala On 07/02/2004 05:06:57 PM, David Lee wrote:

>=20

> At what context do you execute this below? =3D20
> Inside a shell script or perl program?
> I can do it in perl by generating the output file and then ask perl to =
=3D
> execute the output file using system or the quote mark.
>=20

What I did was "strace -af -o /tmp/strace.out /bin/bash" and when I got at the prompt, I executed "ls|sort", which were the two processes that I = chose
for demonstration purposes.

--=20
Mladen Gogala
Oracle DBA

Note:
This message is for the named person's use only. It may contain = confidential, proprietary or legally privileged information. No = confidentiality or privilege is waived or lost by any mistransmission. = If you receive this message in error, please immediately delete it and = all copies of it from your system, destroy any hard copies of it and = notify the sender. You must not, directly or indirectly, use, disclose, = distribute, print, or copy any part of this message if you are not the = intended recipient. Wang Trading LLC and any of its subsidiaries each = reserve the right to monitor all e-mail communications through its = networks.
Any views expressed in this message are those of the individual sender, = except where the message states otherwise and the sender is authorized = to state them to be the views of any such entity.



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Jul 02 2004 - 16:58:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US