Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

fix mac os bug, detail info as fllow #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gaoguofu
Copy link

fix mac os bug, detail info as fllow
lsof: ID field description
a access: r = read; w = write; u = read/write
c command name
C file struct share count
d device character code
D major/minor device number as 0x
f file descriptor (always selected)

			mac platform ,lsof version revision: 4.89, file descriptor (always selected)

fix mac os bug, detail info as fllow
lsof:	ID    field description
				 a    access: r = read; w = write; u = read/write
				 c    command name
				 C    file struct share count
				 d    device character code
				 D    major/minor device number as 0x<hex>
				 f    file descriptor (always selected)

				mac platform ,lsof version revision: 4.89, file descriptor (always selected)
@@ -68,6 +68,20 @@ func parseLSOF(out string) (map[string]Proc, error) {
case 'c':
cp.Name = value

case 'f':
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mac platform ,lsof version revision: 4.89, file descriptor (always selected)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant