Running CentOS 7 and in need to do some network related commands when suspended and resumed by the VMWare.
Thus far all the solutions I have seen, is connected to pm-utils. But nothing appears to work - no specific log files, creating scripts under sleep.d seem to be not triggered.
The stupidest solution I have right now is to have a cron job/daemon to stash timestamp and trigger actions when period is over a certain threshold.