zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 刘明敏 <diveintotomor...@gmail.com>
Subject Why pipeline content to command nc won't work?
Date Tue, 18 Feb 2014 10:21:47 GMT
I try to get zookeeper stat from shell by using nc,

This works: call nc localhost 2181 first, then type in: *stat*.

while echo "stat" | nc localhost 2181 returns Nothing.

Any idea why it doesn't work?

Thanks ;-)

-- 
Best Regards

----------------------
刘明敏 | mmLiu

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message