public class DevicePortStatsCommand extends AbstractShellCommand
log| Constructor and Description | 
|---|
DevicePortStatsCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
doExecute()
Body of the shell command. 
 | 
static String | 
humanReadable(long bytes)
Converts bytes to human readable string with Kilo, Mega, Giga, etc. 
 | 
static String | 
humanReadableBps(float bps)
Converts bps to human readable format. 
 | 
annotations, annotations, annotations, appId, codec, error, execute, get, getService, jsonForEntity, mapper, outputJson, printclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecode, encodeprotected void doExecute()
AbstractShellCommanddoExecute in class AbstractShellCommandpublic static String humanReadable(long bytes)
bytes - input byte arraypublic static String humanReadableBps(float bps)
bps - input rate