Skip to content

Supported platform of some fields in process.resourceUsage  #42436

@srknzl

Description

@srknzl

Affected URL(s)

https://nodejs.org/api/process.html#processresourceusage

Description of the problem

According to the documentation:

sharedMemorySize [<integer>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) maps to ru_ixrss but is not supported by any platform.
unsharedDataSize [<integer>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) maps to ru_idrss but is not supported by any platform.
unsharedStackSize [<integer>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) maps to ru_isrss but is not supported by any platform.

I did not understand why they are not supported by any platform. Did you mean is not supported by all platforms ? If it is not supported by any platform, why do we have it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions