Results 1 to 3 of 3

Thread: คำสั่ง top ใน unix

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Location
    Thailand
    Posts
    15


    คำสั่ง top ใน unix

    ผมต้องการให้ทำการเรียกใช้คำสั่ง top `แล้วแสดง CPU States แบบไม่มี delay (ปกติมี delay 1-2วิ) ไม่ทราบว่าจ้องใช้ option อะไรครับ คือต้องการแบบ top -??? ประมาณนี้อะครับ ช่วยด้วยนะครับ ขอบคุณครับ

  2. #2
    Senior Member newsbot's Avatar
    Join Date
    Sep 2002
    Location
    Thailand
    Posts
    3,766


    Re: คำสั่ง top ใน unix

    Try this "top -d 1"

    meaning


    -d : Delay time interval as: -d ss.tt (seconds.tenths)
    Specifies the delay between screen updates, and overrides the corresponding value in one
    clone 'em all

  3. #3
    Junior Member
    Join Date
    Apr 2006
    Location
    Thailand
    Posts
    15


    Re: คำสั่ง top ใน unix

    ขอบคุณมากครับ แต่ว่า top -d 1 จะไม่แสดง % การทำงานของ CPU state อะครับ
    CPU states: % idle, % user, % kernel, % iowait, % swap
    ผมเลยลองใช้คำสั่ง top -b -s3 -d2 แต่มั้นจะขึ้น 2 ชุดเลย แต่ชุดที่ 2 ใช้ได้ครับ ยังไงก็ขอบคุณมากครับที่ตอบคำถาม thank for your answer

Similar Threads

  1. Replies: 0
    Last Post: 02-10-2007, 10:14 AM
  2. Replies: 0
    Last Post: 24-09-2007, 11:07 PM
  3. คำสั่ง UNIX ที่ควรทราบ
    By bigassbc in forum Hacking, Exploit Articles/Tutorial/Techniques
    Replies: 0
    Last Post: 10-04-2007, 08:14 PM
  4. Replies: 6
    Last Post: 02-04-2007, 02:42 PM
  5. Replies: 0
    Last Post: 05-12-2006, 12:51 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •