Re: [systemd-devel] systemd-time

2013-09-29 Thread Lennart Poettering
On Sun, 29.09.13 20:11, Andi Kleen ([email protected]) wrote: > > Hi, > > Is there a way to do the following in systemd? > > Run a program from the command line in a new cgroup container. > After running output all the statistics accounted by cgroups, > like CPU time, IO bytes, max memory usa

Re: [systemd-devel] systemd-time

2013-09-29 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Sep 29, 2013 at 08:11:53PM +0200, Andi Kleen wrote: > > Hi, > > Is there a way to do the following in systemd? > > Run a program from the command line in a new cgroup container. > After running output all the statistics accounted by cgroups, > like CPU time, IO bytes, max memory usage et

[systemd-devel] systemd-time

2013-09-29 Thread Andi Kleen
Hi, Is there a way to do the following in systemd? Run a program from the command line in a new cgroup container. After running output all the statistics accounted by cgroups, like CPU time, IO bytes, max memory usage etc. Essentially like time(1), just using cgroups: systemd-time. time does a