EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ OpenBSD ]

"linux like /proc structure in OpenBSD" - Huzeyfe Ínal - (2005-03-01 20:29:40)   [8021]

in openbsd you can use linux like /proc , to do

bash-2.05b# mkdir /kern
bash-2.05b# mount -t kernfs /kern /kern/
bash-2.05b# cd /kern/
bash-2.05b# ls
boottime hostname machine osrelease physmem usermem
byteorder hz model osrev posix version
copyright ipsec msgbuf ostype rootdev
domainname loadavg ncpu pagesize time

-bash-2.05b# cat machine
i386

-bash-2.05b# cat osrelease
3.5
etc...

Mail to My Friend , Home Page