HGPA

lsof -- list open files

EXAMPLES

lsof -c $PROGRAM - list files for program like $PROGRAM

lsof -i TCP - list TCP files

NOTES

Remember to use -a to join rules, e.g. lsof -a -c node -i TCP

Recall that socket connections are represented as files in *nix systems.

REFERENCES

An lsof Primer

Filename: lsof.md (Edit)
Modified: 2016-08-12 (edd80b7fe49d5339eb1db6ca97743e7404ace3c0)
Created: 2016-08-12 (c84797e22875a08486cea927c3ccf836a1aebaf3)