HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

noti — Monitor a process and trigger a banner notification. More information: <https://github.com/variadico

Submitted by: @import:tldr-pages··
0
Viewed 0 times
noticommandmonitorandprocessclibannertrigger

Problem

How to use the noti command: Monitor a process and trigger a banner notification. More information: <https://github.com/variadico/noti/blob/main/docs/noti.md>.

Solution

noti — Monitor a process and trigger a banner notification. More information: <https://github.com/variadico/noti/blob/main/docs/noti.md>.

Display a notification when tar finishes compressing files:
noti {{tar -cjf example.tar.bz2 example/}}


Display a notification even when you put it after the command to watch:
{{command_to_watch}}; noti


Monitor a process by PID and trigger a notification when the PID disappears:
noti {{[-w|--pwatch]}} {{process_id}}

Code Snippets

Display a notification when tar finishes compressing files

noti {{tar -cjf example.tar.bz2 example/}}

Display a notification even when you put it after the command to watch

{{command_to_watch}}; noti

Monitor a process by PID and trigger a notification when the PID disappears

noti {{[-w|--pwatch]}} {{process_id}}

Context

tldr-pages: common/noti

Revisions (0)

No revisions yet.