Linux System Stats Script


Recommended Posts

Awesome

just need some people on MATE and UNITY now lol

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

Link to comment
Share on other sites

I cant see images on here at work

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

Link to comment
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!

Link to comment
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

Link to comment
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 :)

Link to comment
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?

Link to comment
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

Link to comment
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

Link to comment
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 :)

Link to comment
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

Link to comment
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]

Link to comment
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 :)

Link to comment
Share on other sites

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

    • No registered users viewing this page.