document the username stuff

This commit is contained in:
Zane C. B-H 2019-08-22 22:57:13 -05:00
parent 6960454998
commit 9137a78384
1 changed files with 10 additions and 3 deletions

View File

@ -7,7 +7,7 @@ use User::pwent;
=head1 NAME
Proc::ProcessTable::Match::UID - Check if the UID of a process matches.
Proc::ProcessTable::Match::UID - Check if the UID or username of a process matches.
=head1 VERSION
@ -26,6 +26,8 @@ our $VERSION = '0.0.0';
uids=>[
0,
'>1000',
'!foo',
'www'
],
);
@ -42,9 +44,9 @@ our $VERSION = '0.0.0';
This intiates the object.
It takes a hash reference with one key. One key is required and
that is 'uids', which is a array of UIDs to match.
that is 'uids', which is a array of UIDs or usernames to match.
The UID values can be prefixed with the equalities below for doing
The values can be prefixed with the equalities below for doing
additional comparisons.
<
@ -53,6 +55,9 @@ additional comparisons.
>=
!
If a username is specified, only ! is valid. Otherwise the rest will
result in a unresolved or misresolved username to UID.
Atleast one value must be specified.
If the new method fails, it dies.
@ -61,6 +66,8 @@ If the new method fails, it dies.
uids=>[
0,
'>1000',
'!foo',
'www'
],
);