2018-12-02 23:12:45 +00:00
|
|
|
.Dd December 2, 2018
|
2018-11-30 20:41:21 +00:00
|
|
|
.Dt SANDMAN 1
|
2018-12-02 23:12:45 +00:00
|
|
|
.Os
|
2018-11-30 20:41:21 +00:00
|
|
|
.
|
|
|
|
.Sh NAME
|
|
|
|
.Nm sandman
|
|
|
|
.Nd signal sleep
|
|
|
|
.
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
|
|
|
.Ar command ...
|
|
|
|
.
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
|
|
|
is a utility for Darwin systems.
|
2018-12-02 23:12:45 +00:00
|
|
|
It runs the
|
2018-11-30 20:41:21 +00:00
|
|
|
.Ar command
|
2018-12-02 23:12:45 +00:00
|
|
|
as a child process
|
2018-11-30 20:41:21 +00:00
|
|
|
and sends it
|
|
|
|
.Dv SIGTSTP
|
|
|
|
and
|
|
|
|
.Dv SIGCONT
|
|
|
|
signals
|
2018-12-02 23:12:45 +00:00
|
|
|
when the system goes to sleep
|
2018-11-30 20:41:21 +00:00
|
|
|
and wakes from sleep,
|
|
|
|
respectively.
|
|
|
|
.
|
|
|
|
.Sh EXIT STATUS
|
|
|
|
.Nm
|
|
|
|
exits with the exit status of the child process.
|
|
|
|
.
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr signal 3
|