aboutsummaryrefslogblamecommitdiffstats
path: root/erts/emulator/test/estone_SUITE_data/sunspeed.sh
blob: d1bd5c4531e079449600d7c5648413f8d96b2e09 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                                              
#!/bin/sh
#
# sunspeed
#
# Returns CPU speed in Mhz on sun/solaris 5.x & 6.x
#

echo `/usr/sbin/psrinfo -v | sed 's/.* \([0-9]*\)\ MHz.*/\1/;s/.*[^0-9].*//g'` | sed 's/ /+/g'

#