Bug #39977 ndb_mgm -e 'all report memoryusage' doesn't work
Submitted: 10 Oct 2008 14:33 Modified: 19 May 2009 9:08
Reporter: Jon Stephens Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S4 (Feature request)
Version:mysql-5.1-telco-6.4 OS:Any
Assigned to: Assigned Account CPU Architecture:Any

[10 Oct 2008 14:33] Jon Stephens
Description:
Invoking management client REPORT command from system shell produces no useful output.

How to repeat:
jon@flundra:~/bin/mysql-5.1-telco-6.4/bin> ./ndb_mgm
-- NDB Cluster -- Management Client --
ndb_mgm> ALL REPORT MemoryUsage
Connected to Management Server at: localhost:1186

Node 1: Data usage is 47%(1507 32K pages of total 3200)
Node 1: Index usage is 11%(1496 8K pages of total 12832)
Node 2: Data usage is 47%(1507 32K pages of total 3200)
Node 2: Index usage is 11%(1496 8K pages of total 12832)

ndb_mgm> exit

jon@flundra:~/bin/mysql-5.1-telco-6.4/bin> ./ndb_mgm -e 'ALL REPORT MemoryUsage'
Connected to Management Server at: localhost:1186

jon@flundra:~/bin/mysql-5.1-telco-6.4/bin> 

Suggested fix:
Command should produce the same output whether invoked from running ndb_mgm client or by using -e option from shell.
[19 May 2009 9:08] Jon Stephens
Duplicate of BUG#31542.