App-Context
view release on metacpan or search on metacpan
=item * Class Group: L<C<Security>|App::Security>
- provides authentication and authorization
=item * Class Group: L<C<LogChannel>|App::LogChannel>
- a logging channel through which messages may be logged
=item * Class Group: L<C<SharedDatastore>|App::SharedDatastore>
- a data storage area which is shared between processes
=item * Class Group: L<C<SharedResourceSet>|App::SharedResourceSet>
- a set of shared resources which may be locked for exclusive access
=back
=cut
#############################################################################
# CLASS GROUP
#############################################################################
=head1 Class Group: Core
lib/App/Context.pm view on Meta::CPAN
# 21. itrealvalue - The time in jiffies before the next SIGALRM is sent to the process because of an internal timer.
# 22. starttime - Time the process started after system boot
# 23. vsize - Virtual memory size
# 24. rlim - Current limit in bytes of the rss of the process.
# 25. startcode - The address above which program text can run.
# 26. endcode - The address below which program text can run.
# 27. startstack - The address of the start of the stack
# 28. kstkesp - The current value of esp for the process as found in the kernel stack page.
# 29. kstkeip - The current 32 bit instruction pointer, EIP.
# 30. signal - The bitmap of pending signals
# 31. blocked - The bitmap of blocked signals
# 32. sigignore - The bitmap of ignored signals
# 33. sigcatch - The bitmap of catched signals
# 34. wchan - The channel in which the process is waiting. The "ps -l" command gives somewhat of a list.
sub get_proc_info2 {
my ($self, @pids) = @_;
@pids = ($$) if ($#pids == -1);
my ($pid, $proc);
my $procs = {};
foreach $pid (@pids) {
lib/App/ResourceLocker/IPCLocker.pm view on Meta::CPAN
all locks accessed in the ResourceLocker (as per IPC::Locker).
family IPC (fifo) family to communicate with the lock server
INET: use TCP/IP networking
UNIX: use Unix named pipes (created with "mknod p /path/to/fifo")
default: INET
host default: localhost (only needed for INET family)
port default for INET: 1751 (or as defined in /etc/services for "lockerd")
default for UNIX: /var/locks/lockerd
timeout Time at which the server will release the lock if not explicitly
unlocked by then
default: 600 sec (10 min) (0 is "unlimited")
autounlock Allow the locker daemon to break the lock if the locking process
is no longer running. (Note that there is an implicit promise
that the locking process is running on the same server as the
locker daemon.)
random Lock a random resource from the pool when a pool is specified
=cut
#############################################################################
( run in 0.583 second using v1.01-cache-2.11-cpan-49f99fa48dc )