Sun Management Center Change Manager 1.0.1 Administration Guide

- Previous: How to Audit Managed Hosts (Command Line)
- Next: Chapter 7 Monitoring Jobs (Tasks)

## How to Get the Software Status of Managed Hosts (Command Line)

1. Determine the managed hosts for which you want to get the software status.

   For example, get the software status for the `/web-server/host1` and `/web-server/host2` managed hosts.

2. Get the software status for a managed host.

       $ changemgr info [ -u username ] [ -p file ] [ -d domain ] \
       -o relfilepath.txt topopath ...

   `-o` `relfilepath.txt`

     Specifies the path of the file that contains the software status report.

   topopath

     Specifies the path to a managed host or host group that is relative to the top of the selected administrative domain.

   For descriptions of the other options, see How to Build Manifests for Managed Hosts (Command Line).

### Example—Getting the Software Status of Managed Hosts

Suzi gets the software status for the `/web-server/host1` managed host. She stores the report in the `/web-server/software-status.txt` file.

    $ changemgr info -o /web-server/software-status.txt \
    /web-server/host1

- Previous: How to Audit Managed Hosts (Command Line)
- Next: Chapter 7 Monitoring Jobs (Tasks)

- © 2010, Oracle Corporation and/or its affiliates