Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.884.109 Times

Sys::Manage::Cmd 0.56

  Date Added: May 16, 2010  |  Visits: 904


Report Broken Link
Printer Friendly Version

Product Homepage
Download (75 downloads)

Sys::Manage::Cmd - Systems management command volley. SYNOPSIS Command line script use Sys::Manage::Cmd; my $s =Sys::Manage::Cmd->new(); # Script associations (see also embedded in source): $s->{-assoc}->{.ftp}=sub{[ftp,-n,-s:loginfile,!elem!,<,$_[1]->[0]]}; # Target collections: $s->{-target}->{all} =[1,2,3,4,5,6]; # Target branches: $s->{-branch}->{1} =[1,2]; $s->{-branch}->{2} =[3,4]; $s->{-branch}->{3} =[5,6]; # Command-line setup / loop: $s->set([@ARGV]); # Command assignments: #$s->set(-k=>assign, -o=>b, -i=>0, -ping=>1); #$s->execute(-a=>assignment name, -t=>[targets], -cline=>[command line]); #... # Command line execution: $s->set(-k=>cmd, -o=>b, -i=>0, -ping=>0); $s->execute([@ARGV]); Command line script -option -option... target command-line script -option... -ttarget... command-line Examples of command line script all dir !elem! script -ob -tall dir !elem! script -rPrevId -tall dir !elem! script -aTest -tall dir !elem! script -l10 -tall dir !elem! Options of command line (see also -cline and -i, -k, -l, -o, -r, -t, -u, -x, -v, -g) -kNameSpace - kind (namespace) of command -rCommandId - redo command id (used also inside -l); or switch (for -a) -aAssignName - assignment name, to use as command id -lPauseSecs - loop with pause before each subsequent redo -lg... - ... for pings usuccessful only -lv, -lw... - ... console verbose or windowed subsequent turns -o(s|c|b) - order of execution: sequental concurrent branched (concurrent branches) -tTargetName - target, may be several -t, instead of positional argument -xTargetExcl - exclusion from target list, may be several -x -uUser:pswd - user name and password for target -g - ping target before command, also use -gPingTimeout -gx - exclude unsuccessful targets sequentially -i - ignore exit code -v(0|1|2) - verbosity level -vc... - ... cmdfile rows include -vt... - ... date-time include Embedded commands (see also -cline and -assoc) script.ext - interpreting of scripts alike .pl, .bat, .ftp, .rdo.* rcmd, rdo, - commands to remote nodes using fput, fget, Sys::Manage::Conn mput, mget (!elem!, !user!, !pswd! substitutions not needed) cmdfile - evaluate command lines file or Perl script !elem!, < - target element and source file substitutions !user!, !pswd! - user name and password substitutions !log! - log filesystem name substitution Embedding command line (see also ENVIRONMENT and SLOTS) if (!defined($ENV{SMELEM}) # command volley: || ($ENV{SMELEM} eq )) { system($^X, script, -k0, target, $0) } elsif (!$ENV{SMDIR}) { die "Execute this script on Manager!" } elsif ($ENV{SMDIR}) { die "Execute this script on Agent!" } else { # command script: .... 1 # success }.

Requirements: No special requirements
Platforms: Linux
Keyword: Command Command Line Elem Env Libraries Line Programming S- Script See Also Sysmanagecmd Systems Management Target
Users rating: 0/10

License: Freeware Size: 61.44 KB
More Reviews or Write Review

Network & Internet  -  mkcgi 2.1
mkcgi is a simple command line utility for producing a perl CGI script instantly by parsing an existing HTML form. The resulting perl script is easy to understand and customize. Features include error checking, confirmation email sent to the...
4.1 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB  
Libraries  -  plptools 0.18
plptools is a set of libraries and utilities for enabling Unix (mainly Linux) systems to communicate with a Psion palmtop over a serial line. On Linux, a connection over IrDA using the IrCOMM feature is also possible. The following...
1.2 MB  
Libraries  -  Convert::Wiki::Node::Line 0.05
Convert::Wiki::Node::Line is a Perl module that represents a horizontal line (aka ruler). SYNOPSIS use Convert::Wiki::Node::Line; my $hr = Convert::Wiki::Node::Line->new( ); print $hr->as_wiki(); A Convert::Wiki::Node::Line represents a...
19.46 KB  
Utilities  -  OpenPorts 1.0
DiamondCS OpenPorts is a CLI (command line interface) console tool that allows you to see all open TCP and UDP ports on your system, including owner processes, making it a powerful anti-trojan tool in its own right. OpenPorts is powerful,...
23 KB  
Utilities  -  File 4.21
File is the open source implementation of the file command used on almost every free operating system (OpenBSD, Linux, FreeBSD, NetBSD) and also on systems that use free software (including OS/2, DOS, MS Windows, etc.). The file command, if...
542.72 KB  
Utilities  -  radmind 1.9.0
radmind is a suite of Unix command-line tools and a server designed to remotely administer the file systems of multiple Unix machines. For Mac OS X, theres also a graphical interface. At its core, radmind operates as a tripwire. radmind project...
389.12 KB  
Desktop Utilities  -  Quick Cliq 2.1.0
Quick Cliq is a portable menu based application launcher and productivity tool with features that you wont find anywhere else! Quick Cliq speeds up your daily computer activities by giving you links to folders, files, programs, URLs and command...
601 KB  
Utilities  -  Radmind 1.4.1 1. 4. 2001
A suite of Unix command-line tools and a server designed to remotely administer the file systems of multiple Unix machines. For Mac OS X, there's also a graphical interface. At its core, radmind operates as a tripwire. It is able to detect...
327.68 KB  
Libraries  -  NSFileHandleExt 1.0
NSFileHandleExt is an extension for the Objective-C/Cocoa-class NSFileHandle, which is used for handling files and sockets. NSFileHandleExt extension adds the methods +(id)fileHandleWithConnectionToHost:(NSString*)host toPort:(int)port; and...
2.05 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB