[root@wincarbon sys]# valgrind ls --leak-check=full
==1001100== Memcheck, a memory error detector
==1001100== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==1001100== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==1001100== Command: ls --leak-check=full
==1001100==
ls: unrecognized option '--leak-check=full'
Try 'ls --help' for more information.
==1001100==
==1001100== HEAP SUMMARY:
==1001100== in use at exit: 0 bytes in 0 blocks
==1001100== total heap usage: 227 allocs, 227 frees, 21,640 bytes allocated
==1001100==
==1001100== All heap blocks were freed -- no leaks are possible
==1001100==
==1001100== For lists of detected and suppressed errors, rerun with: -s
==1001100== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
[root@wincarbon sys]# valgrind ls
==1002328== Memcheck, a memory error detector
==1002328== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==1002328== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==1002328== Command: ls
==1002328==
block bus class dev devices firmware fs kernel module
==1002328==
==1002328== HEAP SUMMARY:
==1002328== in use at exit: 23,110 bytes in 16 blocks
==1002328== total heap usage: 223 allocs, 207 frees, 77,499 bytes allocated
==1002328==
==1002328== LEAK SUMMARY:
==1002328== definitely lost: 0 bytes in 0 blocks
==1002328== indirectly lost: 0 bytes in 0 blocks
==1002328== possibly lost: 0 bytes in 0 blocks
==1002328== still reachable: 23,110 bytes in 16 blocks
==1002328== suppressed: 0 bytes in 0 blocks
==1002328== Rerun with --leak-check=full to see details of leaked memory
==1002328==
==1002328== For lists of detected and suppressed errors, rerun with: -s
==1002328== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
[root@wincarbon sys]#