Enterprise Manager Generic (MOSC)

MOSC Banner

Can I see only succeeded results with emcli execute_hostcmd

edited May 12, 2016 2:16PM in Enterprise Manager Generic (MOSC) 2 commentsAnswered ✓

Hi,

So my question is two fold:

1.

I do an "Run host command on the EM console using OMS cloud control and figure out what users exist in the etc passwd, using a grep. If the user doesn't exist or I do not have access to the host, the command fails and I weed away the ones that failed to get the servers that the user exists. Is there a way to do the same with emcli, i.e., to run the command and only see the ones that succeeded?

2. When I do the emcli command, I do it as follows:

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center