Is the server a VM

Issue: Have you ever worked at a large company and get someone telling you their server is a VM but you can’t locate it?

What might have happened:

  1. the servers name was changed at on the VM or OS and someone has the new or old name and it no longer synced correctly
  2. out of date inventory/cmdb
  3. it could be physical
  4. DNS alias

A workaround:

Here are some commands that will help track down the system, you can twink a few of these commands to get additional data. You will need access to the server OS that you are trying to track down for these commands to work.

dmidecode -t system | grep ‘Manufacture\|Product\|Version\|Serial Number\|UUID’
dmesg | grep -i hypervisor (maybe)

wmic computersystem get model,name,manufacturer,systemtype
ipconfig /all

prtdiag -v | head -3
/usr/sbin/ifconfig -a
arp -a
/usr/bin/netstat -pn | grep SP
ipadm show-addr (solaris 11+)
uname -n


Command colors when login on as root/user

To add red to command line when logged in as root add
1. open

2. add

To add green to command line when logged in as a normal user
1. open

2. Add

How to join linux to AD

There is a great article how to join Linux systems to AD at

PowerShell open source?

I read about

Pash = PoSH (PowerShell) + bash (one of the Unix shells)

today, its a open source reimplementation of powershell for mac, linux, solaris, window mobile, etc. Looks like this could be something that could great for scripters in heterogeneous environments.



Setup YUM in Fedora 7 for use with a proxy

Proxy settings in fedora and firefox does not control YUM so



And with vi or other text editor add


proxy username and password are optional if your proxy requires it

Note: you can read more up on YUM setup in the fedora Documentation “Managing software with yum” heading number 11 “Using yum with a proxy server” available at

Installing VMWare Server 1.0.3 in Fedora 7

Tip: Every time you upgrade the kernel you will need to rerun the following steps.
Tip: Tip if you have more then 4GB of ram install you will need to have the PAE kernel installed and changed in grub config file to boot to the PAE kernel first

Vmware Server


yum install gcc gcc-c++ kernel-devel xinetd   

uname -r

Next step needs to match the previous step

rpm -q kernel-devel

If the previous step did not match then run

yum -y upgrade kernel kernel-devel

Install the vmware rpm

Get “vmware-any-any-updatexxx” From and install it

Create a blank “config.h” in; Note: the xxx will be the kernel build number


Go to




Management Website



Go to




Another tutorial can be found at if you need more help