On Friday 22 July 2005 11:43, James McCarthy wrote:
> Whats the command for finding the processor speed & RAM size?
A slightly interesting alternative to the raw access to proc info that has
been suggested is "infobash" from http://rebelhomicide.demon.nl/scripts/.
It's a shell script (comes installed on Kanotix and now on Knoppix also I
believe) which produces output like:
CPU[Mobile Intel Pentium 4 - M clocked at 1196.519 Mhz] Kernel[Linux
2.6.11-kanotix-11 i686] Up[-9days-] Mem[-749.008/756.668MB-]
HDD[-40GB(82%used)-] Procs[-89-] Client[Shell]
or with "infobash -v" or "infobash -v2" you can get even more:
Host/Kernel/OS "Kanotix" running Linux 2.6.11-kanotix-11 i686 [ KANOTIX
2005-03 ]
CPU Info Mobile Intel Pentium 4 - M clocked at [1196.519 Mhz] 2369.12
Bogomips
Videocard ATI Technologies Inc Radeon R250 Lf [Radeon Mobility 9000 M9]
(rev 01) XFree86 4.3.0.1 [ 1600x1200 @60hz ]
Network cards 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78), at port:
ec80
Texas Instruments ACX 111 54Mbps Wireless Interface
Processes 89 | Uptime 9days | Memory 748.43/756.668MB | HDD IC25N040ATCS05-0
Size 40GB (82%used) | Infobash v2.00b15
With the final beauty that it works well with irc clients (so you can do e.g.
"/exec -o infobash" to put the output to an irc channel).
Now I'm not sure how well this script works across all distros, but I do know
that it's author is always happy to hear about new ways people have found to
"break" it.
Perhaps this is of use to someone.
Niall
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!