[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 792
  • Last Modified:

How to profile a server, need hardware, settings, basic config etc

I've got several Linux and Unix servers I am trying to gather documentation on. I'd like more information about what hardware is being used, what the most critical settings are and what software is installed.

Some of the information I could get with various tools specific to the distribution like up2date or yum, but I'm looking for a way to put together a comprehensive profile. There is a Windows program called SIW.exe that our network admin uses to profile the Windows servers he workks with and I'm jealous. I'd like to either find similar software for Linux and/or Unix or write a program that would gather the same information.

I started to write a batch file to gather what I knew I would need before I saw his Windows software. My batch file looked like:
free
ifconfig
df ( also see: df -h)
mount
less /proc/cpuinfo
hdparm -tT /dev/hda
hdparm -tT /dev/sda
vmstat
set
route
less /etc/profile
less /etc/resolv.conf
uname -a

0
ancientt
Asked:
ancientt
1 Solution
 
rindiCommented:
Zenworks could be something you might want to look at. It should run on linux as well as other plattforms:

http://www.novell.com/products/zenworks/

Of course tenworks isn't only good for inventories, you can also use it for further tasks.
0
 
wesly_chenCommented:
Just download SIW.exe and run on my Windows XP. It looks like the Windows built-in command:
C:\Program Files\Common Files\Microsoft Shared\MSInfo\msinfo32.exe

If you run RedHat Enterprise Linux, then you can try to run (as root)
/usr/share/rhn/up2date_client/hardware.py

This command will give you a lot of hardware profile information.

Or you can try to run
/usr/sbin/dmidecode
to get the hardware profile on most recent Linux distribution.

The following commands give you some system current resources usages
free
vmstat
netstat -a
uptime

I hope this help
0
 
wesly_chenCommented:
just  add some more commands I usually run
lspci -v
lsmod
cat /proc/interrupts
fdisk -l
0
 
arvindCommented:
very good linux exploere(Solaris SUN exploerer) script;

http://www.unix-consultants.co.uk/examples/scripts/linux/linux-explorer/
0
 
ancienttAuthor Commented:
Thanks for all the feedback. The script from arvind was exactly what I was hoping to find. The other suggestions were helpful as well, but I was looking for something already put together. I looked at the Zenworks tools but didn't find anything detailing exactly what they would provide in the way of system profiles.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now