Software Alternatives & Reviews

lsof VS Valgrind

Compare lsof VS Valgrind and see what are their differences

lsof logo lsof

Lsof lists open files for running UNIX processes. It is a

Valgrind logo Valgrind

Valgrind is an instrumentation framework for building dynamic analysis tools.
  • lsof Landing page
    Landing page //
    2019-09-16
  • Valgrind Landing page
    Landing page //
    2022-01-15

lsof videos

8 Basic lsof Commands Every Sysadmin Needs to Know

More videos:

  • Review - HakTip - Network monitoring in Linux with lsof

Valgrind videos

Detecting Memory Leaks With Valgrind

More videos:

  • Review - Finding memory errors with Valgrind
  • Review - sparcv9 New architecture to be supported by Valgrind

Category Popularity

0-100% (relative to lsof and Valgrind)
Monitoring Tools
100 100%
0% 0
IDE
19 19%
81% 81
Software Development
0 0%
100% 100
Command Line Tools
100 100%
0% 0

User comments

Share your experience with using lsof and Valgrind. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Valgrind seems to be more popular. It has been mentiond 37 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

lsof mentions (0)

We have not tracked any mentions of lsof yet. Tracking of lsof recommendations started around Mar 2021.

Valgrind mentions (37)

  • Use Valgrind in your CI / CD
    Today I will show you how to use Valgrind to easily check for memory leaks on your code inside a GitHub Action. - Source: dev.to / 2 days ago
  • Memory Safe or Bust?
    Continuous Integration and Continuous Deployment [CI/CD] pipelines play a crucial role in enforcing code quality, especially when working with memory-unsafe languages. By integrating automated dynamic analysis tools like Valgrind or AddressSanitizer, static analysis tools like Clang Static Analyzer or cppcheck, and manual code review processes, developers can identify and mitigate many memory-related... - Source: dev.to / about 1 month ago
  • Top 7 C++ Tools to explore in 2024 if it's not already the case.
    Valgrind is an open-source tool designed to help developers identify memory management issues, memory leaks, and various other types of memory-related errors in their programs. It's commonly used for debugging and profiling purposes, particularly in C and C++ development. Here's an overview of Valgrind:. - Source: dev.to / 3 months ago
  • Debugging OpenGL with GDB causes shader issues
    Valgrind is a tool for debugging memory errors. We have it installed on our linux machines at work. I'm not sure how difficult this is to install and setup. You can find more info here: https://valgrind.org/. Source: 5 months ago
  • Ask HN: Good practices for my first C project
    It's often best not to think too much about "aesthetic", or performance, at first, and to focus instead on getting something that works, correctly. FWIW, The Mythical Man-Month[0] recommends to start with a few throw-away prototypes, during which you're gaining expertise over the problem, that you can later crystallize in more definite versions. Now, it doesn't mean good practices should be discarded... - Source: Hacker News / 7 months ago
View more

What are some alternatives?

When comparing lsof and Valgrind, you can also consider the following products

strace - Trace system calls and signals. A diagnostic, debugging and instructional userspace utility.

API Monitor - API Monitor is a software that monitors and displays API calls made by applications and services. Its a powerful tool for seeing how Windows and other applications work or tracking down problems that you have in your own applications

htop - htop - an interactive process viewer for Unix. This is htop, an interactive process viewer for Unix systems. It is a text-mode application (for console or X terminals) and requires ncurses. Latest release: htop 2.

Kcachegrind - Callgrind is a profiling tool and KCachegrind is able to visualize output of the profilers.

ftrace - A function tracer for the Linux kernel.

perf - Perf is a simple app monitoring solution paired with meaningful alerts.