java输出double_java 输出指定小数位数double值
// The 0 symbol shows a digit or 0 if no digit presentNumberFormat formatter = new DecimalFormat("000000");String s = formatter.format(-1234.567); // -001235// notice that the number was rounded up//...
Linux系统中vmstat的基本使用指南
vmstat 是用来实时查看内存使用情况,反映的情况比用top直观一些 如果直接使用,只能得到当前的情况,最好用个时间间隔来采集vmstat T 其