scripts/setup: Redirect status headers to stderr
This is done so user can easily filter out parts of the output which are not relevant for additional processing (greping, seding, etc.). Change-Id: I67eafd1fbeb723224cca6b0026e149cb7f85bfe9 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5152 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
7f34367592
commit
07e251ef42
@ -482,8 +482,8 @@ function reset_linux() {
|
||||
}
|
||||
|
||||
function status_linux() {
|
||||
echo "Hugepages"
|
||||
printf "%-6s %10s %8s / %6s\n" "node" "hugesize" "free" "total"
|
||||
echo "Hugepages" >&2
|
||||
printf "%-6s %10s %8s / %6s\n" "node" "hugesize" "free" "total" >&2
|
||||
|
||||
numa_nodes=0
|
||||
shopt -s nullglob
|
||||
@ -512,7 +512,7 @@ function status_linux() {
|
||||
fi
|
||||
|
||||
printf '\n%-8s %-15s %-6s %-6s %-7s %-16s %-10s %s\n' \
|
||||
"Type" "BDF" "Vendor" "Device" "NUMA" "Driver" "Device" "Block devices"
|
||||
"Type" "BDF" "Vendor" "Device" "NUMA" "Driver" "Device" "Block devices" >&2
|
||||
|
||||
for bdf in "${!all_devices_d[@]}"; do
|
||||
driver=${drivers_d["$bdf"]}
|
||||
|
Loading…
Reference in New Issue
Block a user