sudo apt install iwatch
iwatch /somedir iwatch -r -c '(w; ps -aux)' | echo '%f was changed' /somedir
NOTE: Executes the w and ps -aux command upon the event occuring.
http://manpages.ubuntu.com/manpages/bionic/man1/iwatch.1.html