Skip to content

Commit

Permalink
Merge pull request #633 from lbarraga/compile-eat-cpu
Browse files Browse the repository at this point in the history
compile eat_cpu before running
  • Loading branch information
boegel authored Jul 5, 2024
2 parents 9f53d8c + d7498aa commit 32a340d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mkdocs/docs/HPC/fine_tuning_job_specifications.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,9 +516,10 @@ The **uptime** command will show us the average load
10:14:05 up 86 days, 12:01, 11 users, load average: 0.60, 0.41, 0.41
</code></pre>

Now, start a few instances of the "*eat_cpu*" program in the background,
Now, compile and start a few instances of the "*eat_cpu*" program in the background,
and check the effect on the load again:
<pre><code>$ <b>./eat_cpu&</b>
<pre><code>$ <b>gcc -O2 eat_cpu.c -o eat_cpu</b>
$ <b>./eat_cpu&</b>
$ <b>./eat_cpu&</b>
$ <b>./eat_cpu&</b>
$ <b>uptime</b>
Expand Down

0 comments on commit 32a340d

Please sign in to comment.