setfib.1 (23090366f729c56cab62de74c7a51792357e98a9) | setfib.1 (452262c8eafd97e35c18bf94f654caf9fe2ffc7a) |
---|---|
1.\" Copyright (c) 2008 Cisco systems 2.\" Author Julian Elischer. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" | 1.\" Copyright (c) 2008 Cisco systems 2.\" Author Julian Elischer. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 10 unchanged lines hidden (view full) --- 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" |
27.Dd April 9, 2008 | 27.Dd October 20, 2008 |
28.Dt SETFIB 1 29.Os 30.Sh NAME 31.Nm setfib 32.Nd execute a utility with an altered default network view 33.Sh SYNOPSIS 34.Nm 35.Op Fl F 36.Ar fib 37.Ar utility 38.Op Ar argument ... 39.Sh DESCRIPTION 40The 41.Nm | 28.Dt SETFIB 1 29.Os 30.Sh NAME 31.Nm setfib 32.Nd execute a utility with an altered default network view 33.Sh SYNOPSIS 34.Nm 35.Op Fl F 36.Ar fib 37.Ar utility 38.Op Ar argument ... 39.Sh DESCRIPTION 40The 41.Nm |
42utility runs | 42utility runs another |
43.Ar utility | 43.Ar utility |
44with an different routing table. | 44with a different routing table. |
45The table number | 45The table number |
46.Dq Ar fib | 46.Ar fib |
47will be used by default for all sockets started by this 48process or descendants. 49.Sh ENVIRONMENT 50The 51.Ev PATH 52environment variable is used to locate the requested 53.Ar utility 54if the name contains no --- 9 unchanged lines hidden (view full) --- 64.Pp 65An exit status of 126 indicates 66.Ar utility 67was found, but could not be executed. 68An exit status of 127 indicates 69.Ar utility 70could not be found. 71.Sh EXAMPLES | 47will be used by default for all sockets started by this 48process or descendants. 49.Sh ENVIRONMENT 50The 51.Ev PATH 52environment variable is used to locate the requested 53.Ar utility 54if the name contains no --- 9 unchanged lines hidden (view full) --- 64.Pp 65An exit status of 126 indicates 66.Ar utility 67was found, but could not be executed. 68An exit status of 127 indicates 69.Ar utility 70could not be found. 71.Sh EXAMPLES |
72Execute utility 73.Sq netstat | 72Run 73.Xr netstat 1 |
74to view the second routing table. 75.Pp 76.Dl "setfib -F 1 netstat -rn" 77or 78.Dl "setfib 1 netstat -rn" 79or 80.Dl "setfib -1 netstat -rn" 81.Sh SEE ALSO 82.Xr setfib 2 , 83.Xr setsockopt 2 84.Sh STANDARDS 85The 86.Nm 87utility is a 88.Fx | 74to view the second routing table. 75.Pp 76.Dl "setfib -F 1 netstat -rn" 77or 78.Dl "setfib 1 netstat -rn" 79or 80.Dl "setfib -1 netstat -rn" 81.Sh SEE ALSO 82.Xr setfib 2 , 83.Xr setsockopt 2 84.Sh STANDARDS 85The 86.Nm 87utility is a 88.Fx |
89specific extension, however many 90.Ux | 89specific extension. 90However, many 91.Ux Ns - Ns |
91like systems 92have an equivalent function. 93.Sh HISTORY 94The 95.Nm 96utility appeared in 97.Fx 7.1 . | 92like systems 93have an equivalent function. 94.Sh HISTORY 95The 96.Nm 97utility appeared in 98.Fx 7.1 . |