Sponsored Content
Top Forums Programming fwrite takes extremely long time Post 77173 by mbb on Tuesday 5th of July 2005 10:41:57 AM
Old 07-05-2005
Without considering the post processing,
sounds like you would need a pipe, message queue or a shared memory segment to allow your processes to communicate.

You would have to consider the merits of each against your own requirement, but personally I would go for a message queue.

As to how this would fit into with your post processing, I cannot comment, since you have not elaborated.

MBB.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

shell script takes long time to complete

Hi all, I wrote this shell script to validate filed numbers for input file. But it take forever to complete validation on a file. The average speed is like 9mins/MB. Can anyone tell me how to improve the performance of a shell script? Thanks (12 Replies)
Discussion started by: ozzman
12 Replies

2. Linux

it takes long time to login on server

Hi, I am trying to login using ssh on Red Hat Linux 5 server, The password appears immediately but after I enter the password it takes about 90 seconds to login completely. Please suggest what changes require? Regards, Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

3. UNIX for Dummies Questions & Answers

time how long it takes to load a module

Hello, like the title says, how can i measure the time it takes to load a module in Linux, and how how can i measure the time it takes to load a statically compiled module. /Best Regards Olle ---------- Post updated at 01:13 PM ---------- Previous update was at 11:54 AM ---------- For... (0 Replies)
Discussion started by: ollebanan
0 Replies

4. UNIX for Dummies Questions & Answers

Changing Password process takes a long time

We are running unix. After a reboot of the server we have found that changing password takes a long time. if type in passwd "username" you can type in the 1st instance of the password , press enter , then it will wait for about 3 minutes before bringing up the confirm password line typing it in... (4 Replies)
Discussion started by: AIXlewis
4 Replies

5. Shell Programming and Scripting

sort takes a long time

Dear experts I have a 200MG text file in this format: text \tab number I try to sort using options -fd and it takes very long! is that normal or I can speed it up in some ways? I dont want to split the file since this one is already splitted. I use this command: sort -fd file >... (12 Replies)
Discussion started by: voolek
12 Replies

6. Programming

What happens fwrite/fread at the same time?

Hello, I have a question about what happens when I copy the file which is being written by another process on Solaris 9/SPARC, UFS file system. in particular, I want to know what happens while some process is reading the file using fread or mmap, another process try to write something on the... (4 Replies)
Discussion started by: wipe3out
4 Replies

7. Solaris

Re-sync Taking Extremely Long.

It's almost 3 days now and my resync/re-attach is only at 80%. Is there something I can check in Solaris 10 that would be causing the degradation. It's only a standby machine. My live system completed in 6hrs. (9 Replies)
Discussion started by: ravzter
9 Replies

8. UNIX and Linux Applications

database takes long time to process

Hi, we currently having a issue where when we send jobs to the server for the application lawson, it is taking a very long time to complete. here are the last few lines of the database log. 2012-09-18-10.35.55.707279-240 E244403536A576 LEVEL: Warning PID : 950492 ... (1 Reply)
Discussion started by: techy1
1 Replies

9. Shell Programming and Scripting

Wget takes a long time to complete

Hi, I wish to check the return value for wget $url. However, some urls are designed to take 45 minutes or more to return. All i need to check if the URL can be reached or not using wget. How can i get wget to return the value in a few seconds ? (8 Replies)
Discussion started by: mohtashims
8 Replies

10. Shell Programming and Scripting

Transfer file from a server takes long time

It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB. scp user1@serverA:/opt/setup/cash.zip . Output: cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA uname -a SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies
ipcrm(1)						      General Commands Manual							  ipcrm(1)

NAME
ipcrm - Removes message queue, semaphore set, or shared memory identifiers SYNOPSIS
ipcrm [-m shared_memory] [-M shared_memory_key] [-q message_queue] [-Q message_key] [-s semaphore_ID] [-S semaphore_key] The ipcrm command removes one or more message queue, semaphore set, or shared memory identifiers. STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: ipcrm: XCU5.0 Refer to the standards(5) reference page for more information about industry standards and associated tags. OPTIONS
Removes the shared memory identifier shared_memory. The shared memory segment and data structure associated with shared_memory are also removed after the last detach operation. Removes the shared memory identifier, created with key shared_memory_key. The shared memory seg- ment and data structure associated with it are also removed after the last detach. Removes the message queue identifier message_queue and the message queue and data structure associated with it. Removes the message queue identifier, created with key message_key, and the mes- sage queue and data structure associated with it. Removes the semaphore identifier semaphore_ID and the set of semaphores and data struc- ture associated with it. Removes the semaphore identifier, created with key semaphore_key, and the set of semaphores and data structure associated with it. DESCRIPTION
The details of the remove operations are described in the Section 2 reference pages for msgctl(), shmctl(), and semctl(). The identifiers and keys can be found by using the ipcs command. EXAMPLES
To remove the shared memory segment associated with shared memory identifier 18602, enter: ipcrm -m 18602 SEE ALSO
Commands: ipcs(1) Functions: msgctl(2), msgget(2), semctl(2), semget(2), semop(2), shmctl(2), shmget(2) ipcrm(1)
All times are GMT -4. The time now is 06:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy