.Dd August 24, 1993 .Dt MOUNT_PROCFS 8 .Os NetBSD 0.8a .Sh NAME .Nm mount_procfs .Nd mount the proc file system .Sh SYNOPSIS .Nm mount_procfs .Op Fl F Ar fsoptions .Pa procfs .Pa mount_point .Sh DESCRIPTION The .Nm mount_procfs command attaches an instance of the proc filesystem to the global filesystem namespace. The conventional mount point is .Pa /proc . This command is normally executed by .Xr mount 8 at boot time. .Pp The proc filesystem presents a directory entry for each process in the system. The name of an entry is process id in decimal notation. Opening an entry for reading and/or writing gives access to the process address space. Several ioctl(2) operations are available to gain additional control over the process. .Sh FILES .Sh SEE ALSO .Xr mount 2 , .Xr unmount 2 , .Xr fstab 5 .Sh CAVEATS This filesystem may not be NFS-exported. The interface and implementation of the proc filesystem are still under development. .Sh HISTORY The .Nm mount_procfs utility first appeared in NetBSD 0.9. em clock (decimal ASCII). .It Pa loadavg the 1, 5 and 15 minute load average in kernel fixed-point format. The final integer is the fix-point scaling factor. All numbers are in decimal ASCII. .It Pa physmem the number of pages of physical memory in the machine (decimal ASCII). .It Pa root the system root directory. In a chroot'ed environment, .Nm can be used to create a new .Pa kernfs mount point. .Pa /kern/root will then refer to the system global root, not the current process root. .It Pa rootdev the root device. .It Pa rrootdev the raw root device. .It Pa time the second and microsecond value of the system clock. Both numbers are in decimal ASCII. .It Pa version the kernel version string. The head line for .Pa /etc/motd can be generated by running: .Dq Ic "sed 1q /kern/version" .El .Sh SEE ALSO .Xr mount 2 , .Xr unmount 2 , .Xr fstab 5 .Sh CAVEATS This filesystem may not be NFS-exported. .Sh HISTORY The .Nm mount_kernfs utility first appeared in NetBSD 0.8a.