Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
tools
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit abb76c50
authored
Sep 10, 2020
by
irul
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update server_info.sh
1 parent
e9535df7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
server_info.sh
server_info.sh
View file @
abb76c5
...
...
@@ -4,7 +4,7 @@
clear
# https://www.2daygeek.com/bash-shell-script-view-linux-system-information/
echo
-e
"
--System Information--
"
echo
-e
"
== System Information ==
"
echo
-e
"Manufacturer: "
`
cat /sys/class/dmi/id/chassis_vendor
`
echo
-e
"Product Name: "
`
cat /sys/class/dmi/id/product_name
`
echo
-e
"Version: "
`
cat /sys/class/dmi/id/product_version
`
...
...
@@ -30,7 +30,7 @@ echo -e "Uptime: "`uptime | awk '{print $3,$4}' | sed 's/,//'`
echo
""
echo
-e
"
--Base Application--
"
echo
-e
"
== Base Application ==
"
# virtualmin
if
command
-v virtualmin &> /dev/null
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment