Failed login attempts
Top source IPs of failed SSH logins in last 24h
journalctl -u ssh --since '24h ago' | grep 'Failed password' | awk '{print $(NF-3)}' | sort | uniq -c | sort -rn | head -10
- tool
- linux133 commands
More linux commands
-
sudo -l -U <username>List sudo rules for a specific user
-
usermod -aG docker,sudo aliceAppend user to multiple groups without removing existing ones
-
cat /proc/<pid>/smaps | awk '/^Size/{sum+=$2} END{print sum/1024" MB"}'Total virtual memory size of a process from smaps
-
grep -E 'HugePages|AnonHugePages|Transparent' /proc/meminfoCheck if THP / hugepages are used and configured
-
echo never > /sys/kernel/mm/transparent_hugepage/enabledDisable THP at runtime (fix for Redis, MongoDB latency spikes)