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)
Check Out this Related Man Page
PHYS(2) System Calls Manual PHYS(2)NAME
phys - allow a process to access physical addresses (2BSD)
SYNOPSIS
phys(segreg, size, physaddr)
unsigned int segreg, size, physaddr;
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 physaddrx64 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(7, 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.
ERRORS
[EPERM] The process's effective user ID is not the super-user.
[EINVAL] Segreg is less than 0 or greater than 7.
[EINVAL] Size is less than 0 or greater than 128.
SEE ALSO
PDP-11 segmentation hardware
BUGS
On systems with ENABLE/34(tm) memory mapping boards, phys cannot be used to map in the I/O page.
This system call is very dangerous. It is not considered a permanent part of the system.
Phys is unique to the PDP-11 and 2BSD; its use is discouraged.
3rd Berkeley Distribution January 22, 1987 PHYS(2)
i am running solaris 9 i now how to create virtual ip address but how do i keep them so when the server reboots they are still there?...THANX (2 Replies)
Hi,
I need help to detect Vmware on Linux and SunOS.
I need to know if Vmware is installed on the box. If yes then if it is a physical or a virtual machine.
Thanks in advance,
amittal (2 Replies)
Hi all,
Even after reading many explanation the question still haunting me what's the difference between physical and linear addresses.Can we directly access physical addresses .If not then paging circuitry would have ensure contiguous physical addresses regardless of any linear addresses but this... (2 Replies)
I'm looking for a way in RHL 5.1 to use two NICs on one host with two physical IP addresses and map them under one virtual IP address, i.e. NIC 1 10.10.10.1 NIC2 10.10.10.2 VIP 192.168.10.1
Basically I want either one of the NICs to ARP for the VIP. No load balancing required just HA. (2 Replies)
Hi,
I am looking to work on unix systems which include (hp-ux, ibm aix, solaris and linux). I want to get the total virtual address space of a process, the used virtual memory i am able to get without any problem. I have tried using getrlimit and getrlimit64, but that gives only ... (4 Replies)
I am trying to generate a report with below file :
File1 :
EQADM,edrtere9-phys,8122caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere11-phys,8227caef0,gpatmon,/bin/ksh,nuten Erick
EQADM,edrtere3-phys,822caef0,gpatmon,/bin/ksh,nuten Erick
can you help me convert it to html and add... (9 Replies)
Hello
How do I deternine the physical location of an ethernet port, based on the hardware address?
I have 4 ports on a 9133-55A
ent0 05-08
ent1 05-09
ent2 07-08
ent3 07-09
Two of these are internal, and two are on a card. I need to single out ent0 and ent2, but I cannot find any... (4 Replies)
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... (1 Reply)
Hello,
I do not know Linux. It is a black box.
We have 2 virtuals servers (SAPVM01 and SAPVM06) in one physical server.
The first virtual system (SAPVM01) has a total size of 420 Gb and a free space of 170 GB. A SAP system is running.
The second virtual system (SAPVM06) has a total... (3 Replies)
hi all
i want to set ip address to a vitrual machine i am using following command.
but it is not ifconfig -a command output.
what is wrong i dont know
bash# ifconfig interfacename plumb
bash# ifconfig interfacename auto-dhcp
Please use code tags next time for your code and data. (4 Replies)
Hi
I am looking to automate the process in PERL of allocating IP addresses from a set range of addresses (for example a /22 network 10.10.224.1 - 10.10.227.254)
I am able to query the IP addresses that are already in use in the above range, which will produce me a list like this for example... (3 Replies)
Hello Guys,
Can some help me with a configuration from 2x10g cards to 4 Ldoms and a Vlan configuration,
Solaris 11
dladm show-phys
LINK MEDIA STATE SPEED DUPLEX DEVICE
net0 Ethernet up 1000 full ixgbe0
net1 Ethernet ... (2 Replies)