sjfaustino/Raspcontrol — pull request #1 by MrWaffle (2012-10-17 15:41:47+00:00)
Title: Some changes

- Added AJAX updating + settings (don't save yet)
- Added simple stats API
- Removed "sponsored by" message
- Removed Twitter + Google Analytics
- Other small changes

API object looks like this:
```json
{
"uptime": "6 days 23 hours 6 minutes 33 seconds ",
"CPU": {
"loads": [
0.53,
0.32,
0.21
],
"curFreq": "700MHz",
"minFreq": "700MHz",
"maxFreq": "900MHz",
"freqGovernor": "ondemand",
"temp": "45"
},
"memory": {
"ram": {
"free": 173,
"used": 42,
"total": 216
},
"swap": {
"free": 238,
"used": 5,
"total": 243
}
},
"storage": [
{
"mount": "/",
"total": "15GB",
"free": "13GB",
"format": "ext4"
},
{
"mount": "/boot",
"total": "75MB",
"free": "41MB",
"format": "vfat"
},
{
"mount": "/mnt/My_Book",
"total": "1.9TB",
"free": "110GB",
"format": "fuseblk"
}
],
"Ethernet": {
"reveived": "627.35 MB",
"sent": "926.8MB",
"total": "1554.15MB",
"active": "24"
},
"users": "[]"
}
```