Not even sure if this is possible, but I would like to use a different htaccess file if the load is greater than x

What I am trying to achieve is the showing of a maintenance page to all users except my IP when the load on the server goes higher than say 40.

I have the code to manually include if the load is high, but this involves me a) seeing the load is high and b) being near a computer to edit / FTP the revised htaccess file.

Then when the load reduces, usually within 30 seconds of making the change I have to revert it back.

If I can't use a different htaccess file, then have a check in it depending upon the load.

Many thanks.