-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit fb488ab
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is simply a script to gather various tidbits of the system configuration. | ||
Main purpose is to be used with various performance test wrappers to record | ||
the system configuration for future reference. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
KERN=`uname -r` | ||
numa_nodes=`lscpu | grep NUMA | grep CPU | wc -l` | ||
numb_cpus=`cat /proc/cpuinfo |grep "processor" | wc -l` | ||
cpu_info=`cat /proc/cpuinfo | grep "model name" | sort -u` | ||
memory=`cat /proc/meminfo | grep MemTotal: | cut -d: -f 2` | ||
echo kernel: $KERN | ||
echo numa_nodes: $numa_nodes | ||
echo number_cpus: $numb_cpus | ||
echo cpu_info: $cpu_info | ||
echo total_memory: $memory | ||
|