Skip to content

A simple shell script to view Linux server information

Notifications You must be signed in to change notification settings

wellstyle/linux-server-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

linux-server-info

A simple shell script to view Linux server information.

Tested on Ubuntu, CentOS.

usage

Just run server-info.sh

$ chmod +x server-info.sh
$ ./server-info.sh

The following information is output.

Hostname               : dev
IP Address             : xxx.xxx.xxx.xxx
OS Version             : Ubuntu 14.04.3 LTS
Kernel Version         : Linux 3.13.0-48-generic
CPU                    : Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
CPU Number             : 1
CPU MHz                : 2500.030
Machine Type           : x86_64
Memory Size            : 1016292 kB
HDD Size               : xvda 8589934592

About

A simple shell script to view Linux server information

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages