linux-system-information
ℹ️ Outputs system information on Linux, including distribution, computer model, processor, CPU sockets/cores/threads, total memory and swap space, disk space and graphics processor
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.7%) to scientific vocabulary
Repository
ℹ️ Outputs system information on Linux, including distribution, computer model, processor, CPU sockets/cores/threads, total memory and swap space, disk space and graphics processor
Basic Info
Statistics
- Stars: 46
- Watchers: 2
- Forks: 10
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
Linux System Information
Linux System Information Script
Copyright © 2019 Teal Dulcet
Simple script to quickly output system information on Linux, including:
- Linux distribution
- Computer Model
- Processor (CPU)
- CPU sockets/cores/threads
- CPU caches
- Architecture
- Total memory (RAM)
- Total swap space
- Disk space
- *Graphics Processor (GPU)
- Hostname (FQDN)
- IP address(es)
- MAC address(es)
- Time zone
- Language
- *Virtualization container
- *Virtual Machine (VM) hypervisor
* If present
RAM, swap and disk space is output in both MiB (10242 bytes) and MB (10002 bytes). Similar to the systeminfo command on Windows.
Requires at least Bash 4+. Compared to similar programs, this script outputs much more information and is smaller. Useful when using an unfamiliar system or VM, particularly before running a program that has specific system requirements. All the values are saved to variables, which makes this easy to incorporate into larger scripts.
For your Public IP addresses, please see Public IP addresses below.
❤️ Please visit tealdulcet.com to support this script and my other software development.
Also see the Linux System Usage Information script.
Usage
Supports all modern Linux distributions from the last 10+ years and the Windows Subsystem for Linux (WSL).
wget
bash
wget -qO - https://raw.github.com/tdulcet/Linux-System-Information/master/info.sh | bash -s
curl
bash
curl -sL https://raw.github.com/tdulcet/Linux-System-Information/master/info.sh | bash -s
Example Output
Ubuntu Desktop

Ubuntu Server

openSUSE Server

Raspberry Pi OS (Raspbian)

Google Cloud Platform (Debian)

Scripts where this is incorporated
Other Scripts
Datatype Information
Outputs C/C++ datatype information, including datatype sizes, minimum values, maximum values, etc. for the current system. Requires C++11. Supports both Linux and macOS.
bash
wget -qO - https://raw.github.com/tdulcet/Linux-System-Information/master/typeinfo.sh | bash -s
Public IP addresses
Outputs your public IP addresses using a couple dozen different services to find the one with the best HTTPS and DNS response times on your network.
bash
wget -qO - https://raw.github.com/tdulcet/Linux-System-Information/master/ipinfo.sh | bash -s
Other System Information Scripts
- neofetch (Supports multiple operating systems and Linux distributions, lots of command line options, outputs an ASCII version of the logo for a hard coded set of operating systems, but slow to run, displays less information, many of the features require external dependencies, a display and that it is run directly on the system and many of the features are disabled by default)
- Test with this command:
bash wget -qO - https://raw.github.com/dylanaraps/neofetch/master/neofetch | bash -s -- -v --no_config
- Test with this command:
- screenFetch (Supports multiple Linux distributions, lots of command line options, outputs an ASCII version of the logo for a hard coded set of distributions, but extremely slow to run and displays less information and many of the features require a display and that it is run directly on the system)
- Test with this command:
bash wget -qO - https://raw.github.com/KittyKatt/screenFetch/master/screenfetch-dev | bash -s -- -v
- Test with this command:
- system-report-card (Only shows total RAM, swap and disk space)
Contributing
Pull requests welcome! Ideas for contributions:
- Add more system information
- Show SELinux status
- Show the DNS Server
- Add more examples
- Improve the performance
Owner
- Name: Teal Dulcet
- Login: tdulcet
- Kind: user
- Location: Portland, Oregon
- Website: https://www.tealdulcet.com/
- Repositories: 31
- Profile: https://github.com/tdulcet
👨💻 Computer Scientist, BS, CRTGR, MS @Thunderbird Council member
Citation (CITATION.cff)
cff-version: 1.2.0
title: Linux System Information Script
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Teal
family-names: Dulcet
affiliation: Portland State University
orcid: 'https://orcid.org/0009-0008-6616-2631'
repository-code: 'https://github.com/tdulcet/Linux-System-Information'
abstract: >-
Outputs system information on Linux, including: Linux
distribution, computer model, processor, CPU
sockets/cores/threads, architecture, total memory and swap
space, disk space, graphics processor, hostname and IP
addresses.
license: MIT
GitHub Events
Total
- Watch event: 15
- Push event: 5
- Fork event: 1
Last Year
- Watch event: 15
- Push event: 5
- Fork event: 1