Kamis, 26 Juli 2012

0

check memory di linux

  • Kamis, 26 Juli 2012
  • AcehCyber
  • _____ free -m 
    _____ free -h
    _____ free -b
    _____ sensors # Memantau suhu / temparatur CPU

    The -b switch displays the amount of memory in bytes
    The -k switch (set by default) displays it in kilobytes
    The -m switch displays it in megabytes
    The -g switch displays it in gigabytes.

    root@samuderapase:~# free -t
    total used free shared buffers cached
    Mem: 762892 713272 49620 0 11708 298504
    -/+ buffers/cache: 403060 359832
    Swap: 1951736 15752 1935984
    Total: 2714628 729024 1985604
    root@samuderapase:~# sensors
    acpitz-virtual-0
    Adapter: Virtual device
    temp1: +53.0°C (crit = +86.0°C)
    temp2: +46.0°C (crit = +96.0°C)

    root@samuderapase:~# vmstat
    procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
    r b swpd free buff cache si so bi bo in cs us sy id wa
    0 0 16768 37272 11656 287496 0 2 74 24 104 266 2 1 94 3

    ket:

    swpd: the amount of virtual memory used.
    free: the amount of idle memory.
    buff: the amount of memory used as buffers.
    cache: the amount of memory used as cache.

    0 Responses to “check memory di linux”


    *Important - If you want to be informed of any replies to your comment, check the "Subscribe By Email" before submitting. Please Do Not Spam

    Posting Komentar