Sponsored Content
Top Forums Shell Programming and Scripting Vm versus physical linux server Post 302821471 by doganaym on Friday 14th of June 2013 02:45:35 PM
Old 06-14-2013
Code:
if [ $(ifconfig -a|grep HWaddr|grep "00:50"|wc -l) -eq 0 ]
then
 echo "Not VMware or Physical"
else
 echo "VMware"
fi

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

CTRL+H versus ^? versus BACKSPACE

Hi Gurus! I recently got my shell account (HP UX v11) created by our sysadmin and am having problem deleting with the backspace key. After doing some reading, I believe I need to enter a custom "STTY..." statement in my profile. Can someone please help me with the correct "STTY" sequence... (3 Replies)
Discussion started by: alan
3 Replies

2. Solaris

List all resources on physical host LDOM server

Hello, I have a SUN T5240 running Solaris 10 with Logical Domain Manager (v 1.0.3). You can use the "ldm" command to display current resources on the box. Is there away to display all the "physical resources" on the box(i.e.,used and unused). For example, "ldm ls" will tell me what the... (5 Replies)
Discussion started by: stephanpitts
5 Replies

3. IP Networking

I can't get access by physical name to server

Hi all I have connected new server to LAN but when I use rlogin command by server name it dose not work but by IP adderss it works. can any one tell the reason? (4 Replies)
Discussion started by: bintaleb
4 Replies

4. Emergency UNIX and Linux Support

sed on Mac OS versus Linux

I'm trying to replace space with inderscore on Mac OS X 10.6.3 sed -i 's/ /_/g' somefile sed: 1: "hsa_mirbase.fa": extra characters at the end of h command This works perfectly fine on Linux. Thank you Joseph Dhahbi (3 Replies)
Discussion started by: jdhahbi
3 Replies

5. UNIX for Advanced & Expert Users

Server is virtual or physical?

Hi All, How can I know whether the server I am connecting to is a virtual or physical one? The server might be having any Unix OS (Linux/Solaris/HP-UX etc.). Is there any system files / commands which can show these concrete information? Thanks in advance for the replies. sanzee (1 Reply)
Discussion started by: sanzee007
1 Replies

6. Solaris

Physical and virual server difference

Hi, i am trying to find whether any particular solaris server is physical or virtual....are there any commands or set of commands which only runs (or provide specific pattern ) on physical machines and provides different pattern or error on virtual one... Is this the correct approach to... (7 Replies)
Discussion started by: omkar.jadhav
7 Replies

7. UNIX for Dummies Questions & Answers

VM v Physical Server Speeds

HI We have been asked by our IT department to move from our current physical solution to a VM environment. I am not that clued up on VM. I looked from some benchmark tests to run so i can see a comparison between our live and new VM we have been presented. Please see below for results. To me the... (3 Replies)
Discussion started by: treds
3 Replies

8. Red Hat

Redhat versus Ubuntu Linux distribution

I am being asked to use RHEL red hat instead of ubuntu. Are the basic commands the same? I know the licensing is different, but are the package mangers/repositories the same? That is will sudo apt-get still be used? I have been using ubuntu for 4 years and have never used red hat so any... (5 Replies)
Discussion started by: cmccabe
5 Replies

9. Solaris

Run level process when Physical server goes down

Need inputs when physical server is coming down (ex- init 0) . We have a physical server in that there are couple of LDOM's and in LDOM's there are couple of Zones . In zones there are applications running . Physical Server (T4 Server) -> LDOM -> ZONES -> applications There are scripts... (1 Reply)
Discussion started by: ajayram_arya
1 Replies
vmmouse_detect(1)					      General Commands Manual						 vmmouse_detect(1)

NAME
vmmouse_detect - VMware mouse device autodetection tool SYNOPSIS
vmmouse_detect OPTIONS
vmmouse_detect has no options DESCRIPTION
vmmouse_detect is a tool for detecting if running in a VMware environment where vmmouse is used. It exits with a 0 return value if the vmmouse client is enabled, and 1 if not. DIAGNOSTICS
vmmouse_detect's exit status is used to communicate information. 0 vmmouse_detect found a mouse and exited normally. 1 Either the vmmouse client was not enabled, or it is not being run from within a VMware virtual machine. BUGS
Please report bugs in vmmouse_detect <https://bugs.launchpad.net/ubuntu/+source/mdetect/vmmouse_detect>. AUTHORS
vmmouse_detect is copyright 2007 VMware, Inc. LICENSING
The vmmouse_detect source code is licensed under a BSD-like license. See COPYING for details. This manual page is licensed under the GNU General Public License. SEE ALSO
mdetect(1), XFree86(1) X Version 11 xf86-input-vmmouse 12.6.9 vmmouse_detect(1)
All times are GMT -4. The time now is 09:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy