Files
sxmo-utils/scripts/core/sxmo_mutex_debug.sh
ArenM d5ba7b87a8 add mutex debug script to monitor mutex usage
This provides more information about why the system isn't suspending
than the icons in the status bar do, and can hopefully replace them
since they seem to cause a lot of confusion.

Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
2023-02-18 08:40:03 +01:00

12 lines
284 B
Bash

#! /bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
# Copyright 2022 Sxmo Contributors
# include common definitions
# shellcheck source=scripts/core/sxmo_common.sh
. sxmo_common.sh
sxmo_mutex.sh can_suspend list
tail -f "$XDG_STATE_HOME"/sxmo.log | stdbuf -oL grep 'sxmo_mutex.sh'