开发者

How to see how much memory is used by a process in cygwin?

开发者 https://www.devze.com 2023-04-06 09:47 出处:网络
I\'m running a node.js server on cygwin and I\'d like to se开发者_开发问答e how much memory is used by that node.js process.How do I do that? Task Manager I think only shows the cywin console memory?

I'm running a node.js server on cygwin and I'd like to se开发者_开发问答e how much memory is used by that node.js process. How do I do that? Task Manager I think only shows the cywin console memory? Is there a command to do this?


There's also process.memoryUsage()


There is top for cygwin. It is part of the procps package.

Hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消