Sign in to follow this  
Followers 0
Haggis

Linux System Stats Script

83 posts in this topic

Awesome

just need some people on MATE and UNITY now lol

Share this post


Link to post
Share on other sites

Awesome

just need some people on MATE and UNITY now lol

Go through the Linux Desktops thread and send some PMs :p

Share this post


Link to post
Share on other sites

yeah its gonna come down to that lol

Share this post


Link to post
Share on other sites

can i test it?

I'm on arch with cinnamon and on debian with openbox :)

Share this post


Link to post
Share on other sites

cHyVG.png

I'll try on cinnamon + arch when i'm home. There's a few missing things imo :)

Share this post


Link to post
Share on other sites

I cant see images on here at work

copy and paste the output form terminal to here please :)

Share this post


Link to post
Share on other sites

I have removed the comment from the bottom 2 lines of the script...

OS: Debian GNU/Linux wheezy/sid

Hostname: unix

Total RAM: 3893 Mb

Desktop Enviroment: Openbox

Logged in as: guitmz

Kernel: 3.2.0-4-amd64

Resolution: 1680x1050 pixels

Screenshot being taken.....Smile!! (Disabled)

./stats.sh: line 116: import: command not found

Screenshot Saved as /home/guitmz/Screenshot_20121204.1125.png

It says that saved a picture, but theres nothing there at my home folder, just reporting :) but looks nice man!

Share this post


Link to post
Share on other sites

Thats fine

hmmm so no import command on Debian

I will prob just remove the screenshot feature as the script started out as just a screenshot script but has now kinda turned into a cross platform script

Thanks for testing

Everything else seems cool, just trying to get it tested on as many different setups as possible

Share this post


Link to post
Share on other sites

Yeah... we have other cmds on debian, but not import.. i cant even download it (searching by the name import only)... i'll give a shot on arch later on :)

Share this post


Link to post
Share on other sites

I'd like to use it, but the systems I would use it on lack a desktop manager.

+1 for adding system load, top 5 processes (CPU and memory)?

Share this post


Link to post
Share on other sites

so are you just running in a CLI no GUI?

I can look into system load and top 5 processes

i assume you mean top 5 using most cpu?

Share this post


Link to post
Share on other sites

Installed MATE now lol Got KDE, MATE, Cinnamon and Xfce so far :p Still prefer KDE though...Unity is next soon when I have a minute

echo $DESKTOP_SESSION

mate

cat /etc/*-release

Fedora release 17 (Beefy Miracle)

NAME=Fedora

VERSION="17 (Beefy Miracle)"

ID=fedora

VERSION_ID=17

PRETTY_NAME="Fedora 17 (Beefy Miracle)"

ANSI_COLOR="0;34"

CPE_NAME="cpe:/o:fedoraproject:fedora:17"

Fedora release 17 (Beefy Miracle)

Fedora release 17 (Beefy Miracle)

sh stats.sh

OS: Fedora release 17 (Beefy Miracle)

Hostname: Martius

Uptime: 37 minutes

Total RAM: 3629 Mb

Desktop Enviroment:

No. Installed Packages: 1740

Logged in as: martius

Share this post


Link to post
Share on other sites

Trying Openbox now, seems alright. Took a moment to realize that the DE had loaded lol Was just a grey background with my mouse lol

echo $DESKTOP_SESSION

openbox

cat /etc/*-release

Fedora release 17 (Beefy Miracle)

NAME=Fedora

VERSION="17 (Beefy Miracle)"

ID=fedora

VERSION_ID=17

PRETTY_NAME="Fedora 17 (Beefy Miracle)"

ANSI_COLOR="0;34"

CPE_NAME="cpe:/o:fedoraproject:fedora:17"

Fedora release 17 (Beefy Miracle)

Fedora release 17 (Beefy Miracle)

sh stats.sh

OS: Fedora release 17 (Beefy Miracle)

Hostname: Martius

Uptime: 1:03 hours

Total RAM: 3629 Mb

Desktop Enviroment:

No. Installed Packages: 1743

Logged in as: martius

Share this post


Link to post
Share on other sites

hmmm so never picked up openbox or mate

back to drawing board lol

Share this post


Link to post
Share on other sites

Yupe lol

As for Unity...There seems to be troubles with Unity and Fedora, so I might have to skip that one for now...But if there are any other ones you want, just let me know :)

Share this post


Link to post
Share on other sites

ok guys made some changes

if you wanna try this one and post screenshots

May i also thank you all for helping me test

http://www.haggistech.co.uk/stats-V0.7b.tar.gz

Yupe lol

As for Unity...There seems to be troubles with Unity and Fedora, so I might have to skip that one for now...But if there are any other ones you want, just let me know :)

think i will download a ubuntu live cd and test unity

Share this post


Link to post
Share on other sites

Here you go :)

Cinnamon: (Labeled as Gnome)

post-44850-0-65251700-1354651236.png

KDE:

post-44850-0-05591800-1354651317.png

Openbox:

post-44850-0-55113500-1354651349.png

Mate:

post-44850-0-22677900-1354651384.png

Xfce:

post-44850-0-08403700-1354651407.png

Share this post


Link to post
Share on other sites

hmmm wonder why cinnamon comes up as gnome

so does Unity for some reason

this was a default live usb of Ubuntu


OS: Ubuntu quantal (12.10)
Hostname: ubuntu
Uptime: 3 minutes
Total RAM: 1949 Mb
Desktop Enviroment: GNOME 3.6.0
Logged in as: ubuntu
Kernel: 3.5.0-17-generic
Resolution: 1440x900 pixels
[/CODE]

Share this post


Link to post
Share on other sites
statsbeta8.png

Share this post


Link to post
Share on other sites

I looked at the script quickly, and it doesn't have Cinnamon under your list of DE's. When I add in


elif [ "$DESKTOP_SESSION" = 'cinnamon' ]; then
DE='Cinnamon'
[/CODE]

it works. Must need that for Unity as well :)

Share this post


Link to post
Share on other sites

Still shows Gnome...I think it has to be before Cinnamon. When it's placed before Gnome, it works :)

Share this post


Link to post
Share on other sites

uploaded again same link lol

Share this post


Link to post
Share on other sites

It's a gz inside a gz with the same script I think lol Still shows the same results

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.