Przeglądanie otwartych plików -freebsd

Poniżej opisuję dwie możliwości sprawdzenia otwartych plików (freebsd):

  1. Instalacja portu lsof (znanego wszystkim użytkownikom linuksa)
    portsnap fetch update
    cd /usr/ports/sysutils/lsof
    make install clean
    man lsof
    lsof | grep -i nazwa_procesu/pid/cokolwiek
  2. Skorzystanie z jednego z natywnych narzędzi:
    • fstat – nie jest moim ulubieńcem, pokazuje małą ilość informacji
    • procstat – bardzo rozbudowany, przykłady:
      • procstat -b pid
      • procstat -f pid -- pokazuje otwarte pliki procesu
No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free(BSD)
yt-dlp – download your data from youtube

Hi, this short article only to mention that there is a wonderful application that exists for a years for the purpose to download YOUR or maybe some other movies from youtube. I don’t want to go in to legal aspect too much, what can be downloaded from youtube, what not …

Free(BSD)
Convert pdf file to jpeg – with imagemagic

Short article just to write down not-so frequently (for me) task: remove /opt/homebrew/bin from that command where using on other system than macOs Options: cheers

Free(BSD)
Search for duplicated files

This will be short (but hopefully I will find more time to show entire process to search duplicated files together with some examples). In case you are searching for duplicated files I can recommend two software which actually rocks in openSource world