[教學] 基礎配置系統效能監視軟體Conky [論壇 - 版面風格]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊

« 1 (2) 3 »


回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2009/10/29 4:50
所屬群組:
已註冊使用者
等級: 41
HP : 204 / 1022
MP : 930 / 41548
EXP: 91
離線
順便問一下
Xoops內置碼如何調整貼圖比例?

2011/3/18 14:57
應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky

註冊日期:
2009/12/6 10:32
所屬群組:
已註冊使用者
等級: 71
HP : 1053 / 1756
MP : 4456 / 70781
EXP: 24
離線
Xoops內置碼如何調整貼圖比例?

你要在上傳以前 就用修圖程式調整好 長 x 寬 的尺寸 (pixels)及 kb 大小 合於設定:
如果 上傳尺寸超過 設定 好像會出現錯誤訊息

Control panel home / Image Manager / Adding image categories:

1. Max size allowed (kb):
It is useful to impose a limit on the file size uploaded images. This prevents people from posting ridiculously large images that are difficult to download. The default is 50,000 bytes (it is not KB as stated, that is an error).

2. Max width allowed (pixels):
Set a maximum width on images to preserve the integrity of your layout.
Consider what would happen if someone uses a 1024 pixel wide image on your 800 pixel wide site! If you have a ‘standard’ size you like to use for your site this is a good place to set it.

3. Max height allowed (pixels):
As above 2.

2011/3/18 19:41
應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2009/10/29 4:50
所屬群組:
已註冊使用者
等級: 41
HP : 204 / 1022
MP : 930 / 41548
EXP: 91
離線
poloshiao 寫到:
Xoops內置碼如何調整貼圖比例?

你要在上傳以前 就用修圖程式調整好 長 x 寬 的尺寸 (pixels)及 kb 大小 合於設定:
如果 上傳尺寸超過 設定 好像會出現錯誤訊息

Control panel home / Image Manager / Adding image categories:

1. Max size allowed (kb):
It is useful to impose a limit on the file size uploaded images. This prevents
people from posting ridiculously large images that are difficult to
download. The default is 50,000 bytes (it is not KB as stated, that is an error).

2. Max width allowed (pixels):
Set a maximum width on images to preserve the integrity of your layout.
Consider what would happen if someone uses a 1024 pixel wide image on
your 800 pixel wide site! If you have a ‘standard’ size you like to use for
your site this is a good place to set it.

3. Max height allowed (pixels):
As above 2.


了解了
謝謝

2011/3/18 20:01
應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2010/2/9 18:20
所屬群組:
已註冊使用者
等級: 31
HP : 0 / 758
MP : 438 / 30176
EXP: 33
離線
請問要怎麼讓conky顯示溫度呢?
小弟不才,不是資訊相關科系出身,官網本身的指示不懂

附上我的config內容
TEXT
${font Sans:size=14}SYSTEM${font} ${alignr}Uptime: ${uptime}
${voffset 10}
CPU1: ${cpu cpu1}% ${alignr}${outlinecolor 000000}${color grey}${cpubar cpu1 8,100}${color}${outlinecolor}${color grey}$color $freq_g
CPU2: ${cpu cpu2}% ${alignr}${outlinecolor 000000}${color grey}${cpubar cpu2 8,100}${color}${outlinecolor}${color grey}$color $freq_g
CPU3: ${cpu cpu3}% ${alignr}${outlinecolor 000000}${color grey}${cpubar cpu3 8,100}${color}${outlinecolor}${color grey}$color $freq_g
CPU4: ${cpu cpu4}% ${alignr}${outlinecolor 000000}${color grey}${cpubar cpu4 8,100}${color}${outlinecolor}${color grey}$color $freq_g
RAM: $mem/$memmax${memperc}% ${alignr}${outlinecolor 000000}${color ffffff}${membar 8,100}${color}${outlinecolor}
${color grey}Processes:$color $processes ${color grey}Running:$color $running_processes
$hr
${voffset 10}${font Sans:size=14}
HARDDISK${font} ${alignr}${voffset -8}${outlinecolor 000000}${color grey}${diskiograph 14,90}${color}${outlinecolor}
${voffset 5}Root: ${alignr}${fs_used /} + ${fs_free /}
${voffset 5}${offset 10}${fs_size /} ${alignr}${outlinecolor 000000}${color grey}${fs_bar 10,115 /}${color}${outlinecolor}
${voffset 10}Home: ${alignr} ${fs_used /home} + ${fs_free /home}
${voffset 5}${offset 10}${fs_size /home} ${alignr}${outlinecolor 000000}${color grey}${fs_bar 10,115 /home}${color}${outlinecolor}
${voffset 10}備份磁區: ${alignr}${fs_used /media/備份磁區} + ${fs_free /media/備份磁區}
${voffset 5}${offset 10}${fs_size /media/備份磁區} ${alignr}${outlinecolor 000000}${color grey}${fs_bar 10,115 /media/備份磁區}${color}${outlinecolor}
${color grey}
Networking:
Up:$color ${upspeed eth0} ${color grey} - Down:$color ${downspeed eth0}
$hr
${color grey}Name PID CPU% MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}


查到的部份是temperture_unit
還有sony_fanspeed根據說明好像可以看到VAIO的轉速
不知道要怎麼用

2011/3/20 17:27
在下有時候會回答的很簡略
請善用google搜尋回答中的關鍵字

應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2009/10/29 4:50
所屬群組:
已註冊使用者
等級: 41
HP : 204 / 1022
MP : 930 / 41548
EXP: 91
離線
以下是我的備用機的conky設定檔 參考看看吧
有CPU溫度跟CPU、GPU風扇轉速 數值是利用sensors擷取
我不知道sony_fanspeed怎樣設 不好意思
關於擷取CPU溫度、風扇轉速的詳細作法 現在我找不到當初參考資料的網站 等找到再發上來



use_xft yes
xftfont Monospace:size=8
text_buffer_size 2048
update_interval 1
total_run_times 0
own_window yes
own_window_argb_visual yes
own_window_argb_value 128
own_window_transparent no
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 185 700
draw_shades no
draw_outline no
draw_borders no
stippled_borders 0
border_width 1
default_color white
default_shade_color grey
default_outline_color black
own_window_colour black
alignment top_right
gap_x 10
gap_y 35
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer none
draw_graph_borders no

TEXT
${font Sans:size=14}SYSTEM${font} ${alignr}Uptime: ${uptime}
${voffset 10}CPU1: ${execi 6 sensors | grep "Core 0:" | cut -d+ -f2 | cut -c1-7} ${alignr}${cpu cpu1}% ${outlinecolor 000000}${color ffffff}${cpubar cpu1 8,65}${color}${outlinecolor}
CPU2: ${execi 6 sensors | grep "Core 1:" | cut -d+ -f2 | cut -c1-7} ${alignr}${cpu cpu2}% ${outlinecolor 000000}${color ffffff}${cpubar cpu2 8,65}${color}${outlinecolor}
RAM: ${memperc}% ${alignr}${outlinecolor 000000}${color ffffff}${membar 8,100}${color}${outlinecolor}
SWAP: ${swapperc}% ${alignr}${outlinecolor 000000}${color ffffff}${swapbar 8,100}${color}${outlinecolor}
${voffset 5}CPU Fan: ${alignr}${execi 6 sensors | grep "fan1:" | cut -c13-20}
GPU Fan: ${alignr}${execi 6 sensors | grep "fan3:" | cut -c13-20}

${voffset 10}${font Sans:size=14} TOP CPU & TOP MEM${font}
${voffset 10}${font Monospace:size=6}PID${offset 21}COMMAND${alignr}%CPU${font}
${voffset 5}${top pid 1} ${top name 1}${alignr}${top cpu 1}
${top pid 2} ${top name 2}${alignr}${top cpu 2}
${top pid 3} ${top name 3}${alignr}${top cpu 3}
${top pid 4} ${top name 4}${alignr}${top cpu 4}
${voffset 10}${font Monospace:size=6}PID${offset 21}COMMAND${alignr}%MEM${font}
${voffset 5}${top_mem pid 1} ${top_mem name 1}${alignr}${top_mem mem 1}
${top_mem pid 2} ${top_mem name 2}${alignr}${top_mem mem 2}
${top_mem pid 3} ${top_mem name 3}${alignr}${top_mem mem 3}
${top_mem pid 4} ${top_mem name 4}${alignr}${top_mem mem 4}

${voffset 10}${font Sans:size=14}HARDDISK${font} ${alignr}${voffset -8}${outlinecolor 000000}${color ffffff}${diskiograph 14,90}${color}${outlinecolor}
${voffset 5}Root: ${alignr}${fs_used /} + ${fs_free /}
${voffset 5}${offset 10}${fs_size /} ${alignr}${outlinecolor 000000}${color ffffff}${fs_bar 10,115 /}${color}${outlinecolor}
${voffset 10}Home: ${alignr} ${fs_used /home} + ${fs_free /home}
${voffset 5}${offset 10}${fs_size /home} ${alignr}${outlinecolor 000000}${color ffffff}${fs_bar 10,115 /home}${color}${outlinecolor}

${voffset 10}${font Sans:size=14}xDSL${font} ${alignr}IP: ${addr ppp0}
${voffset 11}Up: ${alignr 8}${voffset -1}${font Monospace:size=9}${upspeed ppp0}/s${font} ↑
${voffset 1}Down: ${alignr 8}${voffset -1}${font Monospace:size=9}${downspeed ppp0}/s${font} ↓

${voffset 10}${font Sans:size=14}TCP Connect${font} ${alignr}Total: ${tcp_portmon 1 65535 count}
${voffset 10}${font Monospace:size=6}IP Port ${alignr}Service${font}
${voffset 5}${tcp_portmon 1 65535 rip 0} ${tcp_portmon 1 65535 rport 0} ${alignr}${tcp_portmon 1 65535 rservice 0}
${tcp_portmon 1 65535 rip 1} ${tcp_portmon 1 65535 rport 1} ${alignr}${tcp_portmon 1 65535 rservice 1}
${tcp_portmon 1 65535 rip 2} ${tcp_portmon 1 65535 rport 2} ${alignr}${tcp_portmon 1 65535 rservice 2}
${tcp_portmon 1 65535 rip 3} ${tcp_portmon 1 65535 rport 3} ${alignr}${tcp_portmon 1 65535 rservice 3}
${tcp_portmon 1 65535 rip 4} ${tcp_portmon 1 65535 rport 4} ${alignr}${tcp_portmon 1 65535 rservice 4}
${tcp_portmon 1 65535 rip 5} ${tcp_portmon 1 65535 rport 5} ${alignr}${tcp_portmon 1 65535 rservice 5}
${tcp_portmon 1 65535 rip 6} ${tcp_portmon 1 65535 rport 6} ${alignr}${tcp_portmon 1 65535 rservice 6}


效果圖

2011/3/20 18:17
應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2009/10/29 4:50
所屬群組:
已註冊使用者
等級: 41
HP : 204 / 1022
MP : 930 / 41548
EXP: 91
離線

2011/3/20 18:53
應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2010/2/9 18:20
所屬群組:
已註冊使用者
等級: 31
HP : 0 / 758
MP : 438 / 30176
EXP: 33
離線
感謝~

而且額外發現dock可以用

那~GPU也是一樣的設定吧?

2011/3/20 20:58
在下有時候會回答的很簡略
請善用google搜尋回答中的關鍵字

應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2010/2/9 18:20
所屬群組:
已註冊使用者
等級: 31
HP : 0 / 758
MP : 438 / 30176
EXP: 33
離線
完全沒有用到temperature_unit指令嘛~

2011/3/20 21:00
在下有時候會回答的很簡略
請善用google搜尋回答中的關鍵字

應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2010/2/9 18:20
所屬群組:
已註冊使用者
等級: 31
HP : 0 / 758
MP : 438 / 30176
EXP: 33
離線
執行sudo sensors-detect最後得到

Sorry, no sensors were detected.
This is relatively common on laptops, where thermal management is
handled by ACPI rather than the OS.

而且內容都是No

2011/3/20 21:15
在下有時候會回答的很簡略
請善用google搜尋回答中的關鍵字

應用擴展 工具箱
回覆: [教學] 簡單配置系統監視軟體Conky
會員五級
註冊日期:
2009/10/29 4:50
所屬群組:
已註冊使用者
等級: 41
HP : 204 / 1022
MP : 930 / 41548
EXP: 91
離線
我不清楚原因 不好意思
如果有其它程式能測你的cpu溫度跟風扇轉速等 我想 還是可以同樣用擷取的方法顯示在conky上
(不過如果有其它程式能用 那麼也沒必要用conky了吧?)

2011/3/22 0:37
應用擴展 工具箱

« 1 (2) 3 »

 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.