Module::Generic::SemStat - Shared Memory Manipulation
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;
v0.1.0
Module::Generic::SemStat provides an object oriented way to access semaphore stat information after being populated during object instantiation.
Creates a new Module::Generic::SemStat object and return it.
Effective GID of creator
Last semop time
Effective UID of creator
Effective UID of owner
Permissions
No. of semaphores in set
Jacques Deguest <jack@deguest.jp>
Module::Generic, Module::Generic::SharedMem
perlipc, perlmod, IPC::Shareable
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.
To install Module::Generic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Generic
CPAN shell
perl -MCPAN -e shell install Module::Generic
For more information on module installation, please visit the detailed CPAN module installation guide.