You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
252 B
13 lines
252 B
12 months ago
|
#!/bin/bash
|
||
|
# Author: Carlos Rodriguez-Fernandez <carlosrodrifernandez@gmail.com>
|
||
|
|
||
|
t_Log "Running $0 - pidstat test"
|
||
|
|
||
|
output_file=$(mktemp)
|
||
|
trap "rm -f ${output_file}" EXIT
|
||
|
|
||
|
if ! pidstat 1 1 > ${output_file} 2>&1; then
|
||
|
cat ${output_file}
|
||
|
exit 1
|
||
|
fi
|