<
Depuis la version < 3.1 >
modifié par superadmin
sur 2021/12/12 23:49
À la version < 4.1
modifié par superadmin
sur 2021/12/12 23:50
Commentaire de modification : Il n'y a aucun commentaire pour cette version

Résumé

Détails

Icon Propriétés de la Page
Contenu
... ... @@ -1,9 +2,8 @@
1 -{{{
2 2  {{groovy}}
3 3  def t = new java.text.DecimalFormat("000,000,000,000");
4 4  def rt = Runtime.getRuntime();
5 -println("- free memory " + t.format(rt.freeMemory()))
6 -println("- max memory " + t.format(rt.maxMemory()))
7 -println("- total memory " + t.format(rt.totalMemory()))
4 +println("{{{- free memory " + t.format(rt.freeMemory()) + "}}}")
5 +println("{{{- max memory " + t.format(rt.maxMemory()) + "}}}")
6 +println("{{{- total memory " + t.format(rt.totalMemory())+ "}}}")
8 8  {{/groovy}}
9 -}}}
8 +
This wiki is licensed under a Creative Commons 2.0 license
XWiki 13.10 - Documentation - Conditions