Sponsored Content
Full Discussion: data sharing between process
Top Forums Shell Programming and Scripting data sharing between process Post 302346625 by Sgupta on Sunday 23rd of August 2009 01:52:41 PM
Old 08-23-2009
data sharing between process

hi !
i want to make 2 c prog such tht if i give an input in 1st prog then i can use tht input in 2nd. so over all i want to do data sharing between process using files.
plz give me suggestions how can i achieve this ?
thanks ya!
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

mmap vs shared memory - which is best for sharing data between applications?

Between mmap and shared memory which is the best method of sharing data between multiple applications, interms of speed? (2 Replies)
Discussion started by: nmds
2 Replies

2. IP Networking

sharing of IP address for load sharing avoiding virtual server & redirection machine

I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers. Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies

3. Shell Programming and Scripting

How should i know that the process is still processing data

I have some process . How should i know that the process is still processing data or got hanged even though it is showing that it is running in background I know of a command called truss. how should i use this command and determine 1) process is still processing data 2) process got hanged... (7 Replies)
Discussion started by: ali560045
7 Replies

4. Programming

forking. sharing global data in childs

hi, i want to write a code for forking 3 4 child. n wants that every child process one of the account from global account list. i wrote a program for that, but problem is every child is processing every account in list. what can me done to avoid it. attaching code with it #include <stdio.h>... (2 Replies)
Discussion started by: anup13
2 Replies

5. Solaris

Windows/Solaris data sharing

Hi all, I have a request from Developer team in my compagny, they would like to be able to share data between unix and windows world. 1. We would like to be able to see Unix data from Windows : ?Samba ? 2 We would like to be able to see windows data from Solaris (Mount point) : ?NFS server... (4 Replies)
Discussion started by: unclefab
4 Replies

6. Programming

how to get the process data structure through pid?

hello guys, i'm required to modify the process scheduling part of the freebsd kernel as part of our homework. the homework needs us add a new variable to the process data structure, and the priority of the process will be having something to do with the variable. to adjust the variable... (2 Replies)
Discussion started by: billconan
2 Replies

7. Programming

Multi thread data sharing problem in uclinux

hello, I have wrote a multi thread application to run under uclinux. the problem is that threads does not share data. using the ps command it shows a single process for each thread. I test the application under Ubuntu 8.04 and Open Suse 10.3 with 2.6 kernel and there were no problems and also... (8 Replies)
Discussion started by: mrhosseini
8 Replies

8. UNIX for Dummies Questions & Answers

is process data cached somewhere?

hi When I search a file with find, the subsequent search process takes relatively less time. Is it cached somewhere in RAM altough the process died? (3 Replies)
Discussion started by: xyzt
3 Replies

9. Shell Programming and Scripting

Checking running process status using "grep" on multiple servers in load sharing system.

Suppose i have 3 different servers say x,y and z. Im running some process say ABC and 40 instances for the same is being created. In load sharing suppose on server x, 20 instances are running server y, 10 instances are running server z, 10 instances are running. While checking the... (1 Reply)
Discussion started by: ankitknit
1 Replies
uncat(1)						      General Commands Manual							  uncat(1)

NAME
uncat - continuously reads stdin, splits up the data either by timeout or number of bytes read to process it SYNOPSIS
uncat [-vo] [-t seconds] [-s size] prog DESCRIPTION
uncat continuously reads stdin and repeatedly processes the data either after seconds timeout or maximal number of bytes size read. To process the data, uncat starts prog and feeds the data into prog's standard input. prog's standard output is redirected to standard error. uncat never writes to standard output. prog consist of one or more arguments. If prog exits non-zero, uncat prints an error message, discards the data and continues to read stdin. Note that uncat is not crash proof. uncat is used to run the socklog-notify service. OPTIONS
-v verbose. Print verbose messages to stderr. -o once. Exit on end of input. Normally uncat continues waiting for data on standard input, even on end of file. -t seconds timeout. Set the timeout to seconds seconds. Default is 300. -s size Set the maximal number of bytes to size. Default is 1024. SIGNALS
If uncat receives a TERM signal, it starts to process the data in memory and exits as soon as possible. uncat also does this on end of input if the -o option was given. EXIT CODES
uncat returns 0 after receiving a TERM signal. uncat returns 111 on error. SEE ALSO
socklog(8), socklog-conf(8), sv(8), runsv(8), svlogd(8), tryto(1) http://smarden.org/socklog/ http://smarden.org/runit/ AUTHOR
Gerrit Pape <pape@smarden.org> uncat(1)
All times are GMT -4. The time now is 10:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy