PureMonitor for OS X

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: PureMonitor for OS X

Post by wilbert »

It's always good to think first :)

Did you know this is possible ?
http://www.purebasic.fr/english/viewtop ... 72#p392372
Maybe it can be useful.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

wilbert wrote:It's always good to think first :)

Did you know this is possible ?
http://www.purebasic.fr/english/viewtop ... 72#p392372
Maybe it can be useful.
No I didn't. That's pretty cool!
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

Currently reworking this app. It now runs in the menu bar. So there is no window to have to move around or worry about being in the way. It does show the cpu and memory usage as well as auto close. But it doesn't have resource logging or warnings yet.

Back to work. ;)

EDIT: Link removed.
Last edited by J. Baker on Sun Feb 10, 2013 8:07 am, edited 1 time in total.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: PureMonitor for OS X

Post by Bisonte »

Inspired by this idea, i've made this for windows : http://purebasic.fr/english/viewtopic.p ... 18#p403918

thx for the idea & icon ;)
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

New version. Download from the first post. Left clicking on it opens the options window. Enjoy! ;)

EDIT: Just uploaded v1.0.2. Fixed a bug with the average cpu and memory. :oops:
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: PureMonitor for OS X

Post by wilbert »

You could consider adding some extra information like the number of active threads, number of open file handles / sockets.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

wilbert wrote:You could consider adding some extra information like the number of active threads, number of open file handles / sockets.
Yes, more things to consider. I do want to make one more update though. That's delaying the max cpu usage because right now if an app starts up and the cpu is 100% then that's what the log file will list. But that's not fair as the app may or can drop to a much lower cpu after initial start up. So I will add a 10 second or so delay before it starts comparing the max cpu to current cpu usage.

Feature wise, the app has everything that I wanted or needed it to do. If anyone wants some other features quicker then what I can get to them (currently working on a game), I could release the source?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: PureMonitor for OS X

Post by wilbert »

J. Baker wrote:Feature wise, the app has everything that I wanted or needed it to do. If anyone wants some other features quicker then what I can get to them (currently working on a game), I could release the source?
If you don't mind sharing the source, it would be nice to look at it and see if I can add some additional information that can be useful.
Windows (x64)
Raspberry Pi OS (Arm64)
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

wilbert wrote:
J. Baker wrote:Feature wise, the app has everything that I wanted or needed it to do. If anyone wants some other features quicker then what I can get to them (currently working on a game), I could release the source?
If you don't mind sharing the source, it would be nice to look at it and see if I can add some additional information that can be useful.
PM Sent ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

New version created by Wilbert and me. This version was a complete rewrite. It has more features and is better optimized. You no longer need the one line of code in your source to use it. Just run PureMonitor and it will auto detect when you compile an app and monitor it! Check out the first post to get the download and list of features.

Big thanks to Wilbert for working with me on this app! It's definitely better then I had originally planned. :D
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

Another big thanks to Wilbert. He added an option to auto close PureMonitor when PureBasic closes. So now the app can auto start and close with PureBasic. This version also comes with a developer signed app and installer. Which will install it in your "Applications" folder. ;)
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3870
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: PureMonitor for OS X

Post by wilbert »

J. Baker wrote:This version also comes with a developer signed app and installer. Which will install it in your "Applications" folder. ;)
Nice package Joe :D

Can someone confirm if it works fine on OS X 10.5 ?
It required a bit different code for 10.5 and while I think it will work fine, I can't verify it myself.
Windows (x64)
Raspberry Pi OS (Arm64)
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

wilbert wrote:
J. Baker wrote:This version also comes with a developer signed app and installer. Which will install it in your "Applications" folder. ;)
Nice package Joe :D

Can someone confirm if it works fine on OS X 10.5 ?
It required a bit different code for 10.5 and while I think it will work fine, I can't verify it myself.
Yes, it's nice having an installer and I also would like to know if it runs on 10.5 but I wonder how many people are even running that version of OS X?
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

Version 1.2.2 is compiled as 32bit.

For some reason, if the app was compiled as 64bit, the installer didn't work on OS X 10.6. Even though it was compiled and packaged on 10.6. If the app is compiled as 32bit, all is fine. I'm not sure why that effects the installer but if I figure that out, I may compile it back to 64bit. Because in reality, a 32bit app will use less resources then a 64bit app. So unless your app is doing major calculations or rendering, 64bit is a bit much for the common app and I think a waste of memory.
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
User avatar
J. Baker
Addict
Addict
Posts: 2178
Joined: Sun Apr 27, 2003 8:12 am
Location: USA
Contact:

Re: PureMonitor for OS X

Post by J. Baker »

PureMonitor 1.4.0 detects if the user is in "Dark mode" or not. The text will be white in the menu if true. I didn't make an installer for this one, it's just zipped. App is signed though. This one is also only 64-bit, not universal. ;)

http://www.posemotion.com/download/PureMonitor140.zip
www.posemotion.com

PureBasic Tools for OS X: PureMonitor, plist Tool, Data Maker & App Chef

Mac: 10.13.6 / 1.4GHz Core 2 Duo / 2GB DDR3 / Nvidia 320M
PC: Win 7 / AMD 64 4000+ / 3GB DDR / Nvidia 720GT


Even the vine knows it surroundings but the man with eyes does not.
Post Reply