A Senate inquiry has been set up to examine why senior public servants are are being paid much bigger salaries than the ministers they serve.