From owner-freebsd-questions Mon Jul 28 04:45:58 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id EAA24745 for questions-outgoing; Mon, 28 Jul 1997 04:45:58 -0700 (PDT) Received: from stcgate.statcan.ca (stcgate.statcan.ca [142.206.192.1]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id EAA24734 for ; Mon, 28 Jul 1997 04:45:50 -0700 (PDT) Received: (from root@localhost) by stcgate.statcan.ca (8.6.11/8.6.9) id HAA02979 for ; Mon, 28 Jul 1997 07:47:53 -0400 Received: from stcinet.statcan.ca(142.206.128.146) by stcgate via smap (V1.3) id sma002898; Mon Jul 28 11:47:06 1997 Received: from statcan.ca by statcan.ca (SMI-8.6/SMI-SVR4) id HAA18116; Mon, 28 Jul 1997 07:46:38 -0400 Date: Mon, 28 Jul 1997 07:44:14 -0400 (EDT) From: Mike Jeays X-Sender: jeays@austral To: questions@freebsd.org Subject: Crashed X-server Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Last night I managed to crash my X-server, by attempting to run Xpaint on a largish JPG file. Rather than driving in to work to telnet in and kill the server, I pressed the reset button, and kept my fingers crossed. It repaired the file system automatically, and everything seems to work so far - but I noticed that the "/" file system seems to be much more full than I remember, and the the result of an "ls -l /stand" looks peculiar - although I am not sure if it was always this way. Any clues, please? Is there a better way to handle X-server crashes on a machine where it is not easy to telnet in? Can one do somethin clever in crontab, to monitor if it is running properly, and kill it if not? /home/mike% d /stand total 39830 -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 -sh -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 bad144 -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 boot_crunch -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 cpio drwx------ 2 root wheel 512 May 27 07:34 etc -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 find -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 fsck -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 ft -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 gunzip -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 gzip drwxr-xr-x 2 root wheel 1024 May 27 07:34 help -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 ifconfig -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 mount_nfs -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 newfs -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 ppp -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 pwd -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 route -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 sh -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 slattach -rw-r--r-- 1 root wheel 454 Apr 5 02:27 symbols -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 sysinstall -r-xr-xr-x 19 root bin 1064960 Apr 5 02:23 zcat -------------------------------------------------------- /home/mike% df Filesystem 512-blocks Used Avail Capacity Mounted on /dev/wd1a 63550 54424 4042 93% / /dev/wd1s1f 2174046 981192 1018932 49% /usr /dev/wd1s1e 59454 3346 51352 6% /var /dev/wd0s1 827056 678976 148080 82% /dos /dev/wd1s2 874480 287568 586912 33% /dos2 procfs 8 8 0 100% /proc ---------------------------------------------------------