Soft'N'Design Software
/
projects
/
debian6500.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
add a vlan2 for 10.133.28.0
[debian6500.git]
/
master
/
opt
/
script
/
cpuclock
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
}