mil.dod.th.ose.shell/src/mil/dod/th/ose/shell/SystemCommands.java
@Descriptor("Display memory pool statistics for peak usage")
    public void memoryPools(final CommandSession session)
    {
        final PrintStream out = session.getConsole();
        
        out.println("Peak Usage:");
        for (MemoryPoolMXBean pool : ManagementFactory.getMemoryPoolMXBeans())
        {
            out.format("%s (%s): %s%n", pool.getName(), pool.getType(), pool.getPeakUsage());
        }
    }
/**
     * Display memory pool statistics for peak usage.
     * 
     * @param session
     *            provides access to the Gogo shell session
     */
Display memory pool statistics for peak usage.

@param session
provides access to the Gogo shell session
Display memory pool statistics for peak usage . @param session provides access to the Gogo shell session
@Descriptor("Display memory pool statistics for peak usage")
    public void memoryPools(final CommandSession session)
    {
        final PrintStream out = session.getConsole();
        out.println("Peak Usage:");
        for (MemoryPoolMXBean pool : ManagementFactory.getMemoryPoolMXBeans())
        {
            out.format("%s (%s): %s%n", pool.getName(), pool.getType(), pool.getPeakUsage());
        }
    }
@ Descriptor ( "Display memory pool statistics for peak usage" ) public void memoryPools ( final CommandSession session ) { final PrintStream out = session . getConsole ( ) ; out . println ( "Peak Usage:" ) ; for ( MemoryPoolMXBean pool : ManagementFactory . getMemoryPoolMXBeans ( ) ) { out . format ( "%s (%s): %s%n" , pool . getName ( ) , pool . getType ( ) , pool . getPeakUsage ( ) ) ; } }
Display memory pool statistics for peak usage.
Display memory pool statistics for peak usage .