document the username stuff
This commit is contained in:
parent
6960454998
commit
9137a78384
|
@ -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'
|
||||
],
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue