PHP Smartctl output parser

I need programmatic output of smartctl:

HDD identifying information: Type, Manufacturer, Model, Serial Number, Capacity

Smart data: Every field parsed for data entry, things like pending sectors, hdd temp, unrecoverable sectors, power on hours etc.

Smart errors: Number of errors at minimum, rudimentary parsing can be done (ie. are all FPDMA / DMA errors) with time passed since last error (these are irrelevant if last error is older than 2 months power on time)

Smart test log: Passed, not passed (type of error is usually read failure at sector ####) / type / power on hours when done (data used to judge if we should launch a new test).

I can give quite a lot of sample entries. Please note that the outputs vary a little bit depending on the HDD / SSD manufacturer and model, sometimes meanings change too etc.

Basic information is always the same tho.

Will submit any number sample outputs required. Will test code output on large pool of drives to see that those all parses.

Code needs to be done so that new output formats is easy to add. Proper commenting of code and code standards are a must! (camelCase, 4 spaces instead of tab, max 3 indents, max couple function calls per line, a line should not exceed ~200chars etc. the usual).

Some samples included.

Sample with hardware RAID controller: these are rare and only rudimentary information is sufficient from these.

We will own the rights to the code to do as we please, in commercial and non-commercial use, and rights to redistribute / modify etc. but we don't really care if you use this code on other projects etc.

Not in a hurry, so relaxed deadline say 6 weeks is OK

Needs to be CLI utility, for example:

./smartctlParser.php /dev/sda

takes /dev/sda smartctl -a output and outputs it as serialized data, array that looks something like:

'model' => 'ST3000DM001',
'serial' => 'XYZ123',
'smart' => array(
'hours' => 22357,
'sectorsPending' => 0,
'sectorsUnrecoverable' => 5

This will be used to analyze the data and store on a database. Keep that in mind how and what needs to be outputted.

It should accept as input either device (executes smartctl -a), textfile or piped input.

Output should also contain self-test log

Færdigheder: Linux, PHP, System Administrator

Se mere: output ffmpeg php script, mysql output sanitize php, parser mail grabber php, html parser word count php, read output html php, show ping output using php script, save html output code php script, html parser web service php, ioncube output decoded php, replay parser dota code php, parser exim linux php, output file php, php route planner script add, display text parser output, php dynamic table edit add online delete, php mysql list edit add, php form action sqlite add, php xml input proper utf indicate encoding, output excel php, php simplexml input proper utf, php mysql joomla classified add application, php mysql joombola classified add application, php mysql upload csv add update database, php commenting system, free text parser script mit php

Om arbejdsgiveren:
( 0 bedømmelser ) Helsinki, Finland

Projekt-ID: #14336832

16 freelancers are bidding on average $296 for this job


Hi There I have checked the requirement to create a website. I am Sam, having 7 years of experience in this domain personally to manage and execute the project as per client vision and my company always believe i Mere

$294 USD in 3 dage
(76 bedømmelser)

Hello, I am an PHP Developer with more than 7 years of experience and shall get this done in about 5 days' time. Let me know if you have any doubts / queries about my expertise, will be more than happy to addre Mere

$411 USD in 5 dage
(134 bedømmelser)

Dear Sir/Madam! I am a senior developer in Vietnam. I have 11 years experience with LAMP, 3 years AWS, 9 years with jQuery. I expert: Laravel, CakePHP, CI, Zend, Yii, Drupal, Wordpress, Expression Engine, Joomla. I Mere

$1000 USD in 30 dage
(131 bedømmelser)

ready to [url removed, login to view] your requirement. if you like my bid please send a message and we will discuss and start.

$144 USD in 3 dage
(142 bedømmelser)

Hi, I have developed 100+ mobile application and 200+ websites and web application. I am experienced and hard-working developer with deep knowledge of Android, Java, AngularJS, Ionic, Cordova/phonegap, Meteor, Codei Mere

$164 USD in 3 dage
(82 bedømmelser)

We work in low budget, good quality and ontime work. Over 8+ years of professional working experience in Web Development. Responsive Design with HTML, CSS, jQuery, PHP, Wordpress, Bootstrap, YAML, and more. I am highly Mere

$258 USD in 10 dage
(126 bedømmelser)
$200 USD in 3 dage
(13 bedømmelser)

I have read your project. I'm sure i can help you to do it. I have 7 years of experience in Web Development, System & Network Administrator and Security Researcher. Choose me then you will work with a Professiona Mere

$150 USD på 1 dag
(46 bedømmelser)

I value trust the most. I will guarantee the perfect results firmly in the fastest time line. Please suggest a suitable time for discussion. Thank you for your time and consideration. Best regards.

$155 USD in 3 dage
(4 bedømmelser)

Hi! I can write this tool by your requirements. Regards, Fedor.

$111 USD in 5 dage
(61 bedømmelser)

Hello. I am a web developer with 15+-year experience . I work remotely on DigitalRay company - [url removed, login to view] - LA (USA). Technical knowledges: [url removed, login to view] JavaScript Ruby RoR ASP.Net C#, Java, Python, Zend, CakePHP, Symp Mere

$155 USD in 3 dage
(36 bedømmelser)
$277 USD in 3 dage
(19 bedømmelser)

Hello! How are you? This task could be done fast. I have many works like this. You can see my profile or see the links I have wrote above this. I can show you my works and talk about everything. My priority is get g Mere

$722 USD in 10 dage
(11 bedømmelser)

Hi, I have reviewed your requirement and I can do this job as per your requirement. I have a advanced skills in WORDPRESS ,Joomla, Angular JS ,PHP, Codeigniter,MYSQL, Ajax,Joomla,JavaScript, API Integration,Plugin Mere

$250 USD in 3 dage
(23 bedømmelser)

Hello More 20 years programming experience. I need more details to set real price and time. Regards. ----------------------------------------------------------------------------------------------------------------- Mere

$250 USD in 10 dage
(22 bedømmelser)
$194 USD in 3 dage
(15 bedømmelser)