-
- # With cpu.shares 16 prio IDLE "bogomips" process running
-
- 20:52:08 0 ubuntu@host:/tmp% sudo cgexec -g cpu:pro chrt -r 99 sudo -u ubuntu time -v ffmpeg ...
- Command being timed: "ffmpeg ..."
- User time (seconds): 12.18
- System time (seconds): 0.17
- Percent of CPU this job got: 100%
- Elapsed (wall clock) time (h:mm:ss or m:ss): 0:12.24
- Average shared text size (kbytes): 0
- Average unshared data size (kbytes): 0
- Average stack size (kbytes): 0
- Average total size (kbytes): 0
- Maximum resident set size (kbytes): 43904
- Average resident set size (kbytes): 0
- Major (requiring I/O) page faults: 0
- Minor (reclaiming a frame) page faults: 3639
- Voluntary context switches: 5932
- Involuntary context switches: 6
- Swaps: 0
- File system inputs: 0
- File system outputs: 20896
- Socket messages sent: 0
- Socket messages received: 0
- Signals delivered: 0
- Page size (bytes): 4096
- Exit status: 0
-
- # ffmpeg is alone
-
- 20:52:35 0 ubuntu@host:/tmp% sudo cgexec -g cpu:pro chrt -r 99 sudo -u ubuntu time -v ffmpeg ...
- Command being timed: "ffmpeg ..."
- User time (seconds): 6.86
- System time (seconds): 0.10
- Percent of CPU this job got: 100%
- Elapsed (wall clock) time (h:mm:ss or m:ss): 0:06.90
- Average shared text size (kbytes): 0
- Average unshared data size (kbytes): 0
- Average stack size (kbytes): 0
- Average total size (kbytes): 0
- Maximum resident set size (kbytes): 45664
- Average resident set size (kbytes): 0
- Major (requiring I/O) page faults: 0
- Minor (reclaiming a frame) page faults: 3624
- Voluntary context switches: 5698
- Involuntary context switches: 4
- Swaps: 0
- File system inputs: 0
- File system outputs: 20896
- Socket messages sent: 0
- Socket messages received: 0
- Signals delivered: 0
- Page size (bytes): 4096
- Exit status: 0
-