Skip to content

Cockpit plugin that shows information about system / userspace startup in a graph.

License

Notifications You must be signed in to change notification settings

QazCetelic/cockpit-boot-analysis

Repository files navigation

Cockpit Boot Analysis

Plugin that shows information about system / userspace startup in a graph.

image

It was originally intended to be added as a feature to cockpit itself, but the original PR has been open since October 2023, so I've decided to turn it into a plugin instead.

Installation

  1. Download the latest build from the actions page.
  2. Extract the .tar.gz archive inside (GitHub archives it twice for some reason).
  3. Take the boot-analysis folder from the .tar.gz archive and put it in /usr/local/share/cockpit/.
  4. Press F5 to refresh the cockpit page.

Development setup

  1. Installing dependencies
Debian/Ubuntu
sudo apt install gettext nodejs npm make
Fedora
sudo dnf install gettext nodejs npm make
  1. Getting and building the source

These commands check out the source and build it into the dist/ directory:

git clone https://github.com/QazCetelic/cockpit-boot-analysis.git
cd cockpit-boot-analysis
make
  1. Running the plugin

Run the following commands to add the plugin to your local cockpit installation:

mkdir -p ~/.local/share/cockpit
ln -s ./dist ~/.local/share/cockpit/boot-analysis

Then run make watch to update the build on changes.