快速了解未知远程linux主机基本概况

现有未知配置及环境的远程主机一台,希望了解基本信息。

//For some common linux distributions
//without using sudo

//CPU info
more /proc/cpuinfo
cat /proc/cpuinfo

//RAM info
more /proc/meminfo
free -m    //units in MB

//Linux Version
cat /proc/version

//Distribution Version
cat /etc/*release

//close all the process
kill -9 -1

//network related:
more /etc/resolve.conf
more /etc/hosts

//redhat:
more /etc/sysconfig/network-scripts/ifcfg-eth0

尝试查看某主机 (v*-scf1.*.*)配置,方便日后:

Dell Poweredge-R910

4x Intel Xeon E7-4870 2.4G 30Mb cache 1066Mhz MEM

RAM: 1TB

Redhat Enterprise server release 5.8

Mac: D4:AE:52:85:7F:??  (??  is 75 in DEC)

Possible ROOM: CAL-417

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s