84adefa331
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' #