On Mon, 13 Mar 2000,  John Joseph Morgan wrote about,  hozed top:
> Hello,
> I get the following when I run top at the command line:
> bad data in /var/run/utmp(null)
> I am running redhat 6.1 with kernel 2.2.12.
> Also this is interesting, I am writing this mail in vm under emacs, and when I 
>invoke top via the shell-command I get the following:
> Trespassers will be shot.  Survivors will be prosecuted.
> top: ioctl() failed: Not a typewriter
> 
> the first line comes from the fortune command.
> How can I repair my top command?

Try deleting /var/run/utmp (if it exsists) then do;
touch /var/run/utmp

I think the error message means /var/run/utmp no such file or directory, or
permissions are not correct.

Of course i could be wrong and the problem is being caused by something
entirly different.

> Thanks,
> John

-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to