10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How would I write a value to a physical memory address?
I was able to read a physical memory address (for example, 0x400) using this line:
dd if=/dev/mem count=4 bs=1 skip=$(( 0x400 ))
But I get an error:
dd: 'standard input': cannot skip to specified offset
when I try to write using... (1 Reply)
Discussion started by: rabrandt
1 Replies
2. Solaris
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)
Discussion started by: nikhil kasar
4 Replies
3. Programming
I need some help to write a C++ code that read and write the register of a sequencer. I have to make a code that relate the objects with the physical address but I am a bit confuse. Could someone suggest me how to proceed? in which parts do I split the code?
thanks (1 Reply)
Discussion started by: silviafisica
1 Replies
4. AIX
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)
Discussion started by: mhenryj
4 Replies
5. AIX
I am new to HACMP V5.4 in AIX5.3.Please let me know how to get the virtual IP address configured for a HACMP cluster.
Is this the correct way to identify it?
If i give ifconfig -a the first ip address displayed is the real address of the host.So the other one can be VIP.
Thanks in Advance (3 Replies)
Discussion started by: guru13
3 Replies
6. Solaris
Hi,
I need help to add new route:
10.252.0.138, GW 10.252.0.129 to e1000g1
and
10.252.0.10, GW 10.252.0.1 to e1000g2
tnx (4 Replies)
Discussion started by: mehrdad68
4 Replies
7. UNIX for Dummies Questions & Answers
Hello,I am new to unix,i want to know how to assign virtual ip address to a system that is in my personal network? (1 Reply)
Discussion started by: veeru_jarugula
1 Replies
8. AIX
Hi all
I need command to give logical and physical IP Address for my machine.
thank you (1 Reply)
Discussion started by: magasem
1 Replies
9. IP Networking
We currently have a Solaris Wks that is being used as an "ftp server" and
it routinely accepts data each night that if ftp'd to it from off site. In the event that this "ftp server" should fail (crash, die, whatever) we would like to have an automatic fail over to a second Solaris Wks as the "ftp... (2 Replies)
Discussion started by: kanejm
2 Replies
10. IP Networking
Hi,
I bound a virtual IP to a network card on my E450 server and I am getting this error when I reboot the server, saying, " retrying host, RPC time out. I had to break this sequence and allow other services to load. Of course they didn't load properly. Please how can I sort this out? I do need... (8 Replies)
Discussion started by: Ronny
8 Replies
mem(7D) Devices mem(7D)
NAME
mem, kmem, allkmem - physical or virtual memory access
SYNOPSIS
/dev/mem
/dev/kmem
/dev/allkmem
DESCRIPTION
The file /dev/mem is a special file that provides access to the physical memory of the computer.
The file /dev/kmem is a special file that provides access to the virtual address space of the operating system kernel, excluding memory
that is associated with an I/O device.
The file /dev/allkmem is a special file that provides access to the virtual address space of the operating system kernel, including memory
that is associated with an I/O device. You can use any of these devices to examine and modify the system.
Byte addresses in /dev/mem are interpreted as physical memory addresses. Byte addresses in /dev/kmem and /dev/allkmem are interpreted as
kernel virtual memory addresses. A reference to a non-existent location returns an error. See ERRORS for more information.
The file /dev/mem accesses physical memory; the size of the file is equal to the amount of physical memory in the computer. This size may
be larger than 4GB on a system running the 32-bit operating environment. In this case, you can access memory beyond 4GB using a series of
read(2) and write(2) calls, a pread64() or pwrite64() call, or a combination of llseek(2) and read(2) or write(2).
ERRORS
EFAULT Occurs when trying to write(2) a read-only location (allkmem), read(2) a write-only location (allkmem), or read(2) or write(2) a
non-existent or unimplemented location (mem, kmem, allkmem).
EIO Occurs when trying to read(2) or write(2) a memory location that is associated with an I/O device using the /dev/kmem special
file.
ENXIO Results from attempting to mmap(2) a non-existent physical (mem) or virtual (kmem, allkmem) memory address.
FILES
/dev/mem Provides access to the computer's physical memory.
/dev/kmem Provides access to the virtual address space of the operating system kernel, excluding memory that is associated with an
I/O device.
/dev/allkmem Provides access to the virtual address space of the operating system kernel, including memory that is associated with an
I/O device.
SEE ALSO
llseek(2), mmap(2), read(2), write(2)
WARNINGS
Using these devices to modify (that is, write to) the address space of a live running operating system or to modify the state of a
hardware device is extremely dangerous and may result in a system panic if kernel data structures are damaged or if device state is
changed.
SunOS 5.11 18 Feb 2002 mem(7D)