NS Agent for Unix, Linux and Macintosh commands and command-line parameters

Article:TECH29115  |  Created: 2007-04-24  |  Updated: 2012-09-18  |  Article URL http://www.symantec.com/docs/TECH29115
Article Type
Technical Solution


Issue



What are the command-line parameters for various Agent for UNIX binaries?

Note that elevated privileges (sudo, etc.) may be required to see and use all options.


Solution



(Note: See links to related articles, below.)

 

# ./aex-bootstrap -h
aex-bootstrap - Usage:

        aex-bootstrap [options]

   Version 2.0.

This program will get all files at a URL/NS Package into the specified directory. It can also be used to download a file from a URL (see -onefile option). When started with no NS/URL argument, configuration must be provided in an XML file present in the same directory, or (in the case of a automatic reschedule) at one of the standard locations.

Generic options:

  • --help, -h -   Display this usage information and exit immediately.
  • -v -               Display Agent's full version and name.
  • --version -    Display version of the application.

Specific options:

  • <NS|URL> - arg 1 = name of Notification Server, URL of a package or file. If the Notification Server is configured to work with the non-default port, it is desirable to provide the full URL info. Example: https://www.altiris.com:3476 -test - output version
  •  
  • -dir <dir> - specify Agent installation directory
  • -speedlimit <N> - limit download to n KB/sec
  • -onefile - URL is for a single file, download to current directory, no other action.

 


 

# ./aex-configure -h
Altiris Agent for UNIX and Linux Configuration utility.

Usage:

  • aex-configure [options]
  • aex-configure <command> [command-options]

Options:

  • --help, -h -   Display this usage information and exit immediately.
  • -v -              Display Agent's full version and name.
  • --version -   Display version of the application.

Commands:

  • -clean         Remove aex-configure created files prior to uninstall.
  • -configure  Automatically configure/upgrade an installation from an XML config file.
  • -iconfigure  Interactively configure/reconfigure an installation ignoring any XML file.
  • help           Display help on the specified command

Run 'aex-configure help <command>' to learn more information on how to use certain commands.


# aex-diagnostics -h
Agent diagnostics tool - Usage:

        aex-diagnostics [options]

Collect diagnostics information from the agent and its plug-ins

Generic options:

  • --help, -h -   Display this usage information and exit immediately.
  • -v -              Display Agent's full version and name.
  • --version -   Display version of the application.

Specific options:

  • -com -           Diagnose the default set of plugins
  • -com <ids> - Diagnose the specified components
  • -log -             Dump the contents of the log file


#./aex-env

No parameters

 


 

 

#./aex-filesurveyor -h
FileSurveyor Utility

  Usage: ./aex-filesurveyor [options]

  Options:
       --help, -h, -? : Display this usage information and exit immediately.
       -v : Display full version and name information.
       --version : Display version of the FileSurveyor Utility.
       -c <config file> : A user-specified cfg file name
       -f : Set file mode
       -m : Enables scanning of the mounted partitions (by default disabled) - NOTE: This option has not been implemented.
       -p : A user-specified product file
       -x <dir1>...<dirN>] : Specify a list of directories to be excluded during the scan
 


 

 

 

# aex-helper -h
Usage:

  • aex-helper [options]
  • aex-helper <command> [command-options]

Command line utility for working with Altiris Agent for UNIX and Linux.

Options:

  • --help, -h -   Display this usage information and exit immediately.
  • -v -               Display Agent's full version and name.
  • --version -    Display version of the application.

Commands:

  • adddep      Register dependencies between solutions.
  • agent         Perform various tasks with the UNIX Agent.
  • changerc   Change properties of registered RC services.
  • check        Check whether the Altiris Agent for UNIX and Linux is running.
  • clean         Clean items from the XML registry.
  • help          Display help on the specified command.
  • info          Query agent for various information.
  • installrc     Install and register RC scripts.
  • link           Create wrapper scripts and links for libraries and executables.
  • list            List objects in the Agent's registry.
  • query       Query agent for various information.
  • rc             Start, stop and list registered RC services.
  • register     Add an object to the Agent's registry.
  • uninstall     Uninstall solutions.
  • uninstallrc  Uninstall RC scripts.
  • unlink        Remove wrapper scripts and links for libraries and executables.
  • unregister  Remove object from the Agent's registry.
  • upgrade    Upgrade Notification Server Agent Plugin.

Run 'aex-helper help <command>' to learn more information on how to use certain commands.


 

 

# aex-mkmanifest -h
Manifest File utility - Usage:

        aex-mkmanifest [options]

Create an SWD manifest file for a directory.

Generic options:

  • --help, -h - Display this usage information and exit immediately.
  • -v - Display Agent's full version and name.
  • --version - Display version of the applications.

Specific options:

  • -o <file> - Write output to <file> (defaults to ./aex-manifest.xml)
  • -s <dir> - Base directory for scanning (defaults to the current dir)


 

# aex-pluginmanager -h

Altiris Agent for UNIX and Linux Core

Usage:

·        aex-pluginmanager [options]

Manages plug-ins, which do all the job.

Generic options:

·        --help, -h - Display this usage information and exit immediately.

·        -v - Display Agent's full version and name.

·        --version - Display version of the application.

Specific options:

·        -F - Work in the foreground mode

·        -D - Work in the background mode (default)

·        -nm - Do not start the monitor

·        -nc - Do not check if the agent is already running

 


 


# aex-refreshpolicies -h

Refresh policies from the Notification Server.

Usage:

  • aex-refreshpolicies
  • aex-refreshpolicies [options]

Options:

  • --help, -h -  Display this usage information and exit immediately.
  • -v -             Display full version and name information about Agent.
  • --version -   Display full version of the Agent.

 


 

 


# aex-sendbasicinv -h

Send the basic inventory to Notification Server.

Usage:

  • aex-sendbasicinv
  • aex-sendbasicinv [options]

Options:

  • --help, -h -   Display this usage information and exit immediately.
  • -v -               Display full version and name information about Agent.
  • --version -    Display full version of the Agent.


# aex-swdapm -h
Software Delivery Advertised Package Manager - Usage:

  • aex-swdapm [options]

Manual execution of Notification Server tasks and installation of packages.

Generic options:

  • --help, -h -    Display this usage information and exit immediately.
  • -v -               Display Agent's full version and name.
  • --version -    Display version of the application.

Specific options:

  • -np - Do not use paging mode, list all tasks at once.


# ./aex-uninstall -h

aex-uninstall": usage: aex-uninstall" [-f]
        -f force remove, do not ask to continue

 


 

 

# ./rcscript -h
rcscript: usage: rcscript: [start|stop|restart|status]




Legacy ID



34521


Article URL http://www.symantec.com/docs/TECH29115


Terms of use for this information are found in Legal Notices