NAME
Module::Generic::SemStat - Shared Memory Manipulation
SYNOPSIS
semctl( $id, 0, IPC_STAT, $data ) || die( "$!\n" );
my @values = unpack( $data );
my $semstat => Module::Generic::SemStat->new( @values );
my $cgid = $semstat->cgid;
my $ctime = $semstat->ctime;
my $cuid = $semstat->cuid;
my $gid = $semstat->gid;
my $mode = $semstat->mode;
my $nsems = $semstat->nsems;
my $otime = $semstat->otime;
my $uid = $semstat->uid;
VERSION
v0.1.0
DESCRIPTION
Module::Generic::SemStat provides an object oriented way to access semaphore stat information after being populated during object instantiation.
METHODS
new
Creates a new Module::Generic::SemStat object and return it.
cgid
Effective GID of creator
ctime
Last semop time
cuid
Effective UID of creator
gid
Effective UID of owner
mode
Permissions
nsems
No. of semaphores in set
otime
Last semop time
uid
Effective UID of owner
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Module::Generic, Module::Generic::SharedMem
perlipc, perlmod, IPC::Shareable
COPYRIGHT & LICENSE
Copyright (c) 2021 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.