Skip to content

Commit

Permalink
Collect information from nproc and vmstat
Browse files Browse the repository at this point in the history
  • Loading branch information
bheisig committed Sep 12, 2018
1 parent 0e16f43 commit ce83557
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- `idoit-support`: Collect information via systemd-analyze and dkpg
- `idoit-support`: Collect information about hardware, installed software and systemd


### Changed
Expand Down
6 changes: 6 additions & 0 deletions idoit-support
Expand Up @@ -67,6 +67,12 @@ function addTempDir {
}

function collectSystemEnvironment {
log "Collect hardware information"
test -x "$(command -v nproc)" && \
nproc > "$TMP_DIR"/nproc
test -x "$(command -v vmstat)" && \
vmstat --stats --unit M > "$TMP_DIR"/vmstat

log "Collect OS information"
test -x "$(command -v uname)" && \
uname -a > "$TMP_DIR"/uname
Expand Down

0 comments on commit ce83557

Please sign in to comment.