pavement

Proc

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
In linux, you can see your systems' info by fooling around in /proc and changing stuff in there. In FreeBSD, the equivalent is [[sysctl]].
+
FreeBSD versions prior to 5.0 had a /proc implementation.  However, several serious security issues were discovered and it was decided to move away from /proc.  The replacement is [[sysctl]].  FreeBSD 5.x still has a mountable /proc system, and is sitll used for certain debugging programs, including truss.  FreeBSD 6.x has moved away from /proc completely, and you need to jump through hoops in order to get it mounted.  FreeBSD 7.x will probably be the first release without any trace of /proc.
 +
 
 +
In Linux, you can use /proc to see various bits of kernel and system info. In FreeBSD, the equivalent is [[sysctl]].  Linux also has sysctl, but it's usefull is nowhere near that of FreeBSD's sysctl.
  
 
[[Category : Linux Equivalents]]
 
[[Category : Linux Equivalents]]

Revision as of 14:56, 24 November 2005

FreeBSD versions prior to 5.0 had a /proc implementation. However, several serious security issues were discovered and it was decided to move away from /proc. The replacement is sysctl. FreeBSD 5.x still has a mountable /proc system, and is sitll used for certain debugging programs, including truss. FreeBSD 6.x has moved away from /proc completely, and you need to jump through hoops in order to get it mounted. FreeBSD 7.x will probably be the first release without any trace of /proc.

In Linux, you can use /proc to see various bits of kernel and system info. In FreeBSD, the equivalent is sysctl. Linux also has sysctl, but it's usefull is nowhere near that of FreeBSD's sysctl.

Personal tools