Description

This article explains how to check the health of Junos space using CLI commands

Solution

Below are the CLI commands to check:
 

df -kh --> To check if there is any partition utilizing more storage space

free -h --> To check allocated memory and free memory

lscpu --> To check allocated CPU

du -sh /var/ | sort -h --> To check which files in /var partition is utilzing more space

top --> To check the CPU utization

chage --list admin --> To check the admin password expiry

grep -i "too many open files" /var/log/* --> To check open file issue in the process

grep -i "OutOfMemory" /var/log/* --> To check java out of memory issue

ps aux --sort -rss | head --> To check if there is any process utilizing more memory

 

Modification History

2024-07-24 : Article Created