Bug 7304 - not easy to see resource usage from ThinLinc sessions
Summary: not easy to see resource usage from ThinLinc sessions
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-11 12:25 CET by Henrik Andersson
Modified: 2022-03-29 14:22 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Henrik Andersson cendio 2019-01-11 12:25:07 CET
I have done some prototyping on a "google project" named accounting for ThinLinc
to be able to generated resource usages graphs by service and sessions. The main goal was not to add restricting of resources but the choosen approach using control groups gives that possibility, see bug #44.

It is realized by using control group where services (server, agent) and sessions are assign to, in a Thinlinc specific cgroup structure for being able to collect and restrict resource usages.

The project includes a tool for collecting data into RRD databases and generating graphs...

Code is available here:

  http://git.cendio.se/cgit/~hean01/ctc.git/log/?h=accounting
Comment 1 Pierre Ossman cendio 2019-01-22 15:02:34 CET
Some basic form of this is available on recent systemd systems as you can get some info based on systemd's groups:

> $ systemd-cgtop user.slice

By default it seems only memory is monitored, but it looks like more things can be configured.

Note You need to log in before you can comment on or make changes to this bug.