Linux System Stats Script - Version 2.2.1 Released


Recommended Posts

Version 2.2.1 has now been released


 


Change Log


  • New Feature: Added ability to pipe to file without coloring
  • New Feature: Setting HAGGIS_STATS_SCREENSHOT_DIR variable will default the screenshot folder
  • Cosmetic Change: made ram display as Used/Available instead of Available/Used

 


First post updated with links


 


As before guys any issues, comments, request just let me know


Link to comment
Share on other sites

I get this:

 

TwDHUjs.png

 

Can you fix the garbage on bottom? Had to do it several times to capture the whole thing.

Link to comment
Share on other sites

the version bit? (guessing as cant see the image at work :))

 

yeah no probs, i must admit i added that in to check it was working and forgot to take it back out :)

 

will do it tonight

Link to comment
Share on other sites

No, the Top Process

Top Process (by memory use): /usr/lib/iceweasel/iceweasel --sm-config-prefix /iceweasel-05lqPu/ --sm-client-id 22dbe9648-9711-4465-a981-fe00a1ea7672 --screen 0
Link to comment
Share on other sites

How do you propose i stop it grabbing your top process lol

 

what would you rather it did?

Link to comment
Share on other sites

ok i can have a look but that is the actual process

 

It has done this from the start of stats, nothing has changed in this release

Link to comment
Share on other sites

How do you propose i stop it grabbing your top process lol

 

what would you rather it did?

Just parse out the last part of the path token. So everything after the last / until you encounter white space. Or even better, display the program then its path like:

Top Process (by memory use): Program (path)
But exclude the parameter list. Or if you do keep it, limit ellipsis it.
Link to comment
Share on other sites

yeah i have had it just grab as far as

/usr/lib/iceweasel/iceweasel

Simplezz i will look into your suggestion though

Link to comment
Share on other sites

  • 5 months later...

Haggis could you confirm if there has been a release v2.2.2 of the stats script? I've had a comment on the Arch AUR asking me to update the PKGBUILD, however other than a 2.2.2 version number change about 6 months ago, I haven't seen anything.

Thanks.

Link to comment
Share on other sites

  • 4 weeks later...

Why has the gentoo option been removed from your script? I can see the logo is in the folder,  I submitted a patch to add support for Gentoo  seems the stats.pl file has been reverted back

Link to comment
Share on other sites

  • 2 weeks later...

Hmmm i will check this

 

did you send the patch to Karl?

Link to comment
Share on other sites

I don't actually have the original patch anymore, and when I did try to reverse the changes made, Gentoo gave me nothing but issues about it, the current version works fine, the host name and all the other parts are found fine, it just spits out

 

Linux : Unknown

 

and shows the Penguin Ascii

 

As I say not a big issue, was thinking of moving to a new distro as building everything is a pain in the bum due to it taking forever :/ 

 

I was just curious mainly :p

 

I would post a screen shot but laptop is in for its yearly clean up - gotta love free insurance :D

Link to comment
Share on other sites

  • 1 year later...

I'm so bummed. I can't run this script on my seedbox. They've removed my ability to install / run stuff. I guess they didn't like me installing cacti :p

Link to comment
Share on other sites

  • 3 months later...

Something that would be interesting is to have it run remotely. If you had a Windows box with Python running on it, have it run a script connected to that server or multiple servers, and be able to select the stats, or have it rotate through the list of machines every 30 seconds.

 

Just a thought. I'll be running this on my Torrent Tracker I run.

Link to comment
Share on other sites

On 21/05/2016 at 8:19 AM, BinaryData said:

I'm so bummed. I can't run this script on my seedbox. They've removed my ability to install / run stuff. I guess they didn't like me installing cacti :p

just take the file out the bin folder :)

 

On 10/09/2016 at 3:45 PM, duoi said:

screenshot_20160910.104054.png

hmmm i will look into that

Link to comment
Share on other sites

  • 1 month later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.