My system information program I coded for Linux a while ago. This works very well.

Posted: October 2, 2013. At: 2:47 PM. This was 4 years ago. Post ID: 6372

http://www.securitronlinux.com/files/sysinfo.kdevelop-1.0.tar.bz2. This is my system information program I coded for Linux. This gives a bit of information about your Linux system. Just download and unpack this tarball and type make to compile.

Here is some sample output.

13:21:02 ~/Downloads/sysinfo.kdevelop-1.0 [email protected] $ ./sysinfo 1
--System name - Linux 
--Nodename    - neo.deusexmachina 
--Release     - 3.9.5-301.fc19.x86_64 
--Version     - #1 SMP Tue Jun 11 19:39:38 UTC 2013 
--Machine     - x86_64

Here I am getting information about the CDROM drive I have.

13:24:57 ~/Downloads/sysinfo.kdevelop-1.0 [email protected] $ ./sysinfo 3
Cdrom drive information.
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:		sr0
drive speed:		125
drive # of slots:	1
Can close tray:		1
Can open tray:		1
Can lock tray:		1
Can change speed:	1
Can select disk:	0
Can read multisession:	1
Can read MCN:		1
Reports media changed:	1
Can play audio:		1
Can write CD-R:		1
Can write CD-RW:	1
Can read DVD:		1
Can write DVD-R:	1
Can write DVD-RAM:	1
Can read MRW:		0
Can write MRW:		0
Can write RAM:		1

Here I am getting information about the soundcard on a Debian 7.1 machine.

[email protected]:~/sysinfo.kdevelop-1.0$ ./sysinfo 4
		Sound Card information.
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xb4400000 irq 41
1
		SCSI device information.
Sorry, I cannot open: /proc/scsi/scsi.
Please check your permissions with
your supervisor. The feature may not
be compiled and\or enabled in your
kernel version. Or a scsi device, eg,
a USB drive may not be attached.

Check this program out for yourself and see what you think of it. Suggestions for improvements are welcome.

1 responses to “My system information program I coded for Linux a while ago. This works very well.

Leave a Reply