public class DevicePortStatsCommand extends AbstractShellCommand
Constructor and Description |
---|
DevicePortStatsCommand() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute()
Executes this 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, doExecute, error, get, getService, jsonForEntity, mapper, outputJson, print
checkInterrupted, execute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode, encode
protected void execute()
AbstractShellCommand
execute
in class AbstractShellCommand
public static String humanReadable(long bytes)
bytes
- input byte arraypublic static String humanReadableBps(float bps)
bps
- input rate