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, print
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected void doExecute()
AbstractShellCommand
doExecute
in class AbstractShellCommand
public static String humanReadable(long bytes)
bytes
- input byte arraypublic static String humanReadableBps(float bps)
bps
- input rate