Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.5

bytes_to_string(3stap)


BYTES_TO_STRING

BYTES_TO_STRING

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

NAME

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.



bytes_to_string(3stap)