Retrieve list of filesystems and their properties
Sys::Filesystem is intended to be a portable interface to list and query
filesystem names and their properties. At the time of writing there were
only Solaris and Win32 modules available on CPAN to perform this kind of
operation. This module hopes to provide a consistant API to list all,
mounted, unmounted and special filesystems on a system, and query as
many properties as possible with common aliases wherever possible.
Perl interface to Gamin (File Access Monitor implementation)
Provides a somewhat higher-level and friendlier interface to the Gamin File
Access Monitor API. This allows one to monitor both local and remote
(NFS-mounted) files and directories for common filesystem events. To do so, you
must register "monitors" on specified pathnames and wait for events to arrive
pertaining to them.
Sys::Hostname::FQDN uses the host 'C' library
to discover the (usually) short host name,
then uses (perl) gethostbyname to extract the real hostname.
The results from gethostbyname are exported as gethostinfo
and asciihostinfo as a convenience since they are available.
Similarly, the 'C' library functions inet_ntoa and inet_aton are exported.
How to get the host full name in perl on multiple operating systems
(OS X, Windows, Unix* etc)
Attempt via many methods to get the systems full name. The Sys::Hostname
class is the best and standard way to get the system hostname.
However it is missing the long hostname.
Helps for locating free UIDs.
pprotectd this is a self protected daemon which protect processes
from killing by the kernel when memory is exhausted.
The P_PROTECTED flag protects processes from killing by the kernel
when memory is exhausted. This may be useful for protection many
critical daemons, such as cron, syslogd, inetd, sshd or mysqld.
Sysadm::Install executes shell-like commands performing typical installation
tasks: Copying files, extracting tarballs, calling make.
SyslogScan contains routines to parse system logs. The package
includes a sample application, read_mail_log.pl, which can print out
various statistics about mail sent and received.
SyslogScan::SyslogLine encapsulates generic log lines in syslog files.
SyslogScan::Delivery encapsulates a delivery of mail from one user to
a list of users.
SyslogScan::Summary generates reports of how much mail each user has
sent and received.
Delivery and Summary information can be efficiently persisted to a
file and recovered for later analysis.
The procmap utility reliably prints the contents of an entire procfs map
file, whereas a utility like cat cannot reliably do so.
Real-time log statistics server.