![]() |
Re: [Announce] Advanced Clock Plugin
Still unsure why i cannot get this to work. every version i install all it seems to do is disable the default clock.
With latest version i can access the settings menu (within personalisation) but no matter what clock type i change to nothing seems to appear? Confusing |
Re: [Announce] Advanced Clock Plugin
My question got lost in the discussion so i will reiterate:
"Is it possible tohave two clocks at the same time with one showing the local timezone and the second one showing the remote timezone?" |
Re: [Announce] Advanced Clock Plugin
Quote:
However, I have not done the same for CPU (doing it right now). The thing is I've been trying to understand the information in /proc/stat, and I am starting to have a creeping suspicion that all this time, all of us using load and cpumem applets have been getting slightly inaccurate CPU stats. As I understand it, /proc/stat has an idle time value in the FOURTH number (fifth string because it has 'cpu' at the front, index 4, if you split that line of /proc/stat). Disk I/O is on the FIFTH number... if I'm not wrong. And that's what CPUMEM accesses for calculating processor idle time from moment to moment - the fifth number of that string (index 5, again since "cpu" is on index 0 if you split it). So, have CPUMEM and Load applets just been telling us the changes in disk i/o the entire time, instead of idle processes? I can't think of a good test for how to fill up ram without running into an I/O operation, so frak if I can think of how to verify that. Anything that runs that much CPU probably requires some I/O, and anything that needs lots of I/O probably requires a bunch of processing. To be clear, the /proc/stat file's first line looks like this: "cpu 259246 7001 60190 34250993 137517 772 0 0" The problem is the red is the actual idle time, while the green is what the cpumem applet's source code says it's using. Furthermore, I'm finding this: http://colby.id.au/node/39 http://www.murga-linux.com/puppy/vie...0161809#272677 (Both links point to different edits of the same shell script) Which suggests that the proper way of calculating CPU usage is more complicated than that. So... how are you getting CPU for your version? @rajil.s: Yes, but you'd have to code the clock style yourself, or get one of us to do it for you. I don't think it would be that easy to set the time zone with just the settings, but it could be 'hard'-coded (in so far as uncompiled python is ever hard-coded) into the clock style. So one reports your time zone time, the other reports your time +/- X hours. - Edit (again) - Oh, and since I am a newb and might just be completely wrong, here's how the code looks for the relevant part in cpumem (it's in C): Code:
#define CPUFILE "/proc/stat" |
Re: [Announce] Advanced Clock Plugin
Quote:
|
Re: [Announce] Advanced Clock Plugin
This is nice, good work but after reboot clock setting went to its defaut setting, unable to save my personal settings.
|
Re: [Announce] Advanced Clock Plugin
Quote:
apt-get update apt-get upgrade if it's not solved try to reinstall the plugin and make sure u install the correct ver...gud luck!:D |
Re: [Announce] Advanced Clock Plugin
Quote:
|
Re: [Announce] Advanced Clock Plugin
awesome plugin! looks like im not going to go back in time using the stock clock? :D
|
Re: [Announce] Advanced Clock Plugin
Latest version working nicely here.
|
Re: [Announce] Advanced Clock Plugin
Quote:
|
All times are GMT. The time now is 16:26. |
vBulletin® Version 3.8.8