daily pastebin goal
32%
SHARE
TWEET

checkstats.sh

osteth Mar 9th, 2016 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. echo "=======Total open sockets by demonsaw router======="
  3. netstat -nap | grep demonsaw | wc -l
  4.  
  5. echo "=======Total file handles open by OS========="
  6. cat /proc/sys/fs/file-nr
  7.  
  8. echo "===========Current entropy level==============="
  9. echo $(cat /proc/sys/kernel/random/entropy_avail)/$(cat /proc/sys/kernel/random/poolsize)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top