1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How many file descriptors are created when a file created.

Discussion in 'Unix' started by nagavardhanreddy, Feb 14, 2012.

  1. nagavardhanreddy

    nagavardhanreddy New Member

    Joined:
    Feb 14, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi Friends,

    Can any one tell me how many file descriptors are created when a file created in UNIX/Linux. And how to see them.

    Regards,
    Naga.
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    try commands,

    Code:
    lsof
    or run program with strace
     

Share This Page