automated console commands with restart array?


Recommended Posts

I am running trex miner in a docker to mine Eth with my Nvidia 3080 GPU. 

 

I run the following commands manually from an Unraid console instance to reduce power from almost 400 watts down to 225:

 

nvidia-smi -pm 1

nvidia-smi -i 0 -pl 227

 

Is there a way for these two commands to run automatically upon restart of the array?  If I reboot or stop/start the array and forget to do it manually then it's running REALLY hot and wasting a bunch of electricity.

 

advTHANKSance

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.