Monitor Linux system resource function