Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 Objective-C\C 语言我需要收集系统活动信息(如在活动监视器中:CPU\内存使用情况、网络活动等)。请告诉我,我可以使用哪些工具(也许有一些框架)。 如果您向我指出一些描述“什么”和“为什么”的文章或指南,那就太好了。 谢谢。
让我想起了top提供所有信息的命令。源代码libtop.c应该很容易找到。这是一个帮助您入门的链接。
top
libtop.c