Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Lack of information outputted for non-linux os's. #31

Open
foxsouns opened this issue Dec 21, 2021 · 8 comments
Open

Lack of information outputted for non-linux os's. #31

foxsouns opened this issue Dec 21, 2021 · 8 comments
Labels
enhancement New feature or request Non-Linux mac, bsd, etc

Comments

@foxsouns
Copy link

Made to address the readme. It's here so that it can be motivation for others (and maybe me 😳) to resolve it.

@eepykate eepykate added the enhancement New feature or request label Dec 21, 2021
@eepykate
Copy link
Owner

😳

@eepykate eepykate added the Non-Linux mac, bsd, etc label Dec 21, 2021
@yaazkal
Copy link

yaazkal commented Dec 28, 2021

Awesome script!

Not able to do a PR at the moment, but let me leave some FreeBSD commands for information that is not showed at the moment:

Uptime
uptime | awk '{ print $3 }' | sed 's/,//'

Hostname
hostname

Running kernel version:
freebsd-version -k

Number of Installed ports using pkg:
pkg info | wc -l | awk '{ print $1 }'

I hope it helps.

@foxsouns
Copy link
Author

@yaazkal that will help, tysm! i think ill try to impl these later, probably.

@eepykate
Copy link
Owner

eepykate commented Dec 28, 2021 via email

@yaazkal
Copy link

yaazkal commented Dec 28, 2021

don't forget that the focus of this project is to only use shell builtins & reading from files

I wrote the comment since all the commands used comes already with the OS. So no dependency is needed.

Also, as an example (just picking one thing), why reading/searching in a file to get the memory when sysctl also gives that?

In FreeBSD sysctl -n hw.realmem and sysctl -n hw.usermem are there to be used. I mean, less lines of code, even cleaner and guess what? as in unix everything is a file we are not breaking the "reading from files" rule.

Regards !

@eepykate
Copy link
Owner

eepykate commented Dec 29, 2021 via email

@yaazkal
Copy link

yaazkal commented Dec 29, 2021

ok, sorry for my misunderstanding of the project and the noise.

Regards !

@eepykate
Copy link
Owner

eepykate commented Dec 29, 2021 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request Non-Linux mac, bsd, etc
Projects
None yet
Development

No branches or pull requests

3 participants