Module:...SemStat(3)

πŸ“¦ version 1.1.3, in alpine 3.24

🌸 NAME

Module::Generic::SemStat β€” Shared Memory Manipulation. This is the User Contributed Perl Documentation page for Module:...SemStat(3), bestie β€” and it's all about giving you an object-oriented glow-up for semaphore stat info. πŸ’–

✨ 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 β€” that's the version, periodt. πŸ’…

πŸ’– DESCRIPTION

Module::Generic::SemStat gives you an object-oriented way to access semaphore stat information after it's been populated during object instantiation. No cap, that's the whole serve. ✨

🧚 METHODS

πŸ¦‹ new

Creates a new Module::Generic::SemStat object and returns it. Fresh object, main character energy. 🫢

🌸 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 (c) 2021-2024 DEGUEST Pte. Ltd.

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


Cute little sign-off tea: source/version says perl v5.42.2, date says 2026-02-15, and the footer title is Module:...SemStat(3). Stay slay, bestie! πŸ’…βœ¨

πŸ“¦ where this page comes from