Find Jobs
Hire Freelancers

Custom C program & daemon for our Linux server

$10-100 USD

Cerrado
Publicado hace más de 8 años

$10-100 USD

Pagado a la entrega
Description of [login to view URL] & [login to view URL] to write: ----------------------------------------------------- #1. A list file building program: This program written in C must be extremely fast as it is running on a server. It is imperative that it will not slow down the server while it is running. It will scan a specified parent directory plus all of its sub directories plus corresponding files and add them to a list file on the server in a directory called "/dirs-files-list (The parent directory is manually specified in a config file by the root user before the program can be run) An example parent directory in the list is [login to view URL] An example of a file in a sub directory in the list is /images/[login to view URL] Example of one directory & one file added to the list file by the C program is: ------------------------------------------------------------------------------- VERY IMPORTANT NOTE: Each file is added to the list with its sub directory (An existing parent directory) "[login to view URL]" (An existing file in a [login to view URL] sub directory) "/images/[login to view URL]" For reference an apache2 log file would show this: The directory: [login to view URL] - - [06/Dec/2015:06:40:59 -0500] "GET /[login to view URL] HTTP/1.1" 200 1445 "[login to view URL]" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0" The file: [login to view URL] - - [06/Dec/2015:06:35:24 -0500] "GET /images/[login to view URL] HTTP/1.1" 200 28715 "[login to view URL]" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0" Each directory has many files in it and also many sub directories too. So the actual list file created will be large. The list file created by the program will grow larger daily as the content in the parent & sub directories have more content. An example of this is a blog application on our server. Date completion pointer: Each time the list file scanning program runs and is finished it then needs to write and store a date completion pointer with the exact date and time of its last scan so that when the scanning program runs again it first looks at the last completion pointer date and it will not add duplicate records to the current list file. #2. Write a daemon: A daemon that checks to see if any files have been added to the parent directory and all of its sub directories. Then it tells the C program to run the scan and add the new sub directories and files to the list file.
ID del proyecto: 9088882

Información sobre el proyecto

12 propuestas
Proyecto remoto
Activo hace 8 años

¿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
12 freelancers están ofertando un promedio de $83 USD por este trabajo
Avatar del usuario
Hi. i have a lot of experience in C programming. I think i can help you with this project at low cost.. we can have a chat about it. thanks
$90 USD en 1 día
4,9 (376 comentarios)
7,5
7,5
Avatar del usuario
I am very proficient in c, c++. I have 16 years c++ developing experience now, and I have worked for 6 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$100 USD en 1 día
4,9 (158 comentarios)
7,1
7,1
Avatar del usuario
Hello More 20 years programming experience. I need more details to set real price and time. Regards. ---------------------------------------------------------------------------------------------------------------------------------------------------
$111 USD en 2 días
4,8 (21 comentarios)
5,0
5,0
Avatar del usuario
A proposal has not yet been provided
$100 USD en 3 días
4,7 (19 comentarios)
5,0
5,0
Avatar del usuario
I have more than 12 years of professional experience in developing complex applications and frameworks in C++. Combined with the application development experience in cross platform libraries like Poco, Boost and Qt, I am confident of delivering your software withing the desired deadlines and budgets. Drop in a mail and we can work out the details about project execution plan. Kind regards, Bala
$94 USD en 5 días
5,0 (2 comentarios)
4,0
4,0
Avatar del usuario
Hello, I can help you with that. Regards, Alexander
$60 USD en 5 días
4,9 (13 comentarios)
4,1
4,1
Avatar del usuario
Hi, i am a c/c++ programmer and Linux/Unix system admin I know shell script and python and I can do it for you
$111 USD en 4 días
4,9 (2 comentarios)
1,3
1,3
Avatar del usuario
Hi, I have previous experience with this kinds of programs. Probably the best option is not use C at all and work with bash scripting + 2 files. A file with the last scaning time and another file with the logs that you want. Cron will do the rest better than a daemon. A daemon for this simple task is maybe so heavy and if you have your server running 24/7 cron is really powerful. I say this because for do something like this with C in a light way is necessary to use inotify or something similar, but inotify will fail if you have some nfs or some samba folder due to synchronitzation mechanisms. Anyway if you want is posible to make the program in C even when i think that is not the best option. So if you accept i will present: 1. The bash script or C program 2. The detailed documentation 3. The daemon or the instructions to set up cron Currently I'm travelling so I can't ensure to deliver all these thing in one day.
$66 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Hello. I am a second year student for a master's degree and I am experienced with C on Linux environments. I love the challenge your project imposes so I am quite eager to work on it. If you do accept me, we can keep in touch via skype and/or mail. Looking forward to hearing from you.
$80 USD en 7 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
I just went through your project description and looking at the requirement I think I can do this since I have already worked on similar project. Also my programming skills would be a big plus since I am good at system-level programming and mainly file operations. I will try to get this up and running by 4-5 days with proper testing. But on a safer not 6-7 days for project completion would be good. Crash-free assured code from my side.
$15 USD en 1 día
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
Sat Dec 12 15:00:12 UTC 2015 Hello, 1 Daemon and file build program need not be separate. File build-up has to follow search by daemon and an added process not necessary for either efficiency or load reason. 2 File list update has to enter new entries at indexed (or some other) position in file. May be more lengthy than writing the full list anew. Unless list is not to be organized alphabetically (only by date). 3 Updates of list, to be more efficient than writing a new list, presumes error checks for old files in the list have to be skipped. 4 Efficiency/load trade-off not different for any choice of programming language. 5 If some format for list file considered, please advise. 6 File based database (sqlite) or limit total entries in a list and add extra lists by breaking directory structure ( for list purposes). Compare performance for different options. Which is presumed/known to be more resource heavy : directory search or file build-up?
$61 USD en 4 días
0,0 (0 comentarios)
1,5
1,5

Sobre este cliente

Bandera de UNITED STATES
Houston, United States
0,0
0
Miembro desde abr 21, 2011

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.