Image 01
profile-image

mpiermar

matt pier
test
Score 50.0%
Jan 21 2008
2.6.29.3 kernel (Fedora 11)
maybe because some rows in /proc/meminfo only have 2 values (see below).

ValueError: need more than 2 values to unpack
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 1825, in expose
self.on_draw(ctx)
File "/home/matt/.screenlets/Manometer/ManometerScreenlet.py", line 152, in on_draw
load = self.get_usedmem()
File "/home/matt/.screenlets/Manometer/ManometerScreenlet.py", line 380, in get_usedmem
(key,value,junk) = x.split(None, 2)


-----
/proc/meminfo:
MemTotal: 3348764 kB
MemFree: 2301912 kB
Buffers: 26120 kB
Cached: 329208 kB
SwapCached: 0 kB
Active: 633892 kB
Inactive: 236532 kB
Active(anon): 523888 kB
Inactive(anon): 4 kB
Active(file): 110004 kB
Inactive(file): 236528 kB
Unevictable: 12 kB
Mlocked: 12 kB
HighTotal: 2489928 kB
HighFree: 1627152 kB
LowTotal: 858836 kB
LowFree: 674760 kB
SwapTotal: 4996132 kB
SwapFree: 4996132 kB
Dirty: 132 kB
Writeback: 0 kB
AnonPages: 515104 kB
Mapped: 88588 kB
Slab: 24168 kB
SReclaimable: 13788 kB
SUnreclaim: 10380 kB
PageTables: 10428 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 6670512 kB
Committed_AS: 1209448 kB
VmallocTotal: 122880 kB
VmallocUsed: 17864 kB
VmallocChunk: 102388 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 135160 kB
DirectMap2M: 774144 kB

- May 19 2009
Paper Icons

Full Icon Themes
by snwh

Score 79.8%
May 31 2016