KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/share/doc/systemtap-client-1.8/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/systemtap-client-1.8/re120.html
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>function::bytes_to_string</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><link rel="start" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="ch06.html" title="Chapter&#160;6.&#160;Memory Tapset"><link rel="prev" href="re119.html" title="function::addr_to_node"><link rel="next" href="re121.html" title="function::mem_page_size"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>function::bytes_to_string</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re119.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;6.&#160;Memory Tapset</th><td width="20%" align="right">&#160;<a accesskey="n" href="re121.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="API-bytes-to-string"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::bytes_to_string &#8212; 
     Human readable string for given bytes
 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
    bytes_to_string:string(bytes:long)
</pre></div><div class="refsect1" lang="en"><a name="idp5974480"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>bytes</code></em></span></dt><dd><p>
     Number of bytes to translate.
    </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="idp5977696"></a><h2>Description</h2><p>
   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.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re119.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch06.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="re121.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>function::addr_to_node</span>&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>function::mem_page_size</span></td></tr></table></div></body></html>

Anon7 - 2021