Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 请问如何获得当前的系统资源情况?
lvjing79





发贴: 18
积分: 0
于 2004-04-26 15:34 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
比如说内存占用等等。


作者 Re:请问如何获得当前的系统资源情况? [Re:lvjing79]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-04-26 16:43 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
System


"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:请问如何获得当前的系统资源情况? [Re:lvjing79]
lvjing79





发贴: 18
积分: 0
于 2004-04-26 20:23 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
System里面好多类的,不知是哪一个,能不能说具体一点?


作者 Re:请问如何获得当前的系统资源情况? [Re:lvjing79]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2004-04-27 08:08 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
lvjing79 wrote:
System里面好多类的,不知是哪一个,能不能说具体一点?

java.lang.System 类,, 怎么有好多类,不解!还有java.lang.Runtime


jameszhang edited on 2004-04-27 08:10

"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:请问如何获得当前的系统资源情况? [Re:lvjing79]
tangming





发贴: 140
积分: 20
于 2004-04-27 09:08 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Runtime.getRuntime().totalMemory()
.maxMemory()



作者 Re:请问如何获得当前的系统资源情况? [Re:lvjing79]
lvjing79





发贴: 18
积分: 0
于 2004-04-27 20:09 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
再请教一下,如果想知道某个函数运行完消耗了多少内存该如何做呢?


作者 Re:请问如何获得当前的系统资源情况? [Re:lvjing79]
caoyi





发贴: 32
积分: 0
于 2004-04-27 23:38 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
请看这篇文章。关于软件JProbe的介绍。我也是刚看到,可能对您有帮助。
http://www.ftponline.com/china/XmlFile.aspx?ID=313



作者 Re:请问如何获得当前的系统资源情况? [Re:lvjing79]
dingjunming





发贴: 31
积分: 1
于 2004-04-29 01:32 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
jdk包里面的例子就有的.



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923