Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Rex::Commands::InventoUser)Contributed Perl DocumenRex::Commands::Inventory(3)

NAME
       Rex::Commands::Inventory	- Get an inventory of your systems

DESCRIPTION
       With this module	you can	get an inventory of your system.

       All these functions will	not be reported. These functions don't modify
       anything.

SYNOPSIS
	use Data::Dumper;
	task "inventory", "remoteserver", sub {
	  my $inventory	= inventory();
	  print	Dumper($inventory);
	};

EXPORTED FUNCTIONS
   inventory
       This function returns a hashRef of all gathered hardware. Use the
       Data::Dumper module to see its structure.

	task "get_inventory", sub {
	  my $inventory	= inventory();
	  print	Dumper($inventory);
	};

perl v5.24.1			  2016-07-16	   Rex::Commands::Inventory(3)

NAME | DESCRIPTION | SYNOPSIS | EXPORTED FUNCTIONS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Rex::Commands::Inventory&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help