Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    BANNED
    Join Date
    Feb 2002
    Posts
    656

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

    cat /proc/sys/fs/file-nr
    8413 6339 131072

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

    Is this good or bad?

  2. #2
    TCS
    TCS is offline
    Member
    Join Date
    Mar 2003
    Posts
    9

    Default

    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. #3
    Member
    Join Date
    Aug 2001
    Location
    California
    Posts
    109

    Default

    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.

Similar Threads & Tags
Similar threads

  1. disable_function accept cat command? security
    By konrath in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-24-2009, 09:26 PM
  2. proc list only shows "/usr/bin/php" - no more file names???
    By qwerty in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-08-2008, 09:14 PM
  3. How to modify cig-sys file?
    By royli57 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 02-22-2006, 04:43 PM
  4. Anyone familiar with iptables?
    By CXR Media in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-16-2004, 04:51 AM
  5. Look Familiar?
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-11-2004, 08:48 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube