Find Jobs
Hire Freelancers

Custom C program & daemon for our Linux server

$10-100 USD

Closed
Posted over 8 years ago

$10-100 USD

Paid on delivery
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.
Project ID: 9088882

About the project

12 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
12 freelancers are bidding on average $83 USD for this job
User Avatar
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 in 1 day
4.9 (376 reviews)
7.5
7.5
User Avatar
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 in 1 day
4.9 (158 reviews)
7.1
7.1
User Avatar
Hello More 20 years programming experience. I need more details to set real price and time. Regards. ---------------------------------------------------------------------------------------------------------------------------------------------------
$111 USD in 2 days
4.8 (21 reviews)
5.0
5.0
User Avatar
A proposal has not yet been provided
$100 USD in 3 days
4.7 (19 reviews)
5.0
5.0
User Avatar
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 in 5 days
5.0 (2 reviews)
4.0
4.0
User Avatar
Hello, I can help you with that. Regards, Alexander
$60 USD in 5 days
4.9 (13 reviews)
4.1
4.1
User Avatar
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 in 4 days
4.9 (2 reviews)
1.3
1.3
User Avatar
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 in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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 in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
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 in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
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 in 4 days
0.0 (0 reviews)
1.5
1.5

About the client

Flag of UNITED STATES
Houston, United States
0.0
0
Member since Apr 21, 2011

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.