![]() |
![]()
| ![]() |
![]()
NAMEOSLV::Monitor::Backends::FreeBSD - backend for FreeBSD jails VERSIONVersion 0.0.4 SYNOPSISuse OSLV::Monitor::Backends::FreeBSD; my $backend = OSLV::Monitor::Backends::FreeBSD->new; my $usable=$backend->usable; if ( $usable ){ $return_hash_ref=$backend->run; } The stats names match those produced by "ps --libxo json". METHODSnewInitiates the backend object. my $backend=OSLV::MOnitor::Backend::FreeBSD->new( base_dir => $base_dir, ); The following arguments are usable. - base_dir :: Path to use for the base dir, where the proc cache, freebsd_proc_cache.json, is is created. Default :: /var/cache/oslv_monitor - obj :: The OSLVM::Monitor object. run$return_hash_ref=$backend->run; usableDies if not usable. eval{ $backend->usable; }; if ( $@ ){ print 'Not usable because... '.$@."\n"; } AUTHORZane C. Bowers-Hadley, "<vvelox at vvelox.net>" BUGSPlease report any bugs or feature requests to "bug-oslv-monitor at rt.cpan.org", or through the web interface at <https://rt.cpan.org/NoAuth/ReportBug.html?Queue=OSLV-Monitor>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORTYou can find documentation for this module with the perldoc command. perldoc OSLV::Monitor You can also look for information at:
ACKNOWLEDGEMENTSLICENSE AND COPYRIGHTThis software is Copyright (c) 2024 by Zane C. Bowers-Hadley. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)
|