summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22fix(task-manager-binding.c): remove unused variable i and ret_jsonicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.28.99.58.99.48.99.38.99.2Li Xiaoming1-3/+1
Bug-AGL: SPEC-2807 Change-Id: I66000e567f323c5a53954d1c6a7dcc193e13f89f Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-09-10Refactor(.gitmodules): Remove redundant .gitmodulesicefish_8.99.1icefish/8.99.18.99.1Li Xiaoming1-3/+0
Bug-AGL: SPEC-2268 Change-Id: I084aba1f31921c4dabf964a32bdf4ce04b085be3 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-08-09Migration to binding V3José Bollo1-27/+28
Bug-AGL: SPEC-2745 Change-Id: I18f6ecb51719c1d7d2c2e16b10a475b527ad4daa Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-08-05Update permissionsScott Murray1-0/+2
Set platform scope and capabilities permissions to fix behavior with the application framework security updates. Note that platform scope is set to avoid having multiple simultaneous scanners of /proc. Bug-AGL: SPEC-2713 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5d89446297396766d23121e3e631504bcd1a54bb
2019-06-25autobuild: fix warnings due to cp command exit errorhalibut_7.99.3halibut_7.99.2halibut/7.99.3halibut/7.99.27.99.37.99.2Matt Ranostay2-26/+50
- bring latest version of autobuild script in - move conf.d/autobuild to root folder - update autobuild script to fix warnings triggered by cp operation error. Bug-AGL: SPEC-2164 Change-Id: I3caf18bd00806beac40690f6feded42d5a044a4e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-05-17Fill in basic network statshalibut_7.99.1halibut/7.99.17.99.1Vitaly Wool1-0/+54
Per request from the front-end, provide IP statistics as found in /proc/net/netstat. Bug-AGL: SPEC-2403 Change-Id: I98214e0c187546f3c2c4a338d09357582d51b87f Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
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-12-16Add LICENSE (Apache) filehalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.37.90.06.99.46.99.3Vitaly Wool1-0/+54
Change-Id: I6f05c0b7d29168ba21ba42c79bcff3e46b4cae0e 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 Forlot3-5/+8
Bug-AGL SPEC-1682 Change-Id: I462981b3efb2ff99b5bf42ef17113d509e500661 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-09Use feature 'required-binding'Jose Bollo1-1/+1
The feature "urn:AGL:widget:required-binding" is now preferred to the feature "urn:AGL:widget:required-api" for requiring a local binding. Bug-AGL: SPEC-1800 Change-Id: I4a75e9fea38c29efcbbc083729c826e03a89f5d0 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-08-17Importing agl-service-taskmanager codeYordan Dimitrov12-0/+551
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>
2018-08-15Initial empty repositoryguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.36.90.05.99.65.99.55.99.45.99.3Jan-Simon Moeller0-0/+0