DCLI using > in a cellcli command
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'"
0