Einfaches Linux Benchmark per Shell

This post was published 12 years 1 month 27 days ago, so the post may be outdated.

Es gibt einen einfachen Befehl, womit man einen kleinen Benchmark in Linux durchführen lassen kann.
Der Befehl lautet:
time echo "scale=1000; 4*a(1)" | bc -l

Dieser Befehl berechnet PI auf 1000 Stellen.
Die Stellen kann mit der Angabe “scale=” eingestellt werden.

Vielleicht hilft es wen! 🙂

Hinweis: Der Befehl bc berechnet die Stellen nur mit einem CPU-Kern.

Patrik Kernstock

May I introduce my self? I am Patrik Kernstock, 25 years old, perfectionist, born in Austria and living in Ireland, Cork. Me explained in short: Tech- and security enthusiast, series & movies junky. Interesting in Linux, Container-stuff and many software solutions by Microsoft, Veeam and VMware.

0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x