Other Help Topics :: grep "model name" /proc/cpuinfo
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)
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
thnx man.
I nowonly have to figure out how to:
xterm & cat /proc/pci (in one line)
Couldn't you just get it to open an editor instead (Ie. Ted or dillo)?
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)
Next Page...
original here.