Exadata General (MOSC)

MOSC Banner

DCLI using > in a cellcli command

edited Mar 12, 2012 4:05AM in Exadata General (MOSC) 2 commentsAnswered
 I am using dcli to execute commands on all storage cells. this works fine for simple commands but when I try to execute a command with a > condition for example
cellcli -e "list metriccurrent where metricvalue >50"

this command works in cellcli but not in dcli . I am using the cellmonitor account and the error I get is 
as i get the error
rbash: 50: restricted: cannot redirect output
I tried \> instead of > but this gives the error 
 CELL-01504: Invalid command syntax.

okay I figured it out the > has to be in quotes '>'

dcli -g cell_group -l cellmonitor cellcli -e "list metriccurrent where metricvalue '>50'"

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