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.

/scripts/userps function?

Discussion in 'General Discussion' started by kebirhost, Sep 4, 2005.

  1. kebirhost

    kebirhost Member

    Joined:
    Jan 9, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I run /scripts/userps many times in a day to see the processes of users. Output is numbers but I do not know the critical limit of this number. For example;

    # /scripts/userps
    askikiya: 19
    erenet: 45
    gamend: 17
    gencforu: 4
    kardesle: 3
    nogay: 2
    soldattr: 2
    ucretsiz: 5


    Should I suspend the user "erenet"? What is the normal value of this number? Can you inform me?

    Thanks
    Melih
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you look in the script it appears to be simply counting up the number of PIDs that have files open on a particular users /home directory. Beyond that, it has not other meaning, you'd have to dig deeper into the running processes and what they are doing.
     
  3. kebirhost

    kebirhost Member

    Joined:
    Jan 9, 2005
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Thanks fast response. Can I find the all PIDS of user from this script?

    Thanks
    Melih
     
  4. gupi

    gupi Well-Known Member

    Joined:
    Apr 27, 2004
    Messages:
    125
    Likes Received:
    0
    Trophy Points:
    16
Loading...

Share This Page