This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Ryan C Koch - [email protected] | |
# Purpose: Returns TCP Memory settings and Usage | |
# Arguments: low - Return Low Threshold Setting | |
# mem - Return Memory Pressure Setting | |
# out - Return Out of Socket Setting | |
# use - Return Actual Usage | |
# use_thresh - Check Usage Against Settings and Return Threshold | |
SETTINGS=$(cat /proc/sys/net/ipv4/tcp_mem) |
NewerOlder