Jump to content
AntCer

eInfo - System Information

Recommended Posts

eInfo v0.1 is out! Hardware section has some blanks on specific device info while I search for an alternative to parsing lshw command. Remote Network Information is incomplete. Also, enlightenment version function is not up yet (currently just shows 0.17.1). Will be up for next release, which will be soon.

 

Added Device Section as an option in the System tab of the Hardware section. Functions similarly to lspci, but does not actually use the command.

 

Additions, suggestions, renames, restructure/reorganization ideas all welcomed. Testing appreciated. Feedback wanted!

 

Already planning to give out an export information option in plain text and html for next release.

Share this post


Link to post
Share on other sites

Really slick looking AntCer! Once you get this to a point you are happy with would you like to help me integrate this into an option in eCcess?

 

~Jeff

Share this post


Link to post
Share on other sites

Of course! :D That was the original goal. I've made the app more modular for easy integration. Currently trying to find more info for PCI devices, such as video cards and audio cards. Might change the look a tad more on a couple sections and add a Network section separate to the Hardware section.

 

At first, this app was a command output parser, skimming through lshw, dmidecode, iwconfig, ifconfig commands. Now, I've found ways to get information directly, making everything almost instantaneous. A lot of learning going on. :)

Share this post


Link to post
Share on other sites

Found a reliable source for E version info. eInfo now properly detects E version. Repackaged, committed, and uploaded. :)

Share this post


Link to post
Share on other sites

eInfo v0.2 out! :D

 

Testers wanted. Limited to three testing machines currently, and they all have 64bit cpus.

 

Run "einfo" from CLI and paste any error messages so that I may fix it as quickly as possible.

 

-Detects kernel architecture without parsing a CLI command.

-Accurately displays uptime now.

-As mentioned before, accurately detects E version.

-Detects gcc info without parsing a CLI command.

-Detects number of installed packages without parsing a CLI command.

 

I believe I have gotten rid of all CLI commands and found a faster alternative for each.

 

-Still need to find a way to get more in-depth info on the Video, Sound, and NIC cards without using lshw, so they'll be blank 'til next time.

-Export feature will be started later tonight or early tomorrow.

Share this post


Link to post
Share on other sites

Other than

UnboundLocalError: local variable 'gccv' referenced before assignment

version 0.2 works very well with 32-bit x86 Intel platform. You should use a Table for the storage info as it now tends to get visually out of alignment. Keep up the good work. :)

Share this post


Link to post
Share on other sites

@kuuko

I'll look at the Table for organizational purposes. It may work better for this chart-like representation. :)

 

Yikes, nice catch. I had set it to check for "x86_64" directly, instead of relying on kernel architecture. Fixed. Did not bother updating version for the little fix. It should now be able to check 32bit.

Try it out and let me know! :)

 

Any info you all would like to be fetched, please suggest and I will see if I can reliably track it down.

Share this post


Link to post
Share on other sites

v0.3

 

Added a simple export feature:

e-51aa8d22b05129.13566827.jpg

 

Also, fixed some ugly expansion issues when messing with the window dimensions.

Share this post


Link to post
Share on other sites

Yikes, nice catch. I had set it to check for "x86_64" directly, instead of relying on kernel architecture. Fixed. Did not bother updating version for the little fix. It should now be able to check 32bit.

Try it out and let me know! :)

The fix is good. For more ideas you can look into System Information for Windows which has a very good free version available, but unfortunately is not open source. There's also http://openhardwaremonitor.org/ and IIRC Phoronix Test Suite has some system information stuff as well.

Share this post


Link to post
Share on other sites

eInfo v0.4!

 

Had some time to unwind after the big test. It was my last!

Fixed a few issues that I found after some serious testing.

Finished the new and improved Storage Section!

Also, added a USB/PCI device section in System tab of Hardware Section! :)

 

 

e-51b3f8b77bd3b5.44534870.jpg

e-51b3f8d3676965.16902369.jpg

 

 

 

TO DO: Change Memory section to Table widget. I like the way it presents info. May do the same for the other sections! Will improve readability of code when it's all set and done. :)

Share this post


Link to post
Share on other sites

@ Antcer

Love the way this tool is developing.

 

Can you modify the alignment within the table cells. Text values=alignment left, numeric values=alignment right. Would improve readability even further.

 

Enjoy,

Charles.

Share this post


Link to post
Share on other sites

AntCer, I haven't tried but you should be able to accomplish what Charles is suggesting by setting the Labels's horizontal size hints to weight->expand and align->left/right.

Share this post


Link to post
Share on other sites

eInfo v0.5!!

 

Basically, a bit of spring cleaning. Made it lighter. Some fallbacks and exceptions for "just-in-case" situations. Also, included Charles' suggestion for the Storage Section:

e-51b8034a7aadb1.97203728.jpg

 

Any issues, suggestions, feedback, please feel free to lemme know. :)

 

Will try to clean-up code thoroughly, while instilling actual content in Video Device info and implementing a fuller export feature. Eventually, Audio device info. The blanks are killing me, though some basic info does show up in PCI Device Info of System tab in Hardware section.

 

Thinking of adding a Check list to the export feature to select the sections you would like exported, with a Fileselector widget to control the location and a name. Default name and path will be $HOME/system.info and all checked, like it currently is in the background. Sound good to y'all?

Share this post


Link to post
Share on other sites

@meanpt

This will be added to the Bodhi repos soon, but for now you can install from the .deb file:

einfo.deb 0.5

 

Only dependency that is likely not met in your installation is python-dmidecode.

Install it beforehand with apt-get or synaptic.

 

Your feedback is wanted, of course! :)

Share this post


Link to post
Share on other sites

AntCer - I know you've been around far less lately, but the latest version of eInfo doesn't seem to display CPU information correctly any longer. Haven't had a chance to look into this myself, but I will if you don't find time.

 

~Jeff

Share this post


Link to post
Share on other sites

I'll take a look at it. Its been crazy with this new job. Going to CES this year for work, so I'll have a few hours here and there each day for the week. I'll most likely be able to give all my apps a much needed update to their latest versions. :) Seems like you all have your time-filled with the latest release! I can take a look into the documentation, but will we be shipping E18 or E17 in the next release?

Share this post


Link to post
Share on other sites

Took a quick look at the cpu info not showing up. My first time ever looking at python code, kind of nice error messages on eterm made it easy to look.

At line 274 of einfo.py the array size for the number of cpu's is hard set to 4. I did a quick change as follows:

 

 

CPU = ["cpu0", "cpu1", "cpu2", "cpu3", "cpu4", "cpu5", "cpu6", "cpu7", "cpu8"]

ALPHA = ["a", "b", "c", "d", "e", "f", "g", "h"]

self.i = 0

Fired the app back up and it worked for me.

 

Nice little app AntCer!

Thanks!

wjw

 

I'll take a look at it. Its been crazy with this new job. Going to CES this year for work, so I'll have a few hours here and there each day for the week. I'll most likely be able to give all my apps a much needed update to their latest versions. :) Seems like you all have your time-filled with the latest release! I can take a look into the documentation, but will we be shipping E18 or E17 in the next release?

Share this post


Link to post
Share on other sites

I'll take a look at it. Its been crazy with this new job. Going to CES this year for work, so I'll have a few hours here and there each day for the week. I'll most likely be able to give all my apps a much needed update to their latest versions. :) Seems like you all have your time-filled with the latest release! I can take a look into the documentation, but will we be shipping E18 or E17 in the next release?

 

Hello AntCer, glad to hear from you again!

 

Jeff has been planning to use EFL 1.8 (and Python-EFL 1.8) with E17 in the next release.

Share this post


Link to post
Share on other sites

Took a quick look at the cpu info not showing up. My first time ever looking at python code, kind of nice error messages on eterm made it easy to look.

At line 274 of einfo.py the array size for the number of cpu's is hard set to 4. I did a quick change as follows:

 

 

CPU = ["cpu0", "cpu1", "cpu2", "cpu3", "cpu4", "cpu5", "cpu6", "cpu7", "cpu8"]

ALPHA = ["a", "b", "c", "d", "e", "f", "g", "h"]

self.i = 0

Fired the app back up and it worked for me.

 

Nice little app AntCer!

Thanks!

wjw

 

This worked great.

 

AntCer - any chance you can implement this fix and spin a new .deb for us?

 

~Jeff

Share this post


Link to post
Share on other sites

You'll want to build that list according to the number of logical cpu's found, or run into problems when someone with more than eight cores/hyperthreads tries to use it. Those are strings... Maybe just use range() for the list and concatenate? What's the use for that ALPHA list?

Share this post


Link to post
Share on other sites

A dynamic number would be best. I've not looked into the details of why it does/needs what.

 

~Jeff

Share this post


Link to post
Share on other sites

×