log-collect / log-send

Tomeu Vizoso tomeu at tomeuvizoso.net
Wed Oct 31 03:54:33 EDT 2007


Hi,

what about the output from top/ps/free/df? Perhaps some jffs2 status
info?

Tomeu

On Mon, 2007-10-29 at 22:33 +0100, Pascal Scheffers wrote:
> I've created a rough-cut log-collector, it's in d.l.o/git/project/log- 
> activity/log-collect.py
> 
> For now, it just outputs some system info, tell me what's missing or  
> what would be interesting to include?
> 
> I don't know yet how to list installed activities... would that be  
> just `ls /usr/share/activities/`? Or is there a package list?
> 
> And then the main purpose: sending logs to OLPC, either using http- 
> post or email or usb-stick or... but what logs should I collect? Just  
> all of them? ~/.sugar/default/logs/* and /var/log/* ? Or should it be  
> more selective?
> 
> And some information from the journal, perhaps?
> 
> What about privacy/sensitive information? Will there be any in the  
> logs or system info?
> 
> - Pascal
> 
> 
> Current log-activity.py output:
> 
> bios-version: Q2C18
> uptime: 434169.21 430235.72
> wireless_mac: 00-17-C4-05-2A-58
> uuid: 8A401F4E-E312-47F9-96C8-A488C99BDA2F
> localization: ??
> kernel_version: Linux version 2.6.22-20071018.1.olpc.d4414541d2be66a  
> (dilinger at fc6.laptop.org) (gcc version 4.1.1 20070105 (Red Hat  
> 4.1.1-51)) #1 PREEMPT Thu Oct 18 11:44:14 EDT 2007
> diskfree: 716 MB
> laptop-info-version: 0.1
> memfree: 63496 kB
> serial-number: SHF7250025C
> disksize: 1024 MB
> keyboard: ??-??-??
> olpc_build: OLPC build joyride 58 (stream joyride; variant devel_jffs2)
> country: USA
> board-revision: B4
> motherboard-number: QTFLCA72400063
> POWER_SUPPLY_NAME=olpc-battery
> POWER_SUPPLY_TYPE=Battery
> POWER_SUPPLY_STATUS=Full
> POWER_SUPPLY_PRESENT=1
> POWER_SUPPLY_HEALTH=Good
> POWER_SUPPLY_TECHNOLOGY=LiFe
> POWER_SUPPLY_VOLTAGE_AVG=6792960
> POWER_SUPPLY_CURRENT_AVG=0
> POWER_SUPPLY_CAPACITY=97
> POWER_SUPPLY_CAPACITY_LEVEL=Full
> POWER_SUPPLY_TEMP=2508
> POWER_SUPPLY_TEMP_AMBIENT=4300
> POWER_SUPPLY_ACCUM_CURRENT=8390
> POWER_SUPPLY_MANUFACTURER=BYD
> POWER_SUPPLY_SERIAL_NUMBER=5d0d01000000daff
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel




More information about the Devel mailing list