Ferenc Erki > Rex-0.55.3 > Rex::Commands::SimpleCheck

Download:
Rex-0.55.3.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.55.3   Source  

NAME ^

Rex::Commands::SimpleCheck - Simple tcp/alive checks

DESCRIPTION ^

With this module you can do simple tcp/alive checks.

Version <= 1.0: All these functions will not be reported.

All these functions are not idempotent.

SYNOPSIS ^

 if(is_port_open($remote_host, $port)) {
   print "Port $port is open\n";
 }

EXPORTED FUNCTIONS ^

is_port_open($ip, $port)

Check if something is listening on port $port of $ip.

syntax highlighting: