Announcement

Collapse
No announcement yet.

pair of usernames and LVE ids

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

  • pair of usernames and LVE ids

    I can fetch a list of all LVEs on a server with cat /proc/lve/list
    However I need to get the resource usages via their username, So how can I get the relation between ids and usernames?

  • #2
    lve id is the same as user id.
    So, for example, if LVE id = 1001, you can figure out password by doing something like this:

    grep x:1001: /etc/passwd|cut -d: -f1

    Comment

    Working...
    X