view release on metacpan or search on metacpan
"Data::Sah::Coerce::perl::To_duration::From_str::hms" : "0",
"Data::Sah::Coerce::perl::To_duration::From_str::human" : "0",
"Data::Sah::Coerce::perl::To_duration::From_str::iso8601" : "0",
"Data::Sah::Compiler::perl::TH::array" : "0.914",
"Data::Sah::Compiler::perl::TH::bool" : "0.914",
"Data::Sah::Compiler::perl::TH::duration" : "0.914",
"Data::Sah::Compiler::perl::TH::int" : "0.914",
"Data::Sah::Compiler::perl::TH::re" : "0.914",
"Data::Sah::Compiler::perl::TH::str" : "0.914",
"Data::Sah::Filter::perl::Re::re_from_str" : "0",
"Data::Sah::Filter::perl::Unix::check_uid_exists" : "0",
"Data::Sah::Filter::perl::Unix::convert_unix_user_to_uid" : "0",
"Log::ger" : "0.038",
"Perinci::CmdLine::Any" : "0.154",
"Perinci::CmdLine::Lite" : "1.924",
"Sah::Schema::re_from_str" : "0",
"Sah::Schema::true" : "0",
"Sah::Schema::unix::signal" : "0",
"Sah::Schema::unix::uid::exists" : "0",
"perl" : "5.010001",
"strict" : "0",
"warnings" : "0"
}
},
"test" : {
"requires" : {
"File::Spec" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
Data::Sah::Coerce::perl::To_duration::From_str::hms: '0'
Data::Sah::Coerce::perl::To_duration::From_str::human: '0'
Data::Sah::Coerce::perl::To_duration::From_str::iso8601: '0'
Data::Sah::Compiler::perl::TH::array: '0.914'
Data::Sah::Compiler::perl::TH::bool: '0.914'
Data::Sah::Compiler::perl::TH::duration: '0.914'
Data::Sah::Compiler::perl::TH::int: '0.914'
Data::Sah::Compiler::perl::TH::re: '0.914'
Data::Sah::Compiler::perl::TH::str: '0.914'
Data::Sah::Filter::perl::Re::re_from_str: '0'
Data::Sah::Filter::perl::Unix::check_uid_exists: '0'
Data::Sah::Filter::perl::Unix::convert_unix_user_to_uid: '0'
Log::ger: '0.038'
Perinci::CmdLine::Any: '0.154'
Perinci::CmdLine::Lite: '1.924'
Sah::Schema::re_from_str: '0'
Sah::Schema::true: '0'
Sah::Schema::unix::signal: '0'
Sah::Schema::unix::uid::exists: '0'
perl: '5.010001'
strict: '0'
warnings: '0'
resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=App-BraveUtils
homepage: https://metacpan.org/release/App-BraveUtils
repository: git://github.com/perlancar/perl-App-BraveUtils.git
version: '0.002'
x_Dist_Zilla:
perl:
Makefile.PL view on Meta::CPAN
"Data::Sah::Coerce::perl::To_duration::From_str::hms" => 0,
"Data::Sah::Coerce::perl::To_duration::From_str::human" => 0,
"Data::Sah::Coerce::perl::To_duration::From_str::iso8601" => 0,
"Data::Sah::Compiler::perl::TH::array" => "0.914",
"Data::Sah::Compiler::perl::TH::bool" => "0.914",
"Data::Sah::Compiler::perl::TH::duration" => "0.914",
"Data::Sah::Compiler::perl::TH::int" => "0.914",
"Data::Sah::Compiler::perl::TH::re" => "0.914",
"Data::Sah::Compiler::perl::TH::str" => "0.914",
"Data::Sah::Filter::perl::Re::re_from_str" => 0,
"Data::Sah::Filter::perl::Unix::check_uid_exists" => 0,
"Data::Sah::Filter::perl::Unix::convert_unix_user_to_uid" => 0,
"Log::ger" => "0.038",
"Perinci::CmdLine::Any" => "0.154",
"Perinci::CmdLine::Lite" => "1.924",
"Sah::Schema::re_from_str" => 0,
"Sah::Schema::true" => 0,
"Sah::Schema::unix::signal" => 0,
"Sah::Schema::unix::uid::exists" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Test::More" => 0
},
"VERSION" => "0.002",
Makefile.PL view on Meta::CPAN
"Data::Sah::Coerce::perl::To_duration::From_str::hms" => 0,
"Data::Sah::Coerce::perl::To_duration::From_str::human" => 0,
"Data::Sah::Coerce::perl::To_duration::From_str::iso8601" => 0,
"Data::Sah::Compiler::perl::TH::array" => "0.914",
"Data::Sah::Compiler::perl::TH::bool" => "0.914",
"Data::Sah::Compiler::perl::TH::duration" => "0.914",
"Data::Sah::Compiler::perl::TH::int" => "0.914",
"Data::Sah::Compiler::perl::TH::re" => "0.914",
"Data::Sah::Compiler::perl::TH::str" => "0.914",
"Data::Sah::Filter::perl::Re::re_from_str" => 0,
"Data::Sah::Filter::perl::Unix::check_uid_exists" => 0,
"Data::Sah::Filter::perl::Unix::convert_unix_user_to_uid" => 0,
"File::Spec" => 0,
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Log::ger" => "0.038",
"Perinci::CmdLine::Any" => "0.154",
"Perinci::CmdLine::Lite" => "1.924",
"Sah::Schema::re_from_str" => 0,
"Sah::Schema::true" => 0,
"Sah::Schema::unix::signal" => 0,
"Sah::Schema::unix::uid::exists" => 0,
"Test::More" => 0,
"strict" => 0,
"warnings" => 0
);
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
delete $WriteMakefileArgs{BUILD_REQUIRES};
$WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* quiet => *true*
(No description)
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* quiet => *true*
(No description)
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* quiet => *true*
(No description)
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
Usage:
pause_and_unpause_brave(%args) -> [$status_code, $reason, $payload, \%result_meta]
Pause and unpause Brave alternately.
A modern browser now runs complex web pages and applications. Despite
browser's power management feature, these pages/tabs on the browser
often still eat considerable CPU cycles even though they only run in the
background. Pausing (kill -STOP) the browser processes is a simple and
effective way to stop CPU eating on Unix and prolong your laptop battery
life. It can be performed whenever you are not using your browser for a
little while, e.g. when you are typing on an editor or watching a movie.
When you want to use your browser again, simply unpause (kill -CONT) it.
The "pause-and-unpause" action pause and unpause browser in an alternate
fashion, by default every 5 minutes and 30 seconds. This is a compromise
to save CPU time most of the time but then give time for web
applications in the browser to catch up during the unpause window (e.g.
for WhatsApp Web to display new messages and sound notification.) It can
be used when you are not browsing but still want to be notified by web
* pid_pat => *re_from_str*
Filter processes using regex against their pid.
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
Usage:
pause_brave(%args) -> [$status_code, $reason, $payload, \%result_meta]
Pause (kill -STOP) Brave.
A modern browser now runs complex web pages and applications. Despite
browser's power management feature, these pages/tabs on the browser
often still eat considerable CPU cycles even though they only run in the
background. Pausing (kill -STOP) the browser processes is a simple and
effective way to stop CPU eating on Unix and prolong your laptop battery
life. It can be performed whenever you are not using your browser for a
little while, e.g. when you are typing on an editor or watching a movie.
When you want to use your browser again, simply unpause (kill -CONT) it.
This function is not exported.
Arguments ('*' denotes required arguments):
* cmndline_pat => *re_from_str*
* pid_pat => *re_from_str*
Filter processes using regex against their pid.
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
* pid_pat => *re_from_str*
Filter processes using regex against their pid.
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
* pid_pat => *re_from_str*
Filter processes using regex against their pid.
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* signal => *unix::signal*
(No description)
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
* pid_pat => *re_from_str*
Filter processes using regex against their pid.
If one of the "*-pat" options are specified, then instead of the
default heuristic rules to find the browser processes, these "*-pat"
options are solely used to determine which processes are the browser
processes.
* users => *array[unix::uid::exists]*
Kill browser processes that belong to certain user(s) only.
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status
code (200 means OK, 4xx caller error, 5xx function error). Second
element ($reason) is a string containing error message, or something
like "OK" if status is 200. Third element ($payload) is the actual
result, but usually not present when enveloped result is an error
lib/App/BraveUtils.pm view on Meta::CPAN
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<quiet> => I<true>
(No description)
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
lib/App/BraveUtils.pm view on Meta::CPAN
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<quiet> => I<true>
(No description)
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
lib/App/BraveUtils.pm view on Meta::CPAN
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<quiet> => I<true>
(No description)
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
lib/App/BraveUtils.pm view on Meta::CPAN
Usage:
pause_and_unpause_brave(%args) -> [$status_code, $reason, $payload, \%result_meta]
Pause and unpause Brave alternately.
A modern browser now runs complex web pages and applications. Despite browser's
power management feature, these pages/tabs on the browser often still eat
considerable CPU cycles even though they only run in the background. Pausing
(kill -STOP) the browser processes is a simple and effective way to stop CPU
eating on Unix and prolong your laptop battery life. It can be performed
whenever you are not using your browser for a little while, e.g. when you are
typing on an editor or watching a movie. When you want to use your browser
again, simply unpause (kill -CONT) it.
The C<pause-and-unpause> action pause and unpause browser in an alternate
fashion, by default every 5 minutes and 30 seconds. This is a compromise to save
CPU time most of the time but then give time for web applications in the browser
to catch up during the unpause window (e.g. for WhatsApp Web to display new
messages and sound notification.) It can be used when you are not browsing but
still want to be notified by web applications from time to time.
lib/App/BraveUtils.pm view on Meta::CPAN
300,10,120,30
=item * B<pid_pat> => I<re_from_str>
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
lib/App/BraveUtils.pm view on Meta::CPAN
Usage:
pause_brave(%args) -> [$status_code, $reason, $payload, \%result_meta]
Pause (kill -STOP) Brave.
A modern browser now runs complex web pages and applications. Despite browser's
power management feature, these pages/tabs on the browser often still eat
considerable CPU cycles even though they only run in the background. Pausing
(kill -STOP) the browser processes is a simple and effective way to stop CPU
eating on Unix and prolong your laptop battery life. It can be performed
whenever you are not using your browser for a little while, e.g. when you are
typing on an editor or watching a movie. When you want to use your browser
again, simply unpause (kill -CONT) it.
This function is not exported.
Arguments ('*' denotes required arguments):
=over 4
lib/App/BraveUtils.pm view on Meta::CPAN
used to determine which processes are the browser processes.
=item * B<pid_pat> => I<re_from_str>
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
lib/App/BraveUtils.pm view on Meta::CPAN
used to determine which processes are the browser processes.
=item * B<pid_pat> => I<re_from_str>
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
lib/App/BraveUtils.pm view on Meta::CPAN
used to determine which processes are the browser processes.
=item * B<pid_pat> => I<re_from_str>
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<signal> => I<unix::signal>
(No description)
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
lib/App/BraveUtils.pm view on Meta::CPAN
used to determine which processes are the browser processes.
=item * B<pid_pat> => I<re_from_str>
Filter processes using regex against their pid.
If one of the C<*-pat> options are specified, then instead of the default
heuristic rules to find the browser processes, these C<*-pat> options are solely
used to determine which processes are the browser processes.
=item * B<users> => I<array[unix::uid::exists]>
Kill browser processes that belong to certain user(s) only.
=back
Returns an enveloped result (an array).
First element ($status_code) is an integer containing HTTP-like status code
(200 means OK, 4xx caller error, 5xx function error). Second element
script/brave-has-processes view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of brave-has-processes (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<brave-has-processes> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<brave-has-processes> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<brave-has-processes> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--ver...
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--quiet-arg>, B<-q>
script/brave-is-paused view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of brave-is-paused (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<brave-is-paused> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<brave-is-paused> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<brave-is-paused> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose...
=head1 DESCRIPTION
Brave is defined as paused if I<all> of its processes are in 'stop' state.
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
script/brave-is-running view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of brave-is-running (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<brave-is-running> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<brave-is-running> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<brave-is-running> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbos...
=head1 DESCRIPTION
Brave is defined as running if there are some Brave processes that are I<not>
in 'stop' state. In other words, if Brave has been started but is currently
paused, we do not say that it's running. If you want to check if Brave process
exists, you can use C<ps_brave>.
=head1 OPTIONS
script/kill-brave view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of kill-brave (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<kill-brave> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<kill-brave> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<kill-brave> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>] ...
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--signal>=I<s>, B<-s>
script/pause-and-unpause-brave view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of pause-and-unpause-brave (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<pause-and-unpause-brave> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<pause-and-unpause-brave> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<pause-and-unpause-brave> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"-...
=head1 DESCRIPTION
A modern browser now runs complex web pages and applications. Despite browser's
power management feature, these pages/tabs on the browser often still eat
considerable CPU cycles even though they only run in the background. Pausing
(kill -STOP) the browser processes is a simple and effective way to stop CPU
eating on Unix and prolong your laptop battery life. It can be performed
whenever you are not using your browser for a little while, e.g. when you are
typing on an editor or watching a movie. When you want to use your browser
again, simply unpause (kill -CONT) it.
The C<pause-and-unpause> action pause and unpause browser in an alternate
fashion, by default every 5 minutes and 30 seconds. This is a compromise to save
CPU time most of the time but then give time for web applications in the browser
to catch up during the unpause window (e.g. for WhatsApp Web to display new
messages and sound notification.) It can be used when you are not browsing but
still want to be notified by web applications from time to time.
script/pause-brave view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of pause-brave (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<pause-brave> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<pause-brave> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<pause-brave> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>]...
=head1 DESCRIPTION
A modern browser now runs complex web pages and applications. Despite browser's
power management feature, these pages/tabs on the browser often still eat
considerable CPU cycles even though they only run in the background. Pausing
(kill -STOP) the browser processes is a simple and effective way to stop CPU
eating on Unix and prolong your laptop battery life. It can be performed
whenever you are not using your browser for a little while, e.g. when you are
typing on an editor or watching a movie. When you want to use your browser
again, simply unpause (kill -CONT) it.
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
script/ps-brave view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of ps-brave (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<ps-brave> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<ps-brave> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<ps-brave> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">>] [B...
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--user>=I<s@>
script/terminate-brave view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of terminate-brave (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<terminate-brave> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<terminate-brave> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<terminate-brave> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose...
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--signal>=I<s>, B<-s>
script/unpause-brave view on Meta::CPAN
=head1 VERSION
This document describes version 0.002 of unpause-brave (from Perl distribution App-BraveUtils), released on 2023-10-28.
=head1 SYNOPSIS
B<unpause-brave> B<L<--help|/"--help, -h, -?">> (or B<L<-h|/"--help, -h, -?">>, B<L<-?|/"--help, -h, -?">>)
B<unpause-brave> B<L<--version|/"--version, -v">> (or B<L<-v|/"--version, -v">>)
B<unpause-brave> [B<L<--cmndline-pat|/"--cmndline-pat=s">>=I<L<re_from_str|Sah::Schema::re_from_str>>] [B<L<--debug|/"--debug">>|B<L<--log-level|/"--log-level=s">>=I<level>|B<L<--quiet|/"--quiet">>|B<L<--trace|/"--trace">>|B<L<--verbose|/"--verbose">...
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--user>=I<s@>