inotifywait can log every file creation and deletion in a directory. Honestly, though, I'd strongly think about using PgBackRest instead of something you wrote yourself.
On Fri, Mar 7, 2025 at 2:47 PM Atul Kumar <akumar14...@gmail.com> wrote: > I want to check and compare the speed wal file generation process and > archival process. > > So I want to check how many wal file got created in x minutes and how many > .ready files got created in those x minutes. > > > > Regards, > Atul > > On Fri, 7 Mar 2025, 22:45 Ron Johnson, <ronljohnso...@gmail.com> wrote: > >> On Fri, Mar 7, 2025 at 10:59 AM Atul Kumar <akumar14...@gmail.com> wrote: >> >>> Hi, >>> >>> Please could you help me by sharing any redhat linux command through >>> which I can count the no. of wal files and no. of ".ready" files generated >>> in last 10 minutes. >>> >> >> What problem are you trying to solve? >> >> -- >> Death to <Redacted>, and butter sauce. >> Don't boil me, I'm still alive. >> <Redacted> lobster! >> > -- Death to <Redacted>, and butter sauce. Don't boil me, I'm still alive. <Redacted> lobster!