首页 >>  正文

save+to有除了的意思吗

来源:baiyundou.net   日期:2024-08-31

作者:annpple

45%off:大鹏YYDS

一、前言

使用环境:Unraid 6.11.1

显卡:Nvidia Tesla P4

待机功耗:7w

二、安装User Scripts插件

CA应用市场搜索安装User Scripts

搜索安装User Scripts插件

三、配置Nvidia Power Save脚本

1.Unraid顶栏插件里左键点击User Scripts进入配置页面

进入配置页

2.添加脚本并配置

#以每小时执行一次省电模式为例

自定义脚本名称

编辑脚本

3.复制以下脚本内容到编辑器

#!/bin/bash
# check for driver
command -v nvidia-smi &> /dev/null || { echo >&2 "nvidia driver is not installed you will need to install this from community applications ... exiting."; exit 1; }
echo "Nvidia drivers are installed"
echo
echo "I can see these Nvidia gpus in your server"
echo
nvidia-smi --list-gpus
echo
echo "-------------------------------------------------------------"
# set persistence mode for gpus ( When persistence mode is enabled the NVIDIA driver remains loaded even when no active processes,
# stops modules being unloaded therefore stops settings changing when modules are reloaded
nvidia-smi --persistence-mode=1
#query power state
gpu_pstate=$(nvidia-smi --query-gpu="pstate" --format=csv,noheader);
#query running processes by pid using gpu
gpupid=$(nvidia-smi --query-compute-apps="pid" --format=csv,noheader);
#check if pstate is zero and no processes are running by checking if any pid is in string
if [ "$gpu_pstate" == "P0" ] && [ -z "$gpupid" ]; then
echo "No pid in string so no processes are running"
fuser -kv /dev/nvidia*
echo "Power state is"
echo "$gpu_pstate" # show what power state is
else
echo "Power state is"
echo "$gpu_pstate" # show what power state is
fi
echo
echo "-------------------------------------------------------------"
echo
echo "Power draw is now"
# Check current power draw of GPU
nvidia-smi --query-gpu=power.draw --format=csv
exit

4.保存脚本配置

保存配置

5.设置生效规则

设置每小时生效和启动阵列时生效

四、总结

简单粗暴,利用脚本执行省电命令,可以自定义生效时间;通过设置2个生效时间,确保在阵列启动时和每小时都生效。本教程适用于所有Nvidia显卡Unraid开启省电模式。

","force_purephv":"0","gnid":"99ad0b395e06bff67","img_data":[{"flag":2,"img":[{"desc":"","height":"507","title":"","url":"https://p0.ssl.img.360kuai.com/t016577517a9708e76e.jpg","width":"600"},{"desc":"","height":"408","title":"","url":"https://p0.ssl.img.360kuai.com/t0163a15d94619c9a10.jpg","width":"600"},{"desc":"","height":"391","title":"","url":"https://p0.ssl.img.360kuai.com/t01370dcede78efc260.jpg","width":"600"},{"desc":"","height":"410","title":"","url":"https://p0.ssl.img.360kuai.com/t01a09895224ab1f9c2.jpg","width":"600"},{"desc":"","height":"250","title":"","url":"https://p0.ssl.img.360kuai.com/t01b0223b1ed5f979a6.jpg","width":"600"},{"desc":"","height":"95","title":"","url":"https://p0.ssl.img.360kuai.com/t010611751d5569af3e.jpg","width":"600"}]}],"original":0,"pat":"art_src_1,sexf,sex4,sexc,disu_label,fts0,sts0","powerby":"hbase","pub_time":1666766841000,"pure":"","rawurl":"http://zm.news.so.com/0ed05024f0544f76c2dcebcb8a33178a","redirect":0,"rptid":"fba2d102d8d068f5","s":"t","src":"什么值得买","tag":[{"clk":"kdigital_1:gpu","k":"gpu","u":""},{"clk":"kdigital_1:显卡","k":"显卡","u":""}],"title":"Unraid Nvidia Power Save使用Nvidia显卡开启省电模式待机只要7w

瞿温睿4179亲们谁能告诉我“除了”这个英文有几种,各个都有什么用法啊 -
沙侍司14722794776 ______ 除了: Apart from Except In addition to Besides Save Saving 别忘了!!!

瞿温睿4179save的意思 -
沙侍司14722794776 ______ 这里save是介词,相当于except,是”除……之外“的意思.-- 关于数量:以提单载明的数量为准,恶意欺诈和明显失误除外;-- 关于质量:以独立检测机构Inspectorate公司,在卸货后船上复合取样后出具的质量证明为准,恶意欺诈和明显失误除外.Inspectorate是一家英国的检测公司,你做这一行的话应该知道,不再赘述.

瞿温睿4179Save to Flle是什么意思 -
沙侍司14722794776 ______ Save to Flle 保存到调控 save 英 [seɪv] 美 [sev] vt. 保存;节省;储蓄;解救 vi. 节省;挽救;救球 prep.&conj. 除…之外 n. 救援,救援 第三人称单数: saves 现在分词: saving 过去式: saved 过去分词: saved 双语例句 One man was still missing last night after the Belgian trawler Lucky capsized off the Dutch coast. Three other men were saved. 昨晚比利时拖网渔船“幸运号”在荷兰海岸附近沉没后,仍有1人失踪,其余3人被救起.

瞿温睿4179Save什么意思 -
沙侍司14722794776 ______ save 英 [seɪv] 美 [sev] prep. 除...之外 n. 救援 vi. 节省;挽救 vt. 节省;保存;储蓄;解救 n. (Save)人名;(法)萨夫;(意、保、西、罗、塞、瑞典)萨薇 (女名),萨韦

瞿温睿4179save 和 save on 有什么区别 -
沙侍司14722794776 ______ save on 意思是:节省,节约; 例句: 1、Always buy a heater with thermostat control to save on running costs. 始终购买可调温度的取暖器以节省使用成本. 2、I got the fishmonger to skin the fish which helped save on the preparation time. ...

瞿温睿4179免税店中的save up to什么意思,比如一个产品100元,上面写了save up to 25% -
沙侍司14722794776 ______ 意思是已经降价25%了.这里的意思是说,按照这个价格买,你可以省下25%.你还是付款100,只不过,比起市面上的价格,100元已经是省下了25%.save up to 可节省...

瞿温睿4179求save的用法
沙侍司14722794776 ______ save1及物动词 vt. 1. 救,挽救[(+from)] He saved me from drowning. 他救了我,使我免遭溺死. The doctor saved the child's life. 这位医生挽救了孩子的生命. 2. 节省,省去;避免[O1][(+from)] The computer will save us a lot of time. 电将使我们...

瞿温睿4179SAVE是什么意思. -
沙侍司14722794776 ______ 动词(verb):1.拯救(save...from) 2.储存,积攒(save...for) 名词(noun):(足球中的)救球

瞿温睿4179英文的save翻译成中文是什么意思 -
沙侍司14722794776 ______ save 中文注解: vt. 节省;保存;储蓄;解救vi. 节省;挽救;救球prep. 除...之外n. 救球,救援n. (Save)人名;(法)萨夫;(意、保、西、罗、塞、瑞典)萨薇 (女名),萨韦

瞿温睿4179英语达人解答 -
沙侍司14722794776 ______ 其实这个问题不单单是saver本身有没有更深的意思,更重要的是使用这个词的人是不是认为saver有更深的意思. 假设使用者对saver,或者说对save这个词理解非常准确的话,那么可以很肯定的告诉LZ,这个词没有这种意思. Save一般来说用在人之间,是拯救的意思,而且是本意 to stop someone or something from being killed, injured or destroyed. 而Saver用在人的时候是指这个人很节约.

(编辑:自媒体)
关于我们 | 客户服务 | 服务条款 | 联系我们 | 免责声明 | 网站地图 @ 白云都 2024