[luau] hardware stats command

cpaul at telemetrybox.org cpaul at telemetrybox.org
Wed Apr 17 19:06:32 PDT 2002


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