core.5 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) core.5 (e21a315ec5d2f63b0777c18fcb312064d00e4f86)
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. 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.

--- 104 unchanged lines hidden (view full) ---

113.Aq Pa sys/param.h ) .
114.Sh EXAMPLES
115In order to store all core images in per-user private areas under
116.Pa /var/coredumps ,
117the following
118.Xr sysctl 8
119command can be used:
120.Pp
1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. 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.

--- 104 unchanged lines hidden (view full) ---

113.Aq Pa sys/param.h ) .
114.Sh EXAMPLES
115In order to store all core images in per-user private areas under
116.Pa /var/coredumps ,
117the following
118.Xr sysctl 8
119command can be used:
120.Pp
121.Dl sysctl -w kern.corefile="/var/coredumps/\&%U/\&%N.core"
121.Dl sysctl kern.corefile="/var/coredumps/\&%U/\&%N.core"
122.Sh SEE ALSO
123.Xr gdb 1 ,
124.Xr kgdb 1 ,
125.Xr setrlimit 2 ,
126.Xr sigaction 2 ,
127.Xr sysctl 8
128.Sh HISTORY
129A
130.Nm
131file format appeared in
132.At v6 .
122.Sh SEE ALSO
123.Xr gdb 1 ,
124.Xr kgdb 1 ,
125.Xr setrlimit 2 ,
126.Xr sigaction 2 ,
127.Xr sysctl 8
128.Sh HISTORY
129A
130.Nm
131file format appeared in
132.At v6 .