openedx-vlead / vlabs-edx-bootstrap-theme

This repository is Open edX theme for Virtual Labs. Theme is applied on https://vlabs.ac.in
GNU General Public License v3.0
0 stars 1 forks source link

Memory and system stats used on comipilation of theme on Open edX #174

Open ashay-maheshwari opened 7 years ago

ashay-maheshwari commented 7 years ago

Open edX community recommends minimum 4 GB of RAM for compilation of theme. Just to get the stats of resource consumed while compilation theme, use the /usr/bin/time -v command.

/usr/bin/time -v paver update_assets lms --settings=aws
The output of above command is given below -

    Command being timed: "paver update_assets lms --settings=aws"
    User time (seconds): 334.14
    System time (seconds): 41.05
    Percent of CPU this job got: 99%
    Elapsed (wall clock) time (h:mm:ss or m:ss): 6:17.63
    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): 2605928
    Average resident set size (kbytes): 0
    Major (requiring I/O) page faults: 81
    Minor (reclaiming a frame) page faults: 5905852
    Voluntary context switches: 81431
    Involuntary context switches: 40308
    Swaps: 0
    File system inputs: 153536
    File system outputs: 784072
    Socket messages sent: 0
    Socket messages received: 0
    Signals delivered: 0
    Page size (bytes): 4096
    Exit status: 0