How to do a quick Health Check on live Systems
This KB is geared to assist with doing a quick health Check on SoftNAS systems during meetings or assessments of overall system health
Specific Resources to check:
- Memory
- top <shift> <m> to sort by RAM
- free -m
- ps (look at VSZ and RSS values)
- sar -r :- To Check Memory Usage
- sar -S :- To check Swap Usage
- CPU
- top
- sar -u : - Displays all CPU usage
- uptime (look at load information)
- IO Wait
- iostat -x 1 (disk IO)
- ioping -R /dev/xvdX
- sar -b :-Overall I/O Activities
- sar -w :- Content switch per sec
- sar -q :- The “blocked” column displays the number of tasks that are currently blocked and waiting for I/O operation to complete.
- sar -p -d :- Display the list of Block devices and their activity
- iftop (look at overall network throughput)
- sar -n DEV
KEYWORD can be one of the following:
- DEV – Displays network devices vital statistics for eth0, eth1, etc.,
- EDEV – Display network device failure statistics
- NFS – Displays NFS client activities
- NFSD – Displays NFS server activities
- SOCK – Displays sockets in use for IPv4
- IP – Displays IPv4 network traffic
- EIP – Displays IPv4 network errors
- ICMP – Displays ICMPv4 network traffic
- EICMP – Displays ICMPv4 network errors
- TCP – Displays TCPv4 network traffic
- ETCP – Displays TCPv4 network errors
- UDP – Displays UDPv4 network traffic
- SOCK6, IP6, EIP6, ICMP6, UDP6 are for IPv6
- ALL – This displays all of the above information. The output will be very long.
SAMBA (Real Time Checks)
What
wbinfo -t (test API)
wbinfo -g (list groups)
wbinfo -i <NETBIOS_NAME\user_name> (return user name in AD)
- wbinfo -m (check domain membership(s))
- ZFS
- zfs list
- zpool status -vv