centos man page for function::bytes_to_string

Query: function::bytes_to_string

OS: centos

Section: 3stap

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FUNCTION::BYTES_TO_S(3stap)					   Memory Tapset				       FUNCTION::BYTES_TO_S(3stap)

NAME
function::bytes_to_string - Human readable string for given bytes
SYNOPSIS
bytes_to_string:string(bytes:long)
ARGUMENTS
bytes Number of bytes to translate.
DESCRIPTION
Returns a string representing the number of bytes (up to 1024 bytes), the number of kilobytes (when less than 1024K) postfixed by 'K', the number of megabytes (when less than 1024M) postfixed by 'M' or the number of gigabytes postfixed by 'G'. If representing K, M or G, and the number is amount is less than 100, it includes a '.' plus the remainer. The returned string will be 5 characters wide (padding with whitespace at the front) unless negative or representing more than 9999G bytes. SystemTap Tapset Reference June 2014 FUNCTION::BYTES_TO_S(3stap)
Related Man Pages
function::ansi_set_color3(3) - debian
function::ctime(3) - debian
tapset::timestamp(3stap) - centos
probe::ioblock_trace.bounce(3stap) - centos
probe::ioblock_trace.request(3stap) - centos
Similar Topics in the Unix Linux Community
CentOS7 restoring file capabilities
CentOS 6 ran out of space, need to reclaim it
Controlling user input
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!