[BNS]
Knowledge Base
| Dokument
erstellt
Thomas vom Braucke/Braucke/DE
Mon 05/10/2004 12:12 AM
Änderung
Thomas vom Braucke/Braucke/DE
Thu 03/12/2026 08:50 AM
verantwortlich
Thomas vom Braucke/Braucke/DE
Status
abgeschlossen
Wichtigkeit
B
Stand
Sat 05/15/2004 05:35 PM
Fri 21.05.04 17:26
Hard- & Software
K11719
Listung im Hilfe-Index
snapshot.sh
Inventory_UNIX
Inventory_Linux
Betriebssysteme
UNIX
Utils\Adminscripte
snapshot.sh - Inventarisierung, SystemAnalyse per Braucke Ressourcen Historie
filebrowserpro:
/fire02/var/opt/admin/sh/
.
Ziel
Inventory-Tool
s. a. Ressourcen-Historie\Inventarisierung:
UNIX-Inventory
: manuell oder Cronjob für autom. wiederholtes Inventory, Systemhistorie
[K11641
]
snapshot.sh
snapshot.sh
siehe jeweils aktuelles Build des ShellScriptes:
snapshot.sh
[
]
Nachfolger / konsolidierte Funktionen
OSR Agent for Linux
[K13036, 2026-Mar-02
]
Ausführung
ggf.:
bash snapshot.sh
oder
sudo bash snapshot.sh
ggf. so manuell herunter laden:
cd /var/tmp
(das Verzeichnis des Inventories; s. a. Rückmeldung der .sh)
sudo chmod a+rc *.usnapshot
sudo chmod -c a+r *.usnapshot
(2017-Dec-18 19:18)
(lesbar, ausführbar für alle)
{
http://linuxwiki.de/chmod
}
Hinweise Development
.usnapshot wird seit BNS Ressourcen-Historie (b597, 2004-May-10
) unterstützt.
Relevante LS Funktionen für evtl. Änderungen an dem sh-Scipten sind
BNSRH-InventoryPollingNoUI\sectionAsSeperateItems
BNSRH-InventoryPollingNoUI\isSectionToImportAsComponentDoc
...
ggf. weiteres ergänzen
s.a. Linux allgemein\Dokumentation: Linux System Info - wichtige, sinnvolle Kommandos
[K11721, 2004-May-10
]
s.a. Linux - allgemein\Dokumentation: Linux System Administrator's Guide (+, sehr gut)
[K11714, 2004-May-09
]
:
cat /etc/mtab
cat /etc/shells
Kapitel 4.7. The /proc filesystem:
cat /proc/devices
cat /proc/meminfo
cat /porc/uptime (evtl. etwas simperler als der befehl uptime)
fdisk -l
As a safety precaution, it is a good idea to
write down the partition table
on a piece of paper, so that if it ever
corrupts you don't have to lose all your files. (A bad partition table can be fixed with fdisk). The relevant
information is given by the fdisk -l command:
$ fdisk -l /dev/hda
badblock ??
dumpe2fs
©
1989 -
2026
Braucke NetServices, Thomas vom Braucke, Bielefeld, DE |
Impressum
,
Datenschutzerklärung
,
Kontakt