aboutsummaryrefslogtreecommitdiffstats
path: root/binding/task-manager-binding.c
AgeCommit message (Collapse)AuthorFilesLines
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-08-17Importing agl-service-taskmanager codeYordan Dimitrov1-0/+179
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>