Hi everyone,

This week I was working on basic modules of the REST api. Values are
logically grouped in different modules. Each module collects its values,
and the code from last week takes care of user management and parsing the
values to JSON. I have also documented the REST api interface with
descriptions of all values that are currently available.

Modules that I have developed:

   - *memory* - info about memory and swap usage
   - *cpu* - info about cpu usage, load average, uptime and temperature
   - *network* - info about available network interfaces, their IP, MAC
   addresses and number of bytes/packets send and received on each interface
   - *storage* - info about mounted devices, used space on device and
   throughput read and write info


I spent quiet some time developing code for gathering network device
information, so I wrote a short guide with code for anyone interested: Get
IP, IPv6 and MAC addresses using ioctl and procfs on Linux in C
<http://z-v.si/en/get-ip-ipv6-and-mac-addresses-using-ioctl-and-procfs-linux-c>
.

Next week I will start developing JavaScript library for accessing the REST
api.

Code is on github <https://github.com/matematik7/duda-raspberry>.
Blog post: http://z-v.si/en/gsoc-2014-update-raspberry-pi-dashboard-week-2

Regards,
Domen Ipavec
_______________________________________________
Monkey mailing list
Monkey@lists.monkey-project.com
http://lists.monkey-project.com/listinfo/monkey

Reply via email to