Linux System Stats Script


Recommended Posts

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!

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

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

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

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

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]

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

    • No registered users viewing this page.
  • Posts

    • FWIW StatCounter has been trash for over 25+ years! Back in the day (circa 2000 and GeoCities pre-Blogger era), it was useful to paste a number on your webpage indicating how many visitors you had. In the ensuing 25+ years, they've grown in reputation and changed their ways... but their overall consumer value has remained abysmal. Serious marketing agencies only cite StatCounter when there's literally no other sources available to support any marketing claims! They are the absolute lowest threshold serious companies use to push any sort of narrative about this-or-that happening. Besides their credibility being what it is, they are forever subject to quality issues. They're so bad that my DNS-level ad-filter prevents me from even viewing their main website! HA!
    • Microsoft had to shut down 70+ GitHub repos after getting hacked, brings back some by Aditya Tiwari The self-replicating malware campaign known as Miasma took the open-source world by storm. It was reported that almost 73 Microsoft GitHub repositories were infected by the worm and had to be temporarily shut down to determine how attackers compromised projects and stuffed password-stealing malware in the code. These GitHub repos span across different organizations, including Microsoft Azure, Azure-Samples, Microsoft, and MicrosoftDocs. The malware enabled attackers to steal passwords and credentials when compromised tools were opened in popular AI coding apps, including Claude Code, Gemini CLI, VS Code, and Cursor. The security firm Cloudsmith, malware analysis site OpenSourceMalware, and 404 Media were among the first to report the hack. For background, Miasma is a variant of the Mini Shai-Hulud worm, open-sourced by the threat group TeamPCP. It started its journey by compromising a Red Hat employee's GitHub account to attack the @redhat-cloud-services npm namespace. Earlier this month, Microsoft Threat Intelligence reported that the Miasma attackers published 32 malicious packages across more than 90 versions under the @redhat-cloud-services npm scope to steal cloud credentials. The worm didn't take long to start attacking source repos directly rather than package registries. It is known to skip the npm registry entirely for several targets and plant malicious code straight into public repos like "icflorescu/mantine-datatable." The delivery approach was designed to weaponize AI coding tools. Miasma's malicious payload embedded into projects can trigger automatic code execution when the infected repo is opened in an AI coding tool or IDE. The list of affected projects includes "durabletask", a Python package compromised by TeamPCP a month earlier to deliver an information stealer designed for Linux systems. That said, Microsoft has begun restoring some repos affected by the malware campaign, The Hacker News reports. A company spokesperson stated the following: Microsoft will continue to investigate the attack. It has notified a small number of customers who may have removed their content from the affected repos. The company will reach out to customers again through established support channels "if anything further is identified that requires customer action."
    • Why is Opera doing this notification at all? They have their own extension store. They don't have to obey anything dictated by Google. Others like Brave and Vivaldi that rely on Chrome's extension store, not so much. Firefox is entirely separate as well with its own extensions store. I honestly don't understand why entire world is just insisting on Chrome. Like, why? It's a stupid fat browser with barely any functionality. But sure, it's installed on everything by default. I don't understand how people even use web that's filled with tracking garbage and ads all over the place.
  • Recent Achievements

    • Week One Done
      rubentuben8 earned a badge
      Week One Done
    • Week One Done
      ARaclen earned a badge
      Week One Done
    • One Year In
      jojodbn earned a badge
      One Year In
    • One Month Later
      jojodbn earned a badge
      One Month Later
    • Week One Done
      jojodbn earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      529
    2. 2
      PsYcHoKiLLa
      231
    3. 3
      +Edouard
      131
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!