Operating System - HP-UX
1833883 Members
1899 Online
110063 Solutions
New Discussion

Re: mem command on Unix 11.00

 
ANDRE David
Occasional Advisor

mem command on Unix 11.00

Hello,
i would like use the mem command.
I see that on man page ( man mem is ok )
But when i execute this command :
# mem
mem : not found
i have the following file :
/dev/mem
/dev/kmem
/dev/dmem

What is the problem with this command.
Thanks.
2 REPLIES 2
Rainer von Bongartz
Honored Contributor

Re: mem command on Unix 11.00

mem is no command !!!!

/dev/mem is the special device file directly pointing to the memory.

you are in seriuosly danger playing around with /dev/mem as you can corrupt the memory and bring down the system.

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
KCS_1
Respected Contributor

Re: mem command on Unix 11.00

hi,

look at man page of mem again ,expecially , part of Description


HPK460:[/usr/share/doc]# man mem
Reformatting entry. Wait... done

mem(7) mem(7)

NAME
mem - main memory

DESCRIPTION
mem is a special file that is an image of the main memory of the
computer.




Easy going at all.