Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CRIO_BYTES
SDET_BYTES
Not used - PROMETHEUS AND GRAFANA
Commits
34d3a657
Commit
34d3a657
authored
1 year ago
by
Saroj Kumar Mahato
Committed by
creator54
1 year ago
Browse files
Options
Download
Email Patches
Plain Diff
add: stress.sh
parent
6f67ca15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
stress.sh
stress.sh
+16
-0
No files found.
stress.sh
0 → 100755
View file @
34d3a657
#!/usr/bin/env bash
set
-e
if
!
command
-v
stress &>/dev/null
;
then
echo
"Installing stress..."
sudo
apt-get
install
stress
-y
fi
if
command
-v
stress &>/dev/null
;
then
echo
"Running stress..."
stress
--vm-bytes
3G
--vm-keep
-m
1
else
echo
"Error: stress not installed and installation failed."
exit
1
fi
This diff is collapsed.
Click to expand it.
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