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

Cerrado
Publicado hace más de 1 año

$10-30 USD

Pagado a la entrega
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.
ID del proyecto: 35720411

Información sobre el proyecto

3 propuestas
Proyecto remoto
Activo hace 1 año

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
3 freelancers están ofertando un promedio de $83 USD por este trabajo
Avatar del usuario
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 en 1 día
4,7 (15 comentarios)
5,0
5,0
Avatar del usuario
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 en 7 días
5,0 (1 comentario)
0,2
0,2

Sobre este cliente

Bandera de POLAND
Tirana, Poland
0,0
0
Miembro desde oct 12, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.