The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Anyone familiar with this command? cat /proc/sys/fs/file-nr

Discussion in 'General Discussion' started by AbeFroman, Apr 14, 2003.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    0
    cat /proc/sys/fs/file-nr
    8413 6339 131072

    cat /proc/sys/fs/file-max
    131072

    Is this good or bad?
     
  2. TCS

    TCS Member

    Joined:
    Mar 12, 2003
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Cat is a command that will allow you to view the content of ascii files and conf files. Running these 2 commands will only let you view the contents of these files. Will not overwrite a thing.

    cat path/file | more - will help with realy long files

    example:
    cat lsof | more
     
  3. Elena

    Elena Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    California
    The command isn't bad and any user on your system with shell access can run this command to retrieve information on how your system is running.

    The first command shows 3 numbers...
    the total number of file structs designated by the system, the number of free file structs, and the maximum number of file structs that can be designated by the system.

    The first and last number should never be the same or close to being the same number.. this indicates a system that is in trouble. Err.. not the best way to explain it, in simple terms it tells you how many open files you are allowed to have and how many your system is using.
     
Loading...

Share This Page