Fuser returns empty list for opened file

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












Why when I do:



$ kate file.txt & 


and



$ fuser file.txt 


I've got empty list. After all, kate process opens file.txt







share|improve this question
















  • 1




    Depends on how kate manages its files. A better test would be to run tail -f file.txt and then fuser file.txt while tail is running. Also what does lsof file.txt say?
    – bytefire
    Oct 20 '17 at 6:39














up vote
0
down vote

favorite












Why when I do:



$ kate file.txt & 


and



$ fuser file.txt 


I've got empty list. After all, kate process opens file.txt







share|improve this question
















  • 1




    Depends on how kate manages its files. A better test would be to run tail -f file.txt and then fuser file.txt while tail is running. Also what does lsof file.txt say?
    – bytefire
    Oct 20 '17 at 6:39












up vote
0
down vote

favorite









up vote
0
down vote

favorite











Why when I do:



$ kate file.txt & 


and



$ fuser file.txt 


I've got empty list. After all, kate process opens file.txt







share|improve this question












Why when I do:



$ kate file.txt & 


and



$ fuser file.txt 


I've got empty list. After all, kate process opens file.txt









share|improve this question











share|improve this question




share|improve this question










asked Oct 20 '17 at 5:40









asdas

1




1







  • 1




    Depends on how kate manages its files. A better test would be to run tail -f file.txt and then fuser file.txt while tail is running. Also what does lsof file.txt say?
    – bytefire
    Oct 20 '17 at 6:39












  • 1




    Depends on how kate manages its files. A better test would be to run tail -f file.txt and then fuser file.txt while tail is running. Also what does lsof file.txt say?
    – bytefire
    Oct 20 '17 at 6:39







1




1




Depends on how kate manages its files. A better test would be to run tail -f file.txt and then fuser file.txt while tail is running. Also what does lsof file.txt say?
– bytefire
Oct 20 '17 at 6:39




Depends on how kate manages its files. A better test would be to run tail -f file.txt and then fuser file.txt while tail is running. Also what does lsof file.txt say?
– bytefire
Oct 20 '17 at 6:39










1 Answer
1






active

oldest

votes

















up vote
0
down vote













It means that when you run fuser file.txt, process kate has already finished accessing the file.



Adapted from the manpage: fuser displays the PIDs of processes currently using the specified files or file systems.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f399270%2ffuser-returns-empty-list-for-opened-file%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    It means that when you run fuser file.txt, process kate has already finished accessing the file.



    Adapted from the manpage: fuser displays the PIDs of processes currently using the specified files or file systems.






    share|improve this answer
























      up vote
      0
      down vote













      It means that when you run fuser file.txt, process kate has already finished accessing the file.



      Adapted from the manpage: fuser displays the PIDs of processes currently using the specified files or file systems.






      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        It means that when you run fuser file.txt, process kate has already finished accessing the file.



        Adapted from the manpage: fuser displays the PIDs of processes currently using the specified files or file systems.






        share|improve this answer












        It means that when you run fuser file.txt, process kate has already finished accessing the file.



        Adapted from the manpage: fuser displays the PIDs of processes currently using the specified files or file systems.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 20 '17 at 6:56









        dr01

        15.3k114769




        15.3k114769



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f399270%2ffuser-returns-empty-list-for-opened-file%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?