Kensington - A System Monitor

Developed or developing a new product in PureBasic? Tell the world about it.
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Kensington - A System Monitor

Post by Killswitch »

I've built upon the code for my Desktop Monitor (see a few posts down) and I've created a fully-fledged System Monitor:

Image

(I based the design layout off from this: Torsmo)

It'll tell you the operating system you're using, total amount of RAM, used RAM, CPU usage (as well as history) as well as how many disk drives you've got and the total/free amount of space on them.

Pressing escape will close the program.

Binary:

Download .exe

Source:

Edit: Source requires PBOSL!

Source

Enjoy!
Last edited by Killswitch on Mon Dec 11, 2006 11:42 pm, edited 4 times in total.
~I see one problem with your reasoning: the fact is thats not a chicken~
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Looks quite nice, I will test this soon! :)

EDIT:
Why did it check my diskette drive?

Btw, it's very nice!
But you should really make a rightclick-menu with a always on top option and stuff...
And be able to chose the size (small or big) and the transparency.
And maybe make it stick to the edges! :D
I like logic, hence I dislike humans but love computers.
Intrigued
Enthusiast
Enthusiast
Posts: 501
Joined: Thu Jun 02, 2005 3:55 am
Location: U.S.A.

Post by Intrigued »

Joakim Christiansen wrote:Looks quite nice, I will test this soon! :)

EDIT:
Why did it check my diskette drive?

Btw, it's very nice!
But you should really make a rightclick-menu with a always on top option and stuff...
And be able to chose the size (small or big) and the transparency.
And maybe make it stick to the edges! :D
See his GUI, it shows information about the drives.

Nice job on this one!
Intrigued - Registered PureBasic, lifetime updates user
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

That diskette thing is annoying - I'm not sure if there's anyway to get around it with the API though, I'll look into it.
~I see one problem with your reasoning: the fact is thats not a chicken~
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

about the disk, i remember (not sure) about setting a system error level lower.
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

I've uploaded a new version (use links in my first post) which gets rid of the annoying diskette bug.

Enjoy!

Edit: Another new version - right click to enable/disable sticky window and I've optimised it a lot.
~I see one problem with your reasoning: the fact is thats not a chicken~
gnozal
PureBasic Expert
PureBasic Expert
Posts: 4229
Joined: Sat Apr 26, 2003 8:27 am
Location: Strasbourg / France
Contact:

Post by gnozal »

Thanks !
Just for information, it doesn't work on Win9x (missing function in kernel32.dll : GlobalMemoryStatusEx).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

Nuts, I should've read the MSDN notes better - I'll look for something which'll let it run on 98 :).
~I see one problem with your reasoning: the fact is thats not a chicken~
DarkDragon
Addict
Addict
Posts: 2345
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

What's your logic like? First the CPU diagram adds at the right and when it arrived the whole thing adds new statusses at the left?
bye,
Daniel
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

DarkDragon wrote:What's your logic like? First the CPU diagram adds at the right and when it arrived the whole thing adds new statusses at the left?
Haha, yeah that was a little weird! :lol:
I like logic, hence I dislike humans but love computers.
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

DarkDragon wrote:
What's your logic like? First the CPU diagram adds at the right and when it arrived the whole thing adds new statusses at the left?
Haha, yeah that was a little weird!
It's a feature... :oops:

I've updated the program to address this problem :)
~I see one problem with your reasoning: the fact is thats not a chicken~
Post Reply