Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: grep "model name" /proc/cpuinfo, cpu speed read out< Next Oldest | Next Newest >
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Oct. 17 2004,17:23 QUOTE

I use this command to display the cpu speed of the PC that i work on with DSL.  I wonder if it is difficult to add the result of this command to the docking app's (one of them or a new one?) So i always know what kind of PC a am working on. (i boot DSL from a usb-stick on various PC's).

Or maybe on of you guys know a dock-application (from the debian depository?) that i can use? (NOT one that has to be compiled/make install)


--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Oct. 17 2004,18:22 QUOTE

You could apt-get a dockapp like wmbutton, then program one of the
button options to open a shell and run the "cat /proc/pci" command .

73
ke4nt
Back to top
Profile PM 
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Oct. 17 2004,19:32 QUOTE

thnx man.

I nowonly have to figure out how to:

xterm & cat /proc/pci (in one line)


--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
somerville32@hotmail.com Offline





Group: Members
Posts: 117
Joined: Oct. 2004
Posted: Oct. 18 2004,01:09 QUOTE

Couldn't you just get it to open an editor instead (Ie. Ted or dillo)?

--------------
And then there was linux...
Back to top
Profile PM AOL MSN YIM 
Patrick Offline





Group: Members
Posts: 333
Joined: Sep. 2004
Posted: Oct. 20 2004,11:42 QUOTE

This is what i did:

I put this line in .xinitrc:


/cdrom/keep/info &

(this is what info looks like:

#!/bin/sh
# Original author:  patrick
#
# Systeem info (info documents cat-together in 1 file)
#                  
#
grep "model name" /proc/cpuinfo > ~/systeeminfo.txt
cat /proc/version >> ~/systeeminfo.txt
cat /proc/pci >> ~/systeeminfo.txt
cat /etc/sysconfig/desktop >> ~/systeeminfo.txt
cat /etc/sysconfig/floppy >> ~/systeeminfo.txt
cat /etc/sysconfig/frugal >> ~/systeeminfo.txt
cat /etc/sysconfig/i18n >> ~/systeeminfo.txt
cat /etc/sysconfig/keyboard >> ~/systeeminfo.txt
cat /etc/sysconfig/knoppix >> ~/systeeminfo.txt
cat /etc/sysconfig/mouse >> ~/systeeminfo.txt
cat /etc/sysconfig/mydsl.installed >> ~/systeeminfo.txt
cat /etc/sysconfig/netcard >> ~/systeeminfo.txt
cat /etc/sysconfig/progress >> ~/systeeminfo.txt
cat /etc/sysconfig/sound >> ~/systeeminfo.txt
cat /etc/sysconfig/writeable >> ~/systeeminfo.txt
cat /etc/sysconfig/xserver >> ~/systeeminfo.txt
cat /proc/modules >> ~/systeeminfo.txt
cat /proc/meminfo >> ~/systeeminfo.txt
cat /proc/ioports >> ~/systeeminfo.txt
cat /proc/interrupts >> ~/systeeminfo.txt

Now whenever i need to know whats inside the PC that i am working on (DSL from a USB-stick) i open up systeeminfo.txt (with for instance scite or Ted)


--------------
Usb-stick sandisk cruzer titanium 512 Mb:
DSL 2.3 (final)
Firefox (Mozilla 1.06)
WM -biff  -cdplay -clockmon -smixer -usic -top -net -biff -ifinfo -cpuload
gps vnc LinNeighborhood (samba) QtParted bdc
xawtv imagemagick xplanet
Back to top
Profile PM WEB 
4 replies since Oct. 17 2004,17:23 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: grep "model name" /proc/cpuinfo

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code