[luau] hardware stats command

Rick Chavez chavez at hawaii.rr.com
Thu Apr 18 01:14:30 PDT 2002


     tput sgr0

has always worked for me in an xterm window regardless of which kind of Unix I
was using.  It's been so long that I forgot what it's doing, but it's never
failed me so far.

(Note: that's a zero in the command, not an "oh")

-Rick

cpaul at telemetrybox.org wrote:

> `reset` actually does not 'reset' the terminal all the time. :)
>
> On Wed, Apr 17, 2002 at 09:41:40PM -0500, MonMotha wrote:
> > or type "reset" and hit enter :)
> >
> > --MonMotha
> >
> > cpaul at telemetrybox.org wrote:
> > >On Wed, Apr 17, 2002 at 04:03:14PM -1000, Jeffrey Wong wrote:
> > >
> > >>The easiest way is to look in /proc. Most of the files there can be read
> > >>with cat and gives you alot of info.  /proc/cpuinfo will generally give
> > >>you the processor type and speed.  /proc/meminfo has a breakdown of memory
> > >>usage.  One word of warning, not everything in /proc is in ascii format
> > >>and may screw up your terminal if you look at it and the file command does
> > >>not work correctly with /proc.  The main ones to watch out for are IIRC
> > >>/proc/kcore and /proc/kmsg.
> > >>
> > >
> > >On the same token - if you ever boggle your terminal by cat'ing a binary
> > >file, just do a `cat /proc/kcore|more`, and keep paging until your terminal
> > >is reset.




More information about the LUAU mailing list