Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

A program that monitorize the system. (For fun)

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
frank38
Posts: 114
Joined: 2017-10-30 12:04

A program that monitorize the system. (For fun)

#1 Post by frank38 »

I've made a program that let me know some infos of my system: general data, memory and network, cpu, disks and some info for my Nvidia Gpu used with proprietary drivers (if any, no tab).
Where to download:
http://www.mediafire.com/file/r8ocx6ieg ... ar.gz/file
MD5SUM: ab2433defe9bd409c10e78258fc37723

Here are the screenshots:
Image
Image
Image
Image
Image

To run the program, Python3, Gtk3 for Python (gir), psutil (python3 module) are required. The data in the second, the third and the fifth tabs are updated every second by default (user can choose a different interval from the command line).
My PC doesn't have any battery.

About psutil: cpu frequencies and temps require psutil version 5.1.0. In my case, I downloaded the source of a newer version from Debian Testing, compiled and installed. If the version is minor, no frequencies and temps data are shown.

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#2 Post by frank38 »

Version 1.1:
- added scrollbars to the disk tab.

http://www.mediafire.com/file/ag55fvdfu ... ar.gz/file
MD5SUM: ffbbc89b2eaf2cfe89504f36934e3334

CwF
Global Moderator
Global Moderator
Posts: 2625
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 41 times
Been thanked: 190 times

Re: A program that monitorize the system. (For fun)

#3 Post by CwF »

There is Hardinfo, a wheel that already rolls pretty well?

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: A program that monitorize the system. (For fun)

#4 Post by None1975 »

frank38 wrote:To run the program, Python3, Gtk3 for Python (gir), psutil (python3 module) are required. About psutil: cpu frequencies and temps require psutil version 5.1.0. In my case, I downloaded the source of a newer version from Debian Testing, compiled and installed. If the version is minor, no frequencies and temps data are shown.
So much dependency on such a regular program ...Who needs it if it's time-tested program with CLI- atop?
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#5 Post by frank38 »

A new version:
http://www.mediafire.com/file/co0c5e654 ... 1.1.tar.gz
MD5SUM: 6c8333fcf52b9b4192cd193fc48f540b

Changelog:
- cpu page: the indicator backgrounds are dark green; the main indicator is the right size.

I think the program is complete. Obviously, I cannot add the data of AMD Gpu nor Nvidia Gpu used with the nouveau driver nor Intel Gpu.
Last edited by frank38 on 2018-07-30 17:05, edited 1 time in total.

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#6 Post by frank38 »

CwF wrote:There is Hardinfo, a wheel that already rolls pretty well?
Hardinfo is a nice program, but it is a different program.

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#7 Post by frank38 »

None1975 wrote:So much dependency on such a regular program ...Who needs it if it's time-tested program with CLI- atop?
The program is written in Python code, which is mandatory. It uses the GTK3 toolkit for the gui, I think this library is already installed everywhere. So, just install the python interfaces for Gtk3, and psutil. For the Nvidia Gpu optional page, the proprietary drivers and the nvidia-smi program are required. Without this last program, no Nvidia tab will be shown.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: A program that monitorize the system. (For fun)

#8 Post by debiman »

CwF wrote:There is Hardinfo, a wheel that already rolls pretty well?
op likes to re-invent those.
just look at their other "contributions".
for me it's sort-of ok to do that (for fun), but sharing via mediafire is evil and counter-productive.

User avatar
sunrat
Administrator
Administrator
Posts: 6382
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 115 times
Been thanked: 456 times

Re: A program that monitorize the system. (For fun)

#9 Post by sunrat »

debiman wrote:
CwF wrote:There is Hardinfo, a wheel that already rolls pretty well?
op likes to re-invent those.

KInfoCenter in KDE is a great example of this type of program
for me it's sort-of ok to do that (for fun), but sharing via mediafire is evil and counter-productive.
Agreed, it's ok for fun and I applaud OP for advancing his coding skills this way. There's no way in hell I'm going to download any code from mediafire though.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: A program that monitorize the system. (For fun)

#10 Post by None1975 »

frank38 wrote:I've made a program that let me know some infos of my system
And why you are not using github services? Why do you upload files to mediafire? Sounds suspicious ...
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#11 Post by frank38 »

debiman wrote:
CwF wrote:There is Hardinfo, a wheel that already rolls pretty well?
op likes to re-invent those.
just look at their other "contributions".
for me it's sort-of ok to do that (for fun), but sharing via mediafire is evil and counter-productive.
Reinventing the wheel sometime help :)
Mediafire: the code in written in python, everybody can read it. There is no warranty using other services. However, at the moment I've been spending most of my free time for finishing the file manager, so maybe one day. And I have also to rewrite the image viewer.

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#12 Post by frank38 »

None1975 wrote:
frank38 wrote:I've made a program that let me know some infos of my system
And why you are not using github services? Why do you upload files to mediafire? Sounds suspicious ...
The code is written in python, everybody can read it. Other services are not secure as you think, unless there is always somebody who checks all the code uploaded. One day I'll do it. My programs are safe, if you check the checksums.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: A program that monitorize the system. (For fun)

#13 Post by debiman »

frank38 wrote:Mediafire: the code in written in python, everybody can read it. There is no warranty using other services.
frank38 wrote:The code is written in python, everybody can read it. Other services are not secure as you think, unless there is always somebody who checks all the code uploaded. One day I'll do it. My programs are safe, if you check the checksums.
no, other sites aren't 100% safe either. but downloading stuff (source code or compiled doesn't matter in that respect) from a commercial site that only lets you do it for free because they can milk you in the process, and install a bunch of cookies and other baddies in your browser (until you clean it out again), and doesn't work without tons of javascript (more dangerous) - that's just asking for trouble.
and the checksums don't help with that, either.

if you don't want to take advantage of the git version control system and everything else it offers, you can also use github to simply upload zip files. or choose any other of the numerous alternatives.

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#14 Post by frank38 »

debiman wrote:no, other sites aren't 100% safe either. but downloading stuff (source code or compiled doesn't matter in that respect) from a commercial site that only lets you do it for free because they can milk you in the process, and install a bunch of cookies and other baddies in your browser (until you clean it out again), and doesn't work without tons of javascript (more dangerous) - that's just asking for trouble.
and the checksums don't help with that, either.

if you don't want to take advantage of the git version control system and everything else it offers, you can also use github to simply upload zip files. or choose any other of the numerous alternatives.
GitLab is not free, GitHub is. Do you know some other free alternatives?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: A program that monitorize the system. (For fun)

#15 Post by debiman »

frank38 wrote:GitLab is not free, GitHub is.
gitlab (both the software and the site) is just as free as github.com.
they just display paid options more openly than github.
Do you know some other free alternatives?
do you want me to re-iterate every alternative listed in that long thread i linked?
sure, no problem.
if it becomes too taxing for you, i can stop midway and give you a rest, then continue whenever you feel ready.

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#16 Post by frank38 »

debiman wrote:
frank38 wrote:GitLab is not free, GitHub is.
gitlab (both the software and the site) is just as free as github.com.
they just display paid options more openly than github.
Do you know some other free alternatives?
do you want me to re-iterate every alternative listed in that long thread i linked?
sure, no problem.
if it becomes too taxing for you, i can stop midway and give you a rest, then continue whenever you feel ready.
At the moment I've chosen GitHub, where I've uploaded two of my programs: Gpasteboard and Os_monitor (this one).

frank38
Posts: 114
Joined: 2017-10-30 12:04

Re: A program that monitorize the system. (For fun)

#17 Post by frank38 »

This program is now on GitHub with the name os-monitor.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1387
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 64 times

Re: A program that monitorize the system. (For fun)

#18 Post by None1975 »

frank38 wrote:This program is now on GitHub with the name os-monitor.
Congratulations! Keep a good work.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: A program that monitorize the system. (For fun)

#19 Post by debiman »

frank38 wrote:This program is now on GitHub with the name os-monitor.
great. a step in the right direction. welcome to the FOSS community!

Post Reply