AUTOSUSPEND(1)
β¨ AUTOSUSPEND(1) β¨
okay bestie, settle in, because this is the autosuspend man page and honestly?? it's giving "small tool, huge main character energy." it's in section 1 of the manual, and the vibe is immaculate.
π NAME π
autosuspend β the autosuspend Documentation. yes that's literally the official NAME line, it's short, it's chic, we move on. π
πΈ SYNOPSIS πΈ
autosuspend [options] daemon|version [subcommand options]
like⦠that's the whole shape of it. options, then you pick a subcommand (daemon or version), then any subcommand-specific options. periodt.
π¦ DESCRIPTION π¦
so autosuspend is a daemon that periodically suspends a system when it's inactive, and then β this is the iconic part β wakes it back up automatically when it's needed again. it's literally the friend who lets you nap but shakes you awake the second your food delivery arrives. π«Ά
to do this, autosuspend periodically iterates a bunch of user-configurable activity checks. each one reports whether there's currently activity on the host that should stop the host from suspending. if one of the checks says "bestie, we're busy," then no action is taken and the periodic checking just keeps going. π
but if no activity can be detected, that chill state needs to hold for a specified amount of time before autosuspend actually suspends the host. so there's a whole cooldown situation. β³
on top of the activity checks, there are also wake up checks, which figure out the system's planned future activities β think a TV recording, or a periodic backup. π if those upcoming activities are known before suspending happens, autosuspend triggers a command to wake the system up automatically before the soonest activity. it's preemptive king behavior, no cap.
if you don't specify a config via a command line argument, autosuspend goes looking for a default configuration at /etc/autosuspend.conf. and autosuspend.conf(5) is where it explains the config file, all the available checks, and their configuration options. go read that one too, iykyk. π
π OPTIONS π
π Command line options π
general syntax, one more time for the people in the back:
autosuspend [options] daemon|version [subcommand options]
β¨ General options β¨
-h,--helpβ shows you an online help. classic. we love a help flag. π-c FILE,--config FILEβ tells it to use an alternate config file instead of the default/etc/autosuspend.conf. pick your own adventure. π-l FILE,--logging FILEβ configures the logging system with the logging file you provide. that file has to follow the conventions for Python logging files, described at/usr/share/doc/python3-doc/html/library/logging.config.html#logging-config-fileformat. so like, it's not vibes-only, there's a format. π-dβ turns on full debug logging, straight from the command line. mutually exclusive toautosuspend -lβ you can't have both, bestie, pick a lane. π
π§ Subcommand daemon π§
starts the continuously running daemon. the main event. the whole point. π
-a,--allchecksβ normallyautosuspendstops running checks within each iteration the moment the first matching check indicates system activity. if you set this flag, all the subsequent checks still get executed anyway. useful mostly for debugging purposes. it's the "run every check even though we already know" flag. π₯-r SECONDS,--runfor SECONDSβ if you specify this, it doesn't run endlessly. instead it only operates for the given amount of seconds and then exits. again, useful mostly for debugging purposes. very "we're just testing, we'll be done in a sec." β±οΈ
π Subcommand version π
outputs the currently installed version of autosuspend to stdout. that's it, that's the whole subcommand. so satisfying actually.
No options β she takes no options. flawless, unbothered, minimal. π
π BUGS π
found a bug? please report it at the project repository at https://github.com/languitar/autosuspend. don't suffer in silence, bestie, the maintainers want to know. π
π SEE ALSO π
autosuspend.conf(5)- the online documentation, including FAQs, at
https://autosuspend.readthedocs.io/
π Author π
Johannes Wienke
π Copyright π
2017, Johannes Wienke
and that's the tea. this page is version 10.1, dated May 09, 2026, and it lives in the autosuspend manual. go forth and suspend responsibly, bestie πΈβ¨π¦
π¦ where this page comes from
- ubuntu stonking: autosuspend 10.1.0-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms