Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
ba915366
Commit
ba915366
authored
May 31, 2013
by
Dan Reading
Browse files
remove some debugging. fix output string
parent
ca44d90f
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/common/nodetest/usr/local/etc/emulab/cpucheck
View file @
ba915366
...
...
@@ -175,10 +175,8 @@ case $os in
"IntelPentiumII"
)
arch
=
"i386"
;;
*
)
arch
=
"Unknown"
;;
esac
echo
$-
save_e
set
+e
echo
$-
x
=
$(
grep
'FreeBSD/SMP:'
/var/run/dmesg.boot |
grep
package
)
x
=
${
x
#FreeBSD/SMP
:
}
[[
$x
]]
&&
sockets
=
${
x
%%package*
}
||
sockets
=
1
...
...
@@ -234,7 +232,7 @@ echo ""
# if saving data for testbed database
[[
${
x64bit
}
==
1
]]
&&
bits
=
64
||
bits
=
32
if
[
-f
${
logfile4tb
}
]
;
then
printf
"CPUINFO SOCKET=%s CORES=%s THREADS=%s SPEED=%s BITS=%s HV=%s
\n
"
\
printf
"CPUINFO SOCKET
S
=%s CORES=%s THREADS=%s SPEED=%s BITS=%s HV=%s
\n
"
\
${
sockets
}
${
cores_socket
}
${
threads_core
}
${
mhz
}
${
bits
}
${
hwvirt
}
>>
${
logfile4tb
}
exit
0
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment