OS: Ubuntu 6.06LTS, 7.04
time is a command available in linux which use to summarize resources that the focused process used. Sometime, it is use like a test tool to see what resource used when the process get things done such as cpu time, memory, context switch, cpu time (user mode), cpu time (system mode)
time เป็นคำสั่งที่มีมาอยู่ใน Linux ทุกตัว (เท่าที่ทราบ) ใช้เพื่อการตรวจสอบการใช้งานทรัพยากรของโปรเซสที่เราสนใจ ซึ่งหลายๆครั้ง เราใช้มันเหมือนเครื่องมือในการทดสอบประสิทธิภาพ ซึ่งให้ค่าออกมาเช่น cpu time หรือค่าจำนวน clock ของ cpu ที่มีการใช้งานจริง หรือ cpu time (user mode), cpu time (system mode)
When use time command, I don't know why my time command cannot specific some parameters. Sometime it's look like cannot use any parameters meanwhile man page show some of parameters. After I looking for information, I found nothing. No any pages descript about this problem. Do I really one person that silly? No, I won't to be like that. I'm thinking for a bitt and I think that sudo command might help in this solution. Yes! it work! well done. All parameter can be use at this time.
ผมพยายามจะใช้คำสั่ง time บนลีนุกซ์มาสักพักแล้ว แต่ไม่รู้ทำไม Ubuntu ที่ผมติดตั้ง กลับกำหนดอาร์กิวเมนต์ให้กับคำสั่ง time ไม่ได้เลย ทั้งๆที่หน้า man page ก็มี parameter ต่างๆตามปกติ หาข้อมูลใน google ก็หาไม่เจอ อาจจะมีหน้าที่กล่าวถึง แต่เนื่องจากคำมันเป็นคำที่ basic มาก เลยหายากมากด้วย สุดท้าย ก็เลยมาลองนั่งคิดเอาเองว่า มันเกิดปัญหาอะไรขึ้นกับเรา หลังจากนั้น ไปสกิดใจนิดนึงว่า เออ เป็นไปได้ว่ามันจะใช้ privillage command ที่จะต้อง su เป็น root ก่อน ก็เลย จัดแจงลองดู แล้วก็พบว่า มันใช้งานได้จริงๆด้วย เย้! หลังจากนั่งลองกับ tcsh, csh อยู่ ซึ่งมันก็ไม่ได้เกี่ยวข้องเลยสักนิด
Command
- Format:
# sudo time <arguments> <command> - Example:
# sudo time --verbose ls
Comments
Wed, 20.02.2008 11:09
I'm not sure. I didn't install ed that fonts into my computer .
Tue, 19.02.2008 22:02
would like to know that can i use js font as thai fonts??
Sun, 10.02.2008 23:27
โอ แต๊ง เคยมีอยู่อันนึง แต่อั นนี้ละเอียดกว่า เอา ruby กับ js ไปล่ะ โอ๊ะ apache ด้วย