From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1ecae923698d43a0,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-01-20 17:52:57 PST Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!news.tamu.edu!sematech.tamu.edu!andrewd From: andrewd@sematech.tamu.edu (Andrew Duchowski) Newsgroups: comp.sys.dec Subject: swap error, swap devices, swap status? Date: 20 Jan 1994 19:16:14 GMT Organization: sematech.tamu.edu Distribution: usa Message-ID: <2hml9u$gif@news.tamu.edu> NNTP-Posting-Host: sematech.tamu.edu First, let me thank all those that replied to my previous post regarding swap errors. In particular, thanks to teneyckl@sdsc.edu and janes@signal.dra.hmg.gb for pointing out uerf and rzdisk. To provide a short summary, use rzdisk to check for bad blocks on a scsi drive and also to format if necessary. uerf provides a log of system-wide errors. To attempt to fix my swap error problems, I added in a smaller 80M drive to take over the swap job. For some reason, after I'd put in the drive, MAKEDEV'd it, rzdisk'd it, even newfs'd it, swapon wouldn't let me add it (rz4c) as a swap device. It kept saying no such device, which seems odd. Why? What I ended up doing was changing my kernel config file to have the following: config vmunix root on rz0a swap on rz4c dumps on rz3c where rz3c was the apparently faulty drive which I used for swap space before. Btw, when I did a doconfig, it said that there's an orphaned dump device. What exactly does that mean? The system now seems to be running ok, I can see the swap drive's light come flashing as I start up many processes. Previously, I'm sure I'd be getting swap errors by now. Which brings me to my question: How do I get a look at swap statistics? That is, how can I check to see what's going on? For example, I monitor disk space by checking 'df' frequently. The swap drive is not mounted normally (since the swap device is not allowed to be unmounted), so I cannot check the usage of the swap device this way. Except for looking at the little light, I can't actually tell how the swap drive is doing (it's quiet, too). I'd like to get a look at at least stats equivalent to doing a df on the swap device. Any help, suggestions, explanations would be greatly appreciated. Thank you. -- -- Andrew Duchowski | Nothing unreal exists. -- -- | -- -- Texas A&M University | -- Kiri-Kin-Tha's first law -- -- andrewd@cs.tamu.edu (NeXTmail ok) | of metaphysics --