Avatar
🏃
2 results for Tuxedo-Computer
  • Now I have always high CPU load (process tccd) and fan at 100% … very good release !

    And also impossible to put “Powersave extreme” or “Quiet” … the laptop stop after too hot.

    My OS : 22.04.3 LTS (Jammy Jellyfish) .

    Logs :

    In loops :

    $ grep "tccd" /var/log/syslog | tail -f
    Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
    Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
    Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Failed executing onWork() => Error: Command failed: export XAUTHORITY=/home/arias/.Xauthority && xrandr -q -display :1 --current
    Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
    Dec 20 12:06:47 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
    Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
    Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1
    Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Failed executing onWork() => Error: Command failed: export XAUTHORITY=/home/arias/.Xauthority && xrandr -q -display :1 --current
    Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Authorization required, but no authorization protocol specified
    Dec 20 12:06:50 TUXEDO-Polaris-Intel-Gen3-TGL tccd[1152]: Can't open display :1

    And also :

    tuxedo-computer Created Wed, 20 Dec 2023 00:00:00 +0000
  • Je ne sais pas comment faire la mesure via un script sur la crontab … Les données que j’ai sont différentes du CPU History sur Ubuntu. Actuellement j’utilise :

    "grep 'cpu ' /proc/stat | awk '{usage=($2+$4)*100/($2+$4+$5)"

    mais j’ai aussi essayé avec le découpage dans top :

    top -bn1 | grep "Cpu(s)" | \
               sed "s/.*, *\([0-9.]*\)%* id.*/\1/" | \
               awk '{print 100 - $1"%"}'

    UPDATE C’est bon j’ai trouvé la bonne commande pour avoir le CPU usage : CPU_USAGE=$(awk ‘{u=$2+$4; t=$2+$4+$5; if (NR==1){u1=u; t1=t;} else print ($2+$4-u1) * 100 / (t-t1) “%”; }’ <(grep ‘cpu ’ /proc/stat) <(sleep 1;grep ‘cpu ’ /proc/stat))

    tuxedo-computer Created Sun, 22 Mar 2020 00:00:00 +0000