ManaTools::Shared::JournalCtl

Section: User Contributed Perl Documentation (3)
Updated: 2017-07-06
Page Index
 

NAME

ManaTools::Shared::JournalCtl - journalctl perl wrapper  

SYNOPSIS

    my $log = ManaTools::Shared::JournalCtl->new();
    my @log_content = $log->getLog();

 

DESCRIPTION

This module wraps journalctl allowing some running options and provides the output log content.  

SUPPORT

You can find documentation for this module with the perldoc command:

perldoc ManaTools::Shared::JournalCtl  

AUTHOR

Angelo Naselli <anaselli@linux.it>  

COPYRIGHT and LICENSE

Copyright (C) 2014-2016, Angelo Naselli.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  

METHODS

 

getLog

INPUT

Input_Parameter: in_par_description

OUTPUT

\@content: ARRAYREF containing the log content.

DESCRIPTION

This methods gets the log using the provided options


 

Index

NAME
SYNOPSIS
DESCRIPTION
SUPPORT
AUTHOR
COPYRIGHT and LICENSE
METHODS
getLog