Sponsored Content
Top Forums UNIX for Advanced & Expert Users Virtualization Related Help!! Post 302390827 by prasi_in on Friday 29th of January 2010 05:44:56 AM
Old 01-29-2010
Virtualization Related Help!!

Hi,

My script needs to find out if it is running on a virtual machine.
If it is then it needs to find out.
1 . The number of virtual processors.
2 . Actual physical box onto which the virtual machine is hosted.
3 .Processors on the physical machine.

Actually there are some commands like dmidecode psrinfo which can give me processor count and can find out whether script is running on virtual box but I am not able to relate the virtual machine with its physical box.

It would be great help if someone knows and guides me further.

thanks
Prasi
 

10 More Discussions You Might Find Interesting

1. Solaris

Virtualization with Solaris 10

Hello all, For my internship assignment I have a Sunfire 880 at my disposal for comparing virtualization with the normal mostly Windows based servers in the company. Are there any applications like VirtualBox or Vmware that can be used on a Sparc-system equipped with Solaris 10? I tried... (1 Reply)
Discussion started by: regi86
1 Replies

2. Virtualization and Cloud Computing

Virtualization problem

Hi, I am having a virtualization problem with a machine that runs on Fedora Core 4. I created a IDE virtual machine running FEDORA CORE 4. Then I restored the original servers partition one by one. Everything works until I restore root. Then When I load up I get mount: error 6 mounting ext3... (1 Reply)
Discussion started by: mojoman
1 Replies

3. Virtualization and Cloud Computing

Hardware virtualization

Hello to all In my organization we want to pass to move the systems to an virtualized environment, nevertheless, considering the absence of resources, the idea is to acquire the versers and that the department (I) do the facilities, tests, etc. Wearing out the possible minimal cost in... (1 Reply)
Discussion started by: aalvarez77
1 Replies

4. HP-UX

Virtualization Software

Hello peopel I am interesting in implement a virtualization system on HP-UX v3. I have some Integrity servers with this OS installed but I want to virtualize one of them because I have a problem that has no solution in HP-UX and I have to install RedHat for this reason. Then I don't know what... (1 Reply)
Discussion started by: Lekram
1 Replies

5. Red Hat

Redhat Virtualization 2.2

Hi Friends, Is there any one who is working on Redhat Virtualization (RHEV -- KVM)? Regards, Arumon (4 Replies)
Discussion started by: arumon
4 Replies

6. Virtualization and Cloud Computing

Virtualization problems

Hi everyone. Last week we have some hardware problems in our Unixware 7 server, and i decided to change this physical machine into a virtual machine. The scenario is: architecture=IA32 bus_types=PCI2.10,ISA,PnP1.0 hostname=tecsup2uw.tecsupaqp.edu hw_provider=Generic AT... (1 Reply)
Discussion started by: danilosevilla
1 Replies

7. Shell Programming and Scripting

need downloading related help...but its not related to unix

Hi All, I am trying to dowmload the zip file "zkManageCustomers.zip " but i dont have access. Can anyone help me to download this file See the below link- http://www.ibm.com/developerworks/opensource/library/wa-aj-open/index.html?ca=drs- Please help me as early as... (1 Reply)
Discussion started by: aish11
1 Replies

8. HP-UX

Virtualization options for HP-UX 11.31

Hello, I am looking for a virtualization option for HP-UX that will allow VMs to run completely independent of each other with full Operating System capabilities (not a guest OS with limited features/access), with their own IP addresses and dedicated resources that will not interfere with any... (4 Replies)
Discussion started by: bstring
4 Replies

9. Solaris

solaris virtualization

Hi everyone, I have ten servers with solaris (diffrent versions). there is solaris 10, solaris 6 and solaris 8. some are SPARC and some are x86 I would like to move them to one server so they all will be virtual. Is it possible? how? (4 Replies)
Discussion started by: bregtux
4 Replies

10. Linux

Virtualization best practices

Hello admins and gurus I have a controversial topic: now we are investing in a new Linux OS that will hold our Sybase database. The server will virtualized on a VMware server hosted on SAN storage. Now the question is, when we install the database engine is it better - in terms of performance -... (1 Reply)
Discussion started by: abohmeed
1 Replies
PHYS(2) 							System Calls Manual							   PHYS(2)

NAME
phys - allow a process to access physical addresses SYNOPSIS
phys(segreg, size, physadr) DESCRIPTION
The argument segreg specifies a process virtual (data-space) address range of 8K bytes starting at virtual address segregx8K bytes. This address range is mapped into physical address physadrx64 bytes. Only the first sizex64 bytes of this mapping is addressable. If size is zero, any previous mapping of this virtual address range is nullified. For example, the call phys(6, 1, 0177775); will map virtual addresses 0160000-0160077 into physical addresses 017777500-017777577. In particular, virtual address 0160060 is the PDP-11 console located at physical address 017777560. This call may only be executed by the super-user. SEE ALSO
PDP-11 segmentation hardware DIAGNOSTICS
The function value zero is returned if the physical mapping is in effect. The value -1 is returned if not super-user, if segreg is not in the range 0-7, if size is not in the range 0-127, or if the specified segreg is already used for other than a previous call to phys. BUGS
This system call is obviously very machine dependent and very dangerous. This system call is not considered a permanent part of the sys- tem. ASSEMBLER
(phys = 52.) sys phys; segreg; size; physadr PDP11 PHYS(2)
All times are GMT -4. The time now is 05:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy