I'm not going to reinvent the wheel, most of these var names were already used by displayserver. Should work here too!


/proc/empeg_therm?EXT=.js
// Temperature
empeg_temperature = "44";

/proc/empeg_id?EXT=.js
// Hardware revision
empeg_id_hwrev = "07";
// Unit serial number
empeg_id_serial = "90001003";
// Build ID
empeg_id_build = "3a38c0ec";
// ID
empeg_id_id = "2b6f1685-63434051-01be58af-ed7d32ed";
// Installed RAM
empeg_id_ram = "12288K";
// Installed Flash
empeg_id_flash = "1024K";
// Drives
empeg_id_drives = "7";
// Image
empeg_id_image = "67706d65";

/proc/empeg_power?EXT=.js
// AC Power?
empeg_power_ac = "1";
// Powerfail enabled?
empeg_power_fail = "1";
// Accessory line high?
empeg_power_acc = "1";
// First Boot?
empeg_power_firstb = "1";
// Telephone mute on?
empeg_power_mute = "0";
// Lights sense on?
empeg_power_lights = "0";
// Display on?
empeg_power_display = "1";

/proc/loadavg?EXT=.js
// Load average 1 minute
empeg_loadavg1 = "0.05";
// Load average 5 minutes
empeg_loadavg5 = "0.15";
// Load average 15 minutes
empeg_loadavg15 = "0.15";

/proc/meminfo?EXT=.js
// Total Memory
empeg_mem_total = "11108352";
// Used Memory
empeg_mem_used = "10825728";
// Free Memory
empeg_mem_free = "282624";
// Shared Memory
empeg_mem_shared = "1224704";
// Memory in use for buffers
empeg_mem_buffers = "253952";
// Memory in use for cache
empeg_mem_cached = "2375680";



I'll do notify, the proctable and netstat -an later tonight.

Tom