Linux system watches

Show the number of system watches:

cat /proc/sys/fs/inotify/max_user_watches

Change the number of system watches:

echo fs.inotify.max_user_watches=16384 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p