This website requires JavaScript.
Explore
Help
Register
Sign In
MrBesen
/
ServerBot
Watch
1
Star
0
Fork
You've already forked ServerBot
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
6b09d55ac7
ServerBot
/
mem.sh
5 lines
94 B
Bash
Executable File
Raw
Blame
History
#!/bin/bash
function
memUsage
{
top -bn1
|
sed -n 4p
|
awk
'{ print int( $6 / $4 * 100) }'
}
Reference in New Issue
View Git Blame
Copy Permalink