![]() |
2010-07-15
, 16:12
|
Posts: 41 |
Thanked: 13 times |
Joined on Mar 2010
@ Mainz, Germany
|
#23
|
df -h| awk '/(^rootfs)|(\\/dev\\/[^s])/{print $6;printf("%17s\\n",$5 "/" $4)}
hal-device bme | awk '/l.p/ {perc = $3}; /g.c/ {curr = $3}; /g.la/ {last = $3}; /s_c/ {isch = $3} END if (isch == "false") {print curr"/"last"<span font=\\"11\\">mAh</span>(%"perc")"} else {print "Charging"}';echo CPU `awk '{print $1/1000"<span font=\\"11\\">MHz</span>"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq` `cat /sys/devices/platform/omap34xx_temp/temp1_input`C;uptime | sed -e 's/.*up */Up: /' -e 's/, load average: /\\n/' -e 's/[ ,]+/ /';echo "Boot:`cat /proc/bootreason`(#`cat /var/lib/dsme/boot_count`)";wget -t 1 -T 5 -q -O - api.myiptest.com | awk -F"\\"" 'BEGIN{r=0}{print "W:"$4"\\n"substr($12 "-"toupper($28),1,17);r=1}END{if(r==0)print "W:<span font=\\"11\\">Not Available\\nNo Provider</span>"}';/sbin/ifconfig wlan0 | awk -F "[: ]" 'BEGIN{r=0}/Bc/ {print "L:"$13;r=1}END{if(r==0)print "L:<span font=\\"11\\">Not Available</span>"}';awk -F "[. ]+" '/0/ {print $4"%/" $5 "<span font=\\"11\\">dBm<\\/span>/" $6 "<span font=\\"11\\">dBm<\\/span>"}' /proc/net/wireless;df -h| awk '/(^rootfs)|(\\/dev\\/[^s])/{print $6;printf("%17s\\n",$5 "/" $4)}'
The Following 2 Users Say Thank You to goetz For This Useful Post: | ||
![]() |
2010-07-15
, 18:21
|
Posts: 16 |
Thanked: 4 times |
Joined on Jul 2010
|
#24
|
![]() |
2010-07-15
, 18:48
|
Posts: 41 |
Thanked: 13 times |
Joined on Mar 2010
@ Mainz, Germany
|
#25
|
The Following User Says Thank You to goetz For This Useful Post: | ||
![]() |
2010-07-15
, 19:40
|
Posts: 195 |
Thanked: 16 times |
Joined on Feb 2010
@ Switzerland
|
#26
|
I just changed the Widget size to the n900.png's size and the Widgettype to Snipet.
EDIT: ... And I pastet the n900.png in the two default directories.
IceJunior
![]() |
2010-07-15
, 20:17
|
Posts: 16 |
Thanked: 4 times |
Joined on Jul 2010
|
#27
|
![]() |
2010-08-02
, 13:29
|
Posts: 326 |
Thanked: 335 times |
Joined on Feb 2010
|
#28
|
echo CPU: `awk '{print $1/1000" MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq` `cat /sys/class/power_supply/bq27200-0/temp`°C;echo Wi-fi: `awk -F "[. ]" '/0/ {print $6" %"}' /proc/net/wireless`;df -h| awk '/(^rootfs)|(\/dev\/[^s])/{print $6;printf("%17s\n",$5 "/" $4)}'
![]() |
2010-08-16
, 23:35
|
|
Posts: 335 |
Thanked: 51 times |
Joined on May 2010
|
#29
|
![]() |
2010-10-31
, 09:39
|
Posts: 1 |
Thanked: 0 times |
Joined on May 2010
|
#30
|
Ciao...
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras