Jamma Tino Schwarze
Software

  • Willkommen
  • Wer ich bin
  • Was ich tue
  • Was ich tat (Archiv)
    • Abitur
    • Studium
    • Aktivitäten
    • Software
    • Wohnen
    • Sonstiges
  • Links
  • Kontakt / Impressum

LEDM

Monitor CPU usage or free memory using your keyboard LEDs! This is a slightly extended version of ledm, written by Juan Jos lvarez Martines. AFAIK it runs on Linux only.

Download the sourcecode. Compile it with cc -o ledm ledm.c, run as root in a console and it will even work when X is running.

Example command lines:

  • ledm -c -M100 -n show CPU usage, update every 100 miliseconds, do not count nice CPU time.
  • ledm -m -M500 show memory usage, update every 0.5s.
  • ledm -d kill an already running ledm

There is also an rc-script, which works at least with SuSE 8.2. As root, execute:

cp where/you/downloaded/it/rcledm /etc/init.d/ledm
ln -s ../../etc/init.d/ledm /usr/sbin/rcledm
insserv /etc/init.d/ledm
to install it and let it run at boot time.

Copyright © 2025 Jamma Tino Schwarze