Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. (SUSE LINUX)Track which applications are updating a file

(SUSE LINUX)Track which applications are updating a file

Scheduled Pinned Locked Moved System Admin
linuxhelp
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    ToughGuy9
    wrote on last edited by
    #1

    Hi Friends, Iam facing with a peculiar problem. OS is Suse Entreprise Linux 9. Some applications are updating a file.. I would like to MONITOR all operations of a file. Is there any tool or command to do the same.. In a Nutshell: I want to track what all applications accessed a file or written into a particular file. Thanks a lot. Regards,

    M C 2 Replies Last reply
    0
    • T ToughGuy9

      Hi Friends, Iam facing with a peculiar problem. OS is Suse Entreprise Linux 9. Some applications are updating a file.. I would like to MONITOR all operations of a file. Is there any tool or command to do the same.. In a Nutshell: I want to track what all applications accessed a file or written into a particular file. Thanks a lot. Regards,

      M Offline
      M Offline
      markkuk
      wrote on last edited by
      #2

      Use inotify[^].

      T 1 Reply Last reply
      0
      • M markkuk

        Use inotify[^].

        T Offline
        T Offline
        ToughGuy9
        wrote on last edited by
        #3

        Hi, Thanks a lot mark.. But i can't rebuild the kernel.. It seems inotofy requires rebuilding the kernel. Any other way friends?? Regards,

        M 1 Reply Last reply
        0
        • T ToughGuy9

          Hi, Thanks a lot mark.. But i can't rebuild the kernel.. It seems inotofy requires rebuilding the kernel. Any other way friends?? Regards,

          M Offline
          M Offline
          markkuk
          wrote on last edited by
          #4

          Inotify is already included in current kernels, no rebuilding needed. The article was written while it was still in development.

          T 1 Reply Last reply
          0
          • M markkuk

            Inotify is already included in current kernels, no rebuilding needed. The article was written while it was still in development.

            T Offline
            T Offline
            ToughGuy9
            wrote on last edited by
            #5

            Hi Mark, I see that inotify comes built into kernel in SuSE 10 but my problem is in SuSE 9. I checked on the machine but i couldn't find inotify. Any help is highly appreciated. Regards,

            S 1 Reply Last reply
            0
            • T ToughGuy9

              Hi Mark, I see that inotify comes built into kernel in SuSE 10 but my problem is in SuSE 9. I checked on the machine but i couldn't find inotify. Any help is highly appreciated. Regards,

              S Offline
              S Offline
              Sebastian Schneider
              wrote on last edited by
              #6

              I don't know either of these, but the Link says "dnotify replacement", so I would look into dnotify. Duh!

              Cheers, Sebastian -- Contra vim mortem non est medicamen in hortem.

              1 Reply Last reply
              0
              • T ToughGuy9

                Hi Friends, Iam facing with a peculiar problem. OS is Suse Entreprise Linux 9. Some applications are updating a file.. I would like to MONITOR all operations of a file. Is there any tool or command to do the same.. In a Nutshell: I want to track what all applications accessed a file or written into a particular file. Thanks a lot. Regards,

                C Offline
                C Offline
                code frog 0
                wrote on last edited by
                #7

                try "tail -f /var/log/etc" it may not show you what you want but it's a start. The tail command is very useful.


                My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my vengeance, in this life or the next. - Gladiator I work to live. I do not live to work. My clients do not seem capable of grasping this fact.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups