ich moechte auslesen wie lange es dauert bis eine Partition wieder ge-fsck(ed) wird.
Und genau diese beiden Zahlen haette ich auch gerne. Nun will ich aber kein tune2fs absetzen und die Ausgabe zerhacken.
Daher meine Frage, stehen diese Werte in irgendeiner Datei? Wenn ja, in welcher? Wenn nein, woher nimmt tune2fs diese?
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libext2fs.so.2", O_RDONLY) = 3
open("/lib/libcom_err.so.2", O_RDONLY) = 3
open("/lib/libblkid.so.1", O_RDONLY) = 3
open("/lib/libuuid.so.1", O_RDONLY) = 3
open("/lib/libe2p.so.2", O_RDONLY) = 3
open("/lib/libc.so.6", O_RDONLY) = 3
open("/lib/libpthread.so.0", O_RDONLY) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY) = 3
open("/etc/blkid.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/blkid.tab", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/dev/sda2", O_RDONLY) = 3
open("/proc/swaps", O_RDONLY) = 4
open("/proc/mounts", O_RDONLY) = 4
open("/.ismount-test-file", O_RDWR|O_CREAT, 0600) = 5
open("/dev/sda2", O_RDONLY|O_EXCL) = -1 EBUSY (Device or resource busy)
open("/etc/localtime", O_RDONLY) = 4
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 4
open("/etc/nsswitch.conf", O_RDONLY) = 4
open("/etc/ld.so.cache", O_RDONLY) = 4
open("/lib/libnss_compat.so.2", O_RDONLY) = 4
open("/lib/libnsl.so.1", O_RDONLY) = 4
open("/etc/ld.so.cache", O_RDONLY) = 4
open("/lib/libnss_nis.so.2", O_RDONLY) = 4
open("/lib/libnss_files.so.2", O_RDONLY) = 4
open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 4
open("/etc/group", O_RDONLY|O_CLOEXEC) = 4
davon sind das meiste shared libs und in den anderen finde ich nichts.
OS ist Debian, versteht sich.
Bin fuer jede Hilfe dankbar.