monitor-fsck-progress 1 user commands nosh
monitor-fsck-progress monitor the progress of one or more fscks
`monitor-fsck-progress`

## Description

`monitor-fsck-progress` expects file descriptor 3 to be a socket that has been set up with local-stream-socket-listen 1 or tcp-socket-listen 1 to listen for incoming (local or TCP/IP) socket connections. It loops forever, accepting socket connections and (for each such connection) listening for progress reports generated by fsck 8.

It displays, on the terminal connected to its standard output, progress bars for all client instances of `fsck`. There is one progress bar per currently connected client. It uses TerminalCapabilities 3 and an `ECMA48Output` class to create the progress bars, switching to the alternate screen buffer (if there is one).

`monitor-fsck-progress` is the meat of the `monitor-fsck-progress` service, which directs its output to `/dev/console`.

## Author

Jonathan de Boyne Pollard