summaryrefslogtreecommitdiffstats
path: root/binding
AgeCommit message (Collapse)AuthorFilesLines
2019-05-03Fix error handlingVitaly Wool1-0/+2
Bail out immediately if fopen() fails, do not try to proceed. Change-Id: Ib3ca73b3aefbb7f3c6de799ff8676a1f13e5479e Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Bug-AGL: SPEC-2378
2019-04-08Implement average load request processingVitaly Wool1-0/+33
Per request from the front-end, provide system average load values as found in /proc/loadavg. Change-Id: Ia7a63684de16bd0dbadcd2eacedb9b2d56b138d8 Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2019-03-07Fill out extra info for a processVitaly Wool1-1/+54
Per request from the front-end, obtain extended information for the process specified by tid, and compose reply with that info. Change-Id: I514e20581b1a3513f68495b74e1f4c2f839870ad Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2019-02-05binding: add messageType string tagVitaly Wool1-0/+1
To be able to extend communication with the task manager frontend in future, add a sting tag "messageType" for the frontend to be able to distinguish between different types of replies. Change-Id: I3e36e8d1f4ec97dab007b0abdc5709dd1de22513 Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
2018-11-28Fix memory leaks and add 'kill' verbguppy_6.99.2guppy/6.99.26.99.2Vitaly Wool1-69/+98
Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Change-Id: Idf75bb1ce703300f9b918969289aba7df9b2a182
2018-10-31Migrate app-templates to CMake moduleguppy_6.99.1guppy/6.99.16.99.1Romain Forlot1-1/+0
Bug-AGL SPEC-1682 Change-Id: I462981b3efb2ff99b5bf42ef17113d509e500661 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-08-17Importing agl-service-taskmanager codeYordan Dimitrov2-0/+199
The service queries /proc for system statistics data and collects data for all processes currently running on the system. The data for each consists of process name, process ID, user, system CPU usage, user CPU usage, memory and state. The data is then converted to JSON and sent to the requesting app. v1 - removed trailing whitespaces - added description in the README file - removed URL from config.cmake v2 - added project URL to config.cmake Change-Id: I7670c239191ee9b7333d5a383f1b2fcf6bc774c1 Signed-off-by: Yordan Dimitrov <y.dimitrov.14@gmail.com>