How to view CPU temperature, also CPU and RAM load whis command line?



  • Please tell me the commands with which I can view CPU temperature, also CPU and RAM load.



  • @CAP-33 /proc is your friend. See also Linux Filesystem Hierarchy

    Run these commands (for example ;)
    cat /proc/version
    cat /proc/cpuinfo
    cat /proc/mtd
    free
    cat /proc/meminfo
    cat /proc/iomem

    or put those commands into a simple info.sh script:

    #!/bin/sh
    
    date > info.txt
    echo -e "\n*** Version ***" >> info.txt
    cat /proc/version >> info.txt
    echo -e "\n*** CPU info ***" >> info.txt
    cat /proc/cpuinfo >> info.txt
    echo -e "\n*** MTD ***" >> info.txt
    cat /proc/mtd >> info.txt
    echo -e "\n*** and so on ... ***" >> info.txt
    

    @luz said earlier about CPU temperature in Can I get Omega's CPU temperature?

    As far as I know - from reading the datasheets of both AR9331 (Omega1) and MT7688 (Omega2) - there is no temperature sensor in these SoCs that could be read.

    You can try also top (let's say top -n 1 | head -n 3 ).


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.