The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Apache2::SSI::SemStat - Apache2 SSI Notes Shared Memory Manipulation

SYNOPSIS

    semctl( $id, 0, IPC_STAT, $data ) || die( "$!\n" );
    my @values = unpack( $data );
    my $semstat => Apache2::SSI::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

Apache2::SSI::SemStat provides an object oriented way to access semaphore stat information after being populated during object instantiation.

METHODS

new

Creates a new Apache2::SSI::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>

CPAN ID: jdeguest

https://gitlab.com/jackdeguest/Apache2-SSI

SEE ALSO

Apache2::SSI, Apache2::SSI::Notes

perlipc, perlmod, IPC::Shareable

COPYRIGHT & LICENSE

Copyright (c) 2020-2021 DEGUEST Pte. Ltd.

You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.