Archive for March 2010

Frissítendő csomagok listája

Szerverek felügyeleténél elengedhetetlen, hogy a rendszerünk naprakész legyen. Napi állapotriportjainkba a következő módon tudjuk beszúrni a telepítendő frissítések listáját:
apt-get update
apt-get --just-print -u upgrade | grep "^Inst " | awk '{print $2}' | awk '{ printf "%s ", $0 }'

A fenti script .deb csomagokon alapuló Linux rendszereken használható pl.: Debian, Ubuntu.

Forrás:
Script: check for new security updates with cron and mail :
http://blog.brachium-system.net/archives/9-Script-check-for-new-security-updates-with-cron-and-mail.html