Closed zsh2401 closed 1 year ago
Description Get all the ports used by process.
Example
const { ports } = await pidusage(12345) // consider pid 12345 is some server that using some ports. //Ports should be an array of number.
This would use system tools we don't really support its a good idea but for another project. Thanks for the interest though.
Description
Get all the ports used by process.
Example