Cockpit 243

Cockpit is the modern Linux admin interface. We release regularly.

Here are the release notes from Cockpit version 243.

Services: Show sockets and memory usage

Socket units show listening paths and ports, as well as the service units they activate.

Socket unit listening path

Service units show memory usage and which socket unit activated them.

Less important static relationships like “Requires:” are collapsed by default, making it easier to see the journal output.

Service memory usage

Developer API: Watch for file changes without reading

The API can be used to update a Cockpit page when files change. This has always read the file and returned the contents in a handler function.

Reading files is impractical in many cases, as contents may be unimportant or a file could be large (for example a database). Therefore, the watch API has gained a read option to disable the automatic reading. When read is set to false, the callback’s content will always be null.

Try it out

Cockpit 243 is available now: