Skip to content

Latest commit

 

History

History
41 lines (37 loc) · 626 Bytes

CONTRIBUTING.md

File metadata and controls

41 lines (37 loc) · 626 Bytes

Contribution welcome

Sample lsof Output

  'p3882\n' +
  'cGitHub Desktop Helper\n' +
  'f28\n' +
  'n127.0.0.1:49375\n' +
  'p4097\n' +
  'cBox Local Com Server\n' +
  'f4\n' +
  'n127.0.0.1:17223\n' +
  'f5\n' +
  'n[::1]:17223\n' +
  'p4105\n' +
  ...

Converted to data structure

[
  {
    pid: 'p3882',
    commandName: 'GitHub Desktop Helper',
    fileDescriptor: '28',
    fileName: '127.0.0.1:49375'
  },
  ...
]

Testing

Running a python http server is an easy way to start a process to test with:

python3 -m http.server

or

python3 -m http.server 8001