User guide
chown
chown — change ownership of memory block
Changes the ownership of a memory block to the specified process.
Syntax
chown
pid address1
[
address2 . . .
]
Arguments
pid
Specifies the hexadecimal process identifier (PID) of the new owner. You can
display PIDs with the ps command.
address1
[
address2 . . .
]
Specifies the hexadecimal address or list of addresses of allocated blocks for which
ownership is to be changed.
Example
>>> chown ‘ps | grep idle | find 0‘ ‘alloc 200‘
The first argument to the chown command uses the ps command to display
processes and pipes the output to the grep command to find the idle process.
The second argument to the chown command calls
alloc 200
to return the
starting address of the first free block of 200 bytes.
See Also
alloc, dynamic, ps
13–18 Console Commands