grep "model name" /proc/cpuinfoForum: Other Help Topics Topic: grep "model name" /proc/cpuinfo started by: Patrick Posted by Patrick on Oct. 17 2004,17:23
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) Posted by ke4nt1 on Oct. 17 2004,18:22
You could apt-get a dockapp like wmbutton, then program one of thebutton options to open a shell and run the "cat /proc/pci" command . 73 ke4nt Posted by Patrick on Oct. 17 2004,19:32
thnx man.I nowonly have to figure out how to: xterm & cat /proc/pci (in one line) Posted by somerville32@hotmail.com on Oct. 18 2004,01:09
Couldn't you just get it to open an editor instead (Ie. Ted or dillo)?
Posted by Patrick on Oct. 20 2004,11:42
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) |