Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
steam
systemd
Commits
0398f3da
Commit
0398f3da
authored
Apr 06, 2010
by
Lennart Poettering
Browse files
manager: dump status on SIGUSR1
parent
2fa086a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
manager.c
View file @
0398f3da
...
...
@@ -1502,6 +1502,16 @@ static int manager_process_signal_fd(Manager *m, bool *quit) {
break
;
case
SIGUSR1
:
printf
(
"→ By units:
\n
"
);
manager_dump_units
(
m
,
stdout
,
"
\t
"
);
printf
(
"→ By jobs:
\n
"
);
manager_dump_jobs
(
m
,
stdout
,
"
\t
"
);
break
;
default:
log_info
(
"Got unhandled signal <%s>."
,
strsignal
(
sfsi
.
ssi_signo
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment