Open source bash script used for gathering Linux server info

alekse1

New Member
Joined
Feb 26, 2024
Messages
4
Reaction score
0
Credits
33
Hi.

I need bash scripts for gathering Linux server information like hardware either software.
Are there such open source scripts?
 


lspci

lshw

dmidecode


They aren't really bash scripts. But they could be called by a bash script.
Software info depends on the distro.
 
lspci

lshw

dmidecode


They aren't really bash scripts. But they could be called by a bash script.
Software info depends on the distro.
I know the commands, I've used lot of them while making auto-processess previously.
I'm searching for ready-made base scripts.
 
Conky? May be used to monitor a server across a network with X forwarding. You can also add your own scripts to enhance conky.

Or maybe conkw for viewing across a network? Not sure if just a home lan or wider internet. Not much development going on with this one.
 
Last edited:
Like this?
https://chadmayfield.com/2019/09/07/gather-linux-macos-system-info-with-sysinfo.sh/

I'm more with @dos2unix and prefer just to see results of specific commands, as needed. But if you have an itch for scripts... scratch it, and create them with exactly the outputs you desire to see. Other folks might like your vision too. Good luck!
I have experience with creating such scripts but it was intended for monitoring things like get Nginx RPS queries and more. And then such generated CMDs have been used in intra-corporate monitoring system.

For now my goal is such scripts for guys who are creating server documentation: they describe all of hardware and all of software for admins who use the docs for firefighting.

So I mean sources able to describe web servers, databases, orchestration systems etc

I'll look into that script and other sources posted here by f33dm3bits tomorrow.
Thanks!
 
Define "hardware either software"
Hardware - disks info, CPU info, RAM info.
Software - all software for solving business problems: Nginx/Apache, MySQL/MongoDB/Postgres, Docker, k8s etc
 
I already wrote one to gather the details of the system but I can modify it if you can give me the details.
 

Members online


Latest posts

Top