Skip to content

melboyscout/testtask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Metrics script

This script allows you to print basic server metrics about your CPU and memory.

Allowed commands:

cpu
mem

Script usage examples

print CPU metrics

Execute script with cpu argument: ./metrics.sh cpu

print memory metrics

Execute script with mem argument: ./metrics.sh mem

Docker usage

Run docker container with command specified in allowed commands list

Example
docker run -t --rm artem7mag/metrics:latest cpu

user		17.25 
nice		0.00 
system		1.95 
iowait		0.21 
steal		0.00 
idle		80.60

About

test task for GL_ProCamp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages