Find Jobs
Hire Freelancers

The project aims to prepare a system of processes that can interact with each other communicate and ask each other to trigger commands

$10-30 USD

Zavřený
Zveřejněno před více než rokem

$10-30 USD

Zaplaceno při doručení
The project aims to prepare a system of processes that can interact with each other communicate and ask each other to trigger commands. Each of the processes has a name thanks to it so it will be possible, for example, to ask the process called usr1 to execute the ls command. Belongs use any process communication mechanism. Create a configuration file that will save the process name (given by user) and associate it with a specific communication channel (fifo queue, memory shared message queue). A sample file for message queues looks like Yes: usr1 : 11233 usr2 : 34567 ... The configuration file defines the name of the process and the method of sending a message to it initiating communication. In case of: 1. fifo queue will be the name of the special file 2. for shared memory, this will be the key number 3. for a message queue, this will be the key number Each of the processes is started with a name as the start parameter. e.g. $> ./project usr1 Based on the name (usr1), this process reads the configuration file and creates its global the communication mechanism on which it listens (fifo, message queue, memory shared) of incoming messages from other processes - in the example number 11233 is used Then this process also reads (in the second process) the messages written by user in the terminal (you can use scanf). User input messages is information to which process (with what name from the configuration file to send the command to be performed, and information on which communication channel I am waiting for a return responses - e.g. fifo queue name or message queue / shared memory key). Sending a request to execute a command looks like the user enters in the terminal which ones the command is to execute a process, e.g.: $> usr2 “ls -l | tr a-z A-Z” “./command_queue_1” As a result, the process requesting the above command creates a fifo queue “./command_queue_1” and only after its creation sends the command to the selected one global communication mechanism. In our example, it's a queue (or fifo, shared memory) of the usr2 process (identified by the key 34567). The usr2 process receives this message, opens the fifo queue "./command_queue_1", executes the pipeline rows and writes its result to the “./command_queue_1” queue. It belongs in both processes to implement appropriate error messages (no queue, etc.). Eventually the requesting process will print the result to its terminal.
IČ projektu: 35720411

O projektu

3 nabídky
Vzdálený projekt
Aktivní před rokem

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
3 freelanceři nabízejí v průměru $83 USD za tuto práci
Avatar uživatele
Hello, I have rich experience in C/C++ coding on IPC. I have read all your explanations carefully and fully understand your requirements. So I am sure I can give you correct and good results. I would appreciate it if you could contact me soon and share your project details. Thank you.
$20 USD v 1 dni
4,7 (15 recenze)
5,0
5,0
Avatar uživatele
MASTERS IN SOFTWARE ARCHITECTURE GOOD IN LINUX GOOD IN JAVASCRIPT, MYSQL, PYTHON, C PROGRAMMING AND HTML Hi Thank you for sharing your project requirement, I have carefully read the project description and I would like to take part in this project. I will work according to your requirement to provide the best quality and customer satisfaction. I hope you will benefit from my services I can assurance that I will live up to your expectation
$30 USD v 7 dnech
5,0 (1 recenze)
0,2
0,2

O klientovi

Pochází z POLAND
Tirana, Poland
0,0
0
Členem od říj 12, 2014

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.