Comments (4)
I really appreciate you sharing the snippet here! As you know, it looks like several of the directories won't appear through virtualization. I will get setup Qemu tonight and work on finding alternative methods to read swap or other possibilities. I think motherboard and real disk name may be impossible. The current distro method is proving to be unreliable for several systems
from sysfetch.
@paulcobbaut This should be solved by hiding output completely if swap doesn't exist or other data since recent rewrite. Will have to do some more testing to ensure graceful error handling and such. I'll keep this open till we know for sure
from sysfetch.
That system is still running by the way :)
./sysfetch: line 49: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory
./sysfetch: line 54: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory
./sysfetch: line 77: /sys/devices/virtual/dmi/id/board_vendor: No such file or directory
./sysfetch: line 78: /sys/devices/virtual/dmi/id/board_name: No such file or directory
./sysfetch: line 91: /sys/class/block//device/model: No such file or directory
./sysfetch: line 156: hash: wmctrl: not found
paul@X
Uptime: 1017 days, 5 hours, 39 minutes
Kernel: Linux 4.19.0-16-amd64 x86_64
OS: linux-gnu
CPU: Intel Xeon Processor (Skylake, IBRS) .@.
GPU: Device 1234:1111 (rev 02)
Disk: 4/18 GiB
RAM: 859/1947 44%
Load: 00%
Kernel: Linux 4.19.0-16-amd64
Distro: Debian GNU/Linux 10 (buster)
Packages: 0
from sysfetch.
Hey, I'd say that's an improvement! Just need to put it some error handling now and it should be all good, looks like
1017 days!!! 🤯 Has it really been 512 days??
from sysfetch.
Related Issues (20)
- DE/WM themes not working again HOT 2
- Current Build: Theme category not showing: HOT 17
- de/wm not detected correctly (xsessions) HOT 8
- Uptime display supposed to be like this?: HOT 3
- Add support for Windows and Mac HOT 13
- CPU Frequency issue under WSL2: HOT 3
- KDE / KRunner / Latte Dock `term` Value
- Wrong values for TERM and WM HOT 16
- syntax error: invalid arithmetic operator HOT 1
- lsblk: /dev/nvme0n1p: not a block device HOT 30
- Arch WSL2 output very slim HOT 2
- Errors on Android via Termux HOT 4
- Not able to access drive and exiting on Alpine HOT 2
- No output on Fedora VM HOT 4
- Slim output on MINGW Windows HOT 1
- Verbose option HOT 5
- Several ascii art missing HOT 1
- Suggestion: rename sysfetch to sysfetch.sh HOT 1
- ASCII art not working.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sysfetch.