![]() |
Status info in Xterm Window Title
2 Attachment(s)
I wanted some status info in the Osso-Xterm window title so I made a script to show Temp, CPU%, Memory, Download speed, Upload Speed.
http://0x0.st/-hVo.webp I am unsure whether the %CPU calculation makes sense for what you'd want it to show. CPU use is sourced from /proc/stat https://www.linuxhowtos.org/System/procstat.htm I would be happy to hear your thoughts on this. |
Re: Status info in Xterm Window Title
Quote:
Testing it on my desktop the values are close enough to a similar script I once wrote, but conky and htop think it's only half that. Why that is, I have no idea. Also see here. |
Re: Status info in Xterm Window Title
won't this keep CPU busy?
|
Re: Status info in Xterm Window Title
Quote:
An improvement would be to write something that sleeps when screen is off. I think that requires compiled program that uses MCE. At that point it's better to make a widget. |
Re: Status info in Xterm Window Title
Quote:
And I think you can make widget easily with: http://maemo.org/packages/view/desktop-cmd-exec/ |
All times are GMT. The time now is 12:16. |
vBulletin® Version 3.8.8