Jump to content
Sign in to follow this  
Followers 0

Linux System Stats Script

83 posts in this topic

Posted

Awesome

just need some people on MATE and UNITY now lol

Share this post


Link to post
Share on other sites

Posted

[quote name='Haggis' timestamp='1354613471' post='595367382']
Awesome

just need some people on MATE and UNITY now lol
[/quote]

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

Share this post


Link to post
Share on other sites

Posted

yeah its gonna come down to that lol

Share this post


Link to post
Share on other sites

Posted

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

Posted

[img]http://i.imgur.com/cHyVG.png[/img]

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

Posted

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

Posted

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

Posted

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

Posted

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

Posted

Stupid Debian :p lol

[url="http://linux.about.com/library/cmd/blcmdl1_import.htm"]http://linux.about.com/library/cmd/blcmdl1_import.htm[/url]
1 person likes this

Share this post


Link to post
Share on other sites

Posted

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

Posted

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

Posted

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

Posted

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

Posted

hmmm so never picked up openbox or mate

back to drawing board lol

Share this post


Link to post
Share on other sites

Posted

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

Posted

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

[quote name='ncc50446' timestamp='1354649798' post='595368438']
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 :)
[/quote]

think i will download a ubuntu live cd and test unity

Share this post


Link to post
Share on other sites

Posted

Here you go :)

Cinnamon: (Labeled as Gnome)
[attachment=322666:cinnamon.png]

KDE:
[attachment=322668:kde.png]

Openbox:
[attachment=322670:openbox.png]

Mate:
[attachment=322672:mate.png]

Xfce:
[attachment=322674:xfce.png]

Share this post


Link to post
Share on other sites

Posted

hmmm wonder why cinnamon comes up as gnome

so does Unity for some reason

this was a default live usb of Ubuntu

[CODE]
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

Posted

[img]http://www.haggistech.co.uk/ss/statsbeta8.png[/img]

Share this post


Link to post
Share on other sites

Posted

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

[CODE]
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

Posted

[img]http://www.haggistech.co.uk/ss/statsbeta8.png[/img]lmao that would be why eh lol what a tit

ok latest one :)

[url="http://www.haggistech.co.uk/stats-V0.8b.tar.gz"]http://www.haggistec...ts-V0.8b.tar.gz[/url]

Share this post


Link to post
Share on other sites

Posted

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

Posted

uploaded again same link lol

Share this post


Link to post
Share on other sites

Posted

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.