如何获得的机器的时间? [英] How to get the up time of the machine?
本文介绍了如何获得的机器的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想显示我的code正在运行的机器的时间,我该怎么办呢?
I would like to display the up time of the machine my code is running, how can I do that?
推荐答案
我建议你使用命令行:网统计工作站并解析输出。这台机器运行的时间是,因为统计数据。
I suggest you to use the command line : net statistics workstation and parse the output. The time that machine is running is after "Statistics since ".
这篇关于如何获得的机器的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文