Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docker-smartmontools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
indiehost
docker-smartmontools
Commits
6ced5652
Commit
6ced5652
authored
Jan 03, 2018
by
Ozoux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force tests
parent
88a7503b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
long-test
long-test
+1
-1
short-test
short-test
+1
-1
No files found.
long-test
View file @
6ced5652
#!/bin/bash -eux
echo
"smartmon_long_test_starting_time
$(
date
+%s
)
"
>
/textfiles/smart-long-test.prom
smartctl
--scan
|
cut
-d
" "
-f1
| xargs
-n1
smartctl
--test
=
long
smartctl
--scan
|
cut
-d
" "
-f1
| xargs
-n1
smartctl
--test
=
long
-t
force
short-test
View file @
6ced5652
#!/bin/bash -eux
echo
"smartmon_short_test_starting_time
$(
date
+%s
)
"
>
/textfiles/smart-short-test.prom
smartctl
--scan
|
cut
-d
" "
-f1
| xargs
-n1
smartctl
--test
=
short
smartctl
--scan
|
cut
-d
" "
-f1
| xargs
-n1
smartctl
--test
=
short
-t
force
Write
Preview
Markdown
is supported
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