Soft'N'Design Software
/
projects
/
debian6500.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
add a vlan2 for 10.133.28.0
[debian6500.git]
/
master
/
opt
/
script
/
cpuclock
Commit
Line
Data
90b53a74
LM
1
#!/usr/bin/awk -f
2
3
BEGIN {
4
ARGV[1]="/proc/cpuinfo"
5
ARGC=2
6
}
7
8
/MHz/ {
9
cpu[$4]++
10
}
11
12
END {
13
for (i in cpu)
14
printf " %s x %d", i, cpu[i]
15
printf "\n"
16
}