Нужна дополнительная документация
Форум
  1. Forums
  2. General
  3. General Discussion
  1. Mahdy Sharifi
  2. Friday, 21 May 2010
  3.  Subscribe via email
Help about CL commands and How to !
Rate this post:
  1. 21.05.2010 04:05:32
  2. # 1
Mahdy Sharifi Accepted Answer
Posts: 8
Joined: 21.05.2010
0
Votes
Undo
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 :
[[email protected] ~]# 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
  1. 21.05.2010 07:05:34
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
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\'t 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.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.