Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

lsof vs strace

This comparison card contrasts lsof and strace. lsof is described as which files and ports are open. strace is described as what system calls run now. The card pairs lsof with leaks, deleted files, and strace with hangs, errors.

lsof vs strace: Which files and ports are open.; What system calls run now.
lsof vs strace · Download PNG
Read card text

What this card says

Use

lsof

Which files and ports are open.

strace

What system calls run now.

Key points

A snapshot.

Live, slows the process.

Example

lsof -p 1234

Use when

Leaks, deleted files.

Hangs, errors.

See all AWS revision cards