A program that monitorize the system. (For fun)

If it doesn't relate to Debian, but you still want to share it, please do it here

A program that monitorize the system. (For fun)

Postby frank38 » 2018-07-28 11:44

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: 108
Joined: 2017-10-30 12:04

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

Postby frank38 » 2018-07-29 09:02

Version 1.1:
- added scrollbars to the disk tab.

http://www.mediafire.com/file/ag55fvdfu ... ar.gz/file
MD5SUM: ffbbc89b2eaf2cfe89504f36934e3334
frank38
 
Posts: 108
Joined: 2017-10-30 12:04

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

Postby CwF » 2018-07-29 13:37

There is Hardinfo, a wheel that already rolls pretty well?
CwF
 
Posts: 165
Joined: 2018-06-20 15:16

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

Postby None1975 » 2018-07-30 12:57

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?
User avatar
None1975
 
Posts: 696
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

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

Postby frank38 » 2018-07-30 15:59

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: 108
Joined: 2017-10-30 12:04

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

Postby frank38 » 2018-07-30 16:00

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: 108
Joined: 2017-10-30 12:04

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

Postby frank38 » 2018-07-30 16:12

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.
frank38
 
Posts: 108
Joined: 2017-10-30 12:04

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

Postby debiman » 2018-07-31 11:53

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
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

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

Postby sunrat » 2018-08-02 00:57

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
sunrat
 
Posts: 2495
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

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

Postby None1975 » 2018-08-02 13:28

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 ...
User avatar
None1975
 
Posts: 696
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

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

Postby frank38 » 2018-08-03 16:25

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: 108
Joined: 2017-10-30 12:04

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

Postby frank38 » 2018-08-03 16:28

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.
frank38
 
Posts: 108
Joined: 2017-10-30 12:04

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

Postby debiman » 2018-08-04 02:13

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.
User avatar
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

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

Postby frank38 » 2018-08-08 06:33

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?
frank38
 
Posts: 108
Joined: 2017-10-30 12:04

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

Postby debiman » 2018-08-11 10:05

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.
User avatar
debiman
 
Posts: 3064
Joined: 2013-03-12 07:18

Next

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable