I saw from http://www.sysphere.org/vicious/tree/README that $5 $6 is for swap 
percent and swap used size .

So I modified memwidget like belowing : But I can see swap widget when I use 
Xephyr to test . 


-- Ram widget
memwidget = widget({ type = "textbox" })
        vicious.cache(vicious.widgets.mem)
        vicious.register(memwidget, vicious.widgets.mem, "" .. colwhi .. "Ram " 
.. coldef .. colbyel .. "$1% ($2 M)" .. coldef .. "", 13)

-- swap widget 
swapwidget = widget({ type = "textbox" })
        vicious.cache(vicious.widgets.mem)
        vicious.register(memwidget, vicious.widgets.mem, "" .. colwhi .. "swap 
" .. coldef .. colbyel .. "$5% ($6 M)" .. coldef .. "", 13)

        swapwidget, separator,
        memwidget, separator,


-- 
I try to detoxify my memory. 
Forget can not be treated as betray.
It's not certainly a love even though you  remember to the end of your life.

-- 
To unsubscribe, send mail to [email protected].

Reply via email to