Announcement

Collapse
No announcement yet.

Need More Documentation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Need More Documentation

    Help about CL commands and How to !

  • #2
    Hello :

    I install CL on My VPS/Server and need some Help it to use it , I am tankful if You Answer My question :

    1. I use this command to find CPU usage , "cat /proc/lve/list" and get this result :
    [root@servername ~]# cat /proc/lve/list
    veid refs cpu io cpu_usage
    502 2 29 30 48252931
    503 5 100 100 128152563828379
    504 2 29 30 46620969
    505 2 29 30 80818167892

    a) How can find any ID related to which account on server ?
    b) what is mean cpu_usage ?
    c) what is cpu_usage unit ? (% or ... ) How can get information from this column ?

    2. I use lveps -d , and get this information :
    LVE REF PNO TNO UID GID CPU MEM I/O
    503 8 8 8 httpd httpd 18% 163756 N/A

    please explain about these column : REF , TNO , UID , GID .

    at this time i have these Question
    Thank you

    Comment


    • #3
      1. In the /proc/lve/list
      VEID == LVE ID
      LVE ID in most cases will match user id (from /etc/passwd file)

      refs == number of entry procs + 2. Entry procs are usually CGI/PHP scripts + SSH sessions (if used with LVE wrappers) currently running

      cpu == CPU limit set for this LVE
      IO == IO limit set for this LVE (ignored for now)
      cpu_usage == number of ticks of cpu used up by processes in that LVE since last reboot

      Note: For some reason LVE 503 has 100% cpu limit. I don know if that was done on purpose.

      2.
      REF -- number of entry procs
      TNO -- number of threads in LVE (PNO -- processes)
      UID/GID -- user id/group id under which processes in LVE are running. It will not always display, as you can have in some cases processes under different UID within the same LVE: like with mod_php, and cgi script running in parallel. One will run as httpd, and the other will run as user.

      Comment

      Working...
      X