Groups
Groups
Sign in
Groups
Groups
NYCU NASA 課程討論區
Conversations
About
Send feedback
Help
[SA HW1] 請問 SYS_INFO 中 CPU 的內容
95 views
Skip to first unread message
莊婷馨
unread,
Oct 3, 2025, 6:21:34 AM
Oct 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教您好:
想請問 HW1 中,SYS_INFO 的 CPU 資訊有固定的格式嗎?
我使用的虛擬機是 VMware fusion,根據我在網路上查的資訊,似乎沒辦法從虛擬機直接看到 host 的 CPU model name,在虛擬機的 cpuinfo 裡面也看不到,只能從別的欄位拼湊資訊,想請問這樣是可以的嗎?
謝謝助教!
賴羿茗
unread,
Oct 3, 2025, 9:24:47 AM
Oct 3
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
同學您好:
若是無法從虛擬機看到 CPU model name,可以在 hw1.sh script 備註硬體資訊。
備註過後腳本中的 SYS_INFO CPU 內容可以嘗試從別的欄位拼湊資訊或是 hardcode。
若是還有其他問題也歡迎在討論區提出。
謝謝
bonniech...@nycu.edu.tw
在 2025年10月3日 星期五下午6:21:34 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages