Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Data Transfer programs in IPC Mechanisms?? Post 72820 by boris35 on Tuesday 24th of May 2005 03:14:11 PM
Old 05-24-2005
Data Transfer programs in IPC Mechanisms??

I have no IPC Mechanisms program which includes data transfer on the same Linu machine. All mechanisms of IPC must be tested. If anyone have programs about it, could you send to me?? I am waiting your answers. please help me...!!!!
 

10 More Discussions You Might Find Interesting

1. SCO

data transfer from serial port

dear sir, pls. can you help me ? , my os is unix sco 5.0.4 and ,server dat derive (1,4gb) not working, now i want to transfer my server data in other machine (unix/other possible) by serial port/other port comminication. thanks pankaj raval (2 Replies)
Discussion started by: pankajbraval
2 Replies

2. UNIX for Dummies Questions & Answers

Transfer data from one file to another

Hi, I'm relatively new to shell scripting, Ive worked on a few basic scripts and used most of the unix commands in the simplest of situations. But I am now faced with a task that's seems to be beyond me. I have a file with some data in the form of rows and columns : 123 4536 abcd4 677 bbb... (1 Reply)
Discussion started by: inquisitive101
1 Replies

3. UNIX for Dummies Questions & Answers

Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ?

Are the programs written on schedulers ,thread library , process management, memory management, et al called systems programs ? How are they different from the programs that implement functions like open() , printf() , scanf() , read() .. they have a prefix sys_open, sys_close, sys_read etc , right... (1 Reply)
Discussion started by: vishwamitra
1 Replies

4. Solaris

errors on Netra-440: "IPC Warning: ipc: tcp_protocol: bad magic number"

I was asked to look into a problem with a Sun Netra 440 in another department. On the server in question, the relevant 'uname -a' information is, "SunOS host1 5.9 Generic_118558-16 sun4u sparc SUNW,Netra-440". That information aside, while the other admin is logged into the ALOM, these errors are... (0 Replies)
Discussion started by: Borealis
0 Replies

5. Programming

IPC Mechanisms

Hi! I wanted to know the advantages / disadvantages of different IPC mechanims such as sockets, pipes (unnamed) , shared memory & message queues. Pipes for example i hear are fast , but are difficult to debug as compared to sockets. Can you guys please name some situations where one is... (4 Replies)
Discussion started by: _korg
4 Replies

6. UNIX for Dummies Questions & Answers

Please recommend some data recovery programs.

This is a unlacky day! I deleted some data in my server by mistake. Please recommend me some data recovery programes. I don't want to carry the big thing to a company of data service. Thanks very much to my friends (6 Replies)
Discussion started by: rona
6 Replies

7. Solaris

Data Transfer

We have a data on the disk that was copied from HP N4000 running HPUX 11.11 and it was created with vxfs version 4. We need to transfer this data to Sun server, how might this be done? (2 Replies)
Discussion started by: Kjons76
2 Replies

8. UNIX for Dummies Questions & Answers

Data transfer to excel

i have two excel sheets with cpu uasge and memory usage in the follwing format: sheet 1: 22,33 sheet 2: 55,66 i need to display in the below format: servername cpu mem ser1 22 33 ser2 55 66 am using UNIX os. can anyone help me... (2 Replies)
Discussion started by: arunmanas
2 Replies

9. Shell Programming and Scripting

Are there any IPC mechanisms in cygwin?

I wonder are there any IPC mechanisms in cygwin? such as shared memory, semaphores , message queues and piping? Thanks Jack (2 Replies)
Discussion started by: lucky7456969
2 Replies

10. Red Hat

Data transfer in Linux

Please let me know which ports are used for data transfer, as per my understaning in Linux below ports are used for data transfer from windows to Linux. ftp 21 sftp 22 (Most secure Port) telnet 23 any other port? wheather we can change the port no 22 to any other port no for a... (10 Replies)
Discussion started by: manoj.solaris
10 Replies
IPC::Run::IO(3) 					User Contributed Perl Documentation					   IPC::Run::IO(3)

NAME
IPC::Run::IO -- I/O channels for IPC::Run. SYNOPSIS
NOT IMPLEMENTED YET ON Win32! Win32 does not allow select() on normal file descriptors; IPC::RUN::IO needs to use IPC::Run::Win32Helper to do this. use IPC::Run qw( io ); ## The sense of '>' and '<' is opposite of perl's open(), ## but agrees with IPC::Run. $io = io( "filename", '>', $recv ); $io = io( "filename", 'r', $recv ); ## Append to $recv: $io = io( "filename", '>>', $recv ); $io = io( "filename", 'ra', $recv ); $io = io( "filename", '<', $send ); $io = io( "filename", 'w', $send ); $io = io( "filename", '<<', $send ); $io = io( "filename", 'wa', $send ); ## Handles / IO objects that the caller opens: $io = io( *HANDLE, '<', $send ); $f = IO::Handle->new( ... ); # Any subclass of IO::Handle $io = io( $f, '<', $send ); require IPC::Run::IO; $io = IPC::Run::IO->new( ... ); ## Then run(), harness(), or start(): run $io, ...; ## You can, of course, use io() or IPC::Run::IO->new() as an ## argument to run(), harness, or start(): run io( ... ); DESCRIPTION
This class and module allows filehandles and filenames to be harnessed for I/O when used IPC::Run, independent of anything else IPC::Run is doing (except that errors & exceptions can affect all things that IPC::Run is doing). SUBCLASSING
INCOMPATIBLE CHANGE: due to the awkwardness introduced in ripping pseudohashes out of Perl, this class no longer uses the fields pragma. SUBROUTINES
new I think it takes >> or << along with some other data. TODO: Needs more thorough documentation. Patches welcome. filename Gets/sets the filename. Returns the value after the name change, if any. init Does initialization required before this can be run. This includes open()ing the file, if necessary, and clearing the destination scalar if necessary. open If a filename was passed in, opens it. Determines if the handle is open via fileno(). Throws an exception on error. open_pipe If this is a redirection IO object, this opens the pipe in a platform independent manner. close Closes the handle. Throws an exception on failure. fileno Returns the fileno of the handle. Throws an exception on failure. mode Returns the operator in terms of 'r', 'w', and 'a'. There is a state 'ra', unlike Perl's open(), which indicates that data read from the handle or file will be appended to the output if the output is a scalar. This is only meaningful if the output is a scalar, it has no effect if the output is a subroutine. The redirection operators can be a little confusing, so here's a reference table: > r Read from handle in to process < w Write from process out to handle >> ra Read from handle in to process, appending it to existing data if the destination is a scalar. << wa Write from process out to handle, appending to existing data if IPC::Run::IO opened a named file. op Returns the operation: '<', '>', '<<', '>>'. See "mode" if you want to spell these 'r', 'w', etc. binmode Sets/gets whether this pipe is in binmode or not. No effect off of Win32 OSs, of course, and on Win32, no effect after the harness is start()ed. dir Returns the first character of $self->op. This is either "<" or ">". poll TODO: Needs confirmation that this is correct. Was previously undocumented. I believe this is polling the IO for new input and then returns undef if there will never be any more input, 0 if there is none now, but there might be in the future, and TRUE if more input was gotten. AUTHOR
Barrie Slaymaker <barries@slaysys.com> TODO
Implement bidirectionality. perl v5.12.1 2010-04-01 IPC::Run::IO(3)
All times are GMT -4. The time now is 06:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy