- Community Home
- >
- HPE Community, Taiwan
- >
- HP-UX
- >
- 系統管理
- >
- 如何透過cron去將glance導到file中?
類別
Company
Local Language
論壇
討論平台
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
論壇
部落格
- 訂閱此主題的RSS 提要
- 將此主題標記為未讀
- 將主題標記為已讀
- 將主題在本帳號置頂
- 標示為書籤
- 訂閱此主題
- 列印此頁
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-04-2004 01:59 PM
在 11-04-2004 01:59 PM
如何透過cron去將glance導到file中?
glance -j 1 -iterations 1 -f /temp/glance.out
是可以成功的
但是將他掛到crontab中定時去執行卻無法導到File
請問有解決的方式嗎?
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-05-2004 02:25 PM
在 11-05-2004 02:25 PM
如何透過cron去將glance導到file中?
1. #which glance
/opt/perf/bin/glance
2. 將 crontab 改成絕對路徑
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-05-2004 02:30 PM
在 11-05-2004 02:30 PM
如何透過cron去將glance導到file中?
Glance 使用 interactive 方式運作, 所以要加上其它的 option 才可以在 cron 中使用
例如, 我要取得一小時內每分鐘的 runq 值,
01 01 * * * /opt/perf/bin/glance -adviser_only -syntax /tmp/temp -iterations 60 -j 60 >/tmp/outfile &
其中 /tmp/temp 為 syntax 檔, 內容為
print gbl_stattime, " runq=", gbl_run_queue
這裏也有許多的 syntax 參考檔案
/opt/perf/examples/adviser
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-06-2004 01:57 PM
在 11-06-2004 01:57 PM
如何透過cron去將glance導到file中?
print "gbl cpu utilization =", gbl_cpu_total_util|7|0, "%"
print "disk phys io rate =", gbl_disk_phys_io_rate|7|0
print "memory pageout rate =", gbl_mem_pageout_rate|7|0
得到的結果
gbl cpu utilization = 41%
disk phys io rate = 1701
memory pageout rate = 0
除CPU是符合要求外
Disk and Mem Util 是否可化為百分比的數值?
且Mem Util的值和glance看到的有所差異
glance所看到 Mem Util為45%
- 將文章標記為未讀
- 標示為書籤
- 訂閱此主題
- 靜音
- 訂閱此主題的RSS 提要
- 高亮顯示此文章
- 列印此文章
- 提報不當內容
在 11-09-2004 03:56 PM
在 11-09-2004 03:56 PM
如何透過cron去將glance導到file中?
/opt/perf/paperdocs/gp/C/adviser.pdf