Posted: . At: 7:47 PM. This was 5 years ago. Post ID: 6372
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.

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

https://github.com/john302/sysinfo. This is my system information program I coded for Linux. This gives a bit of information about your Linux system. Just check out the source and type make to compile.

Here is some sample output.

13:21:02 ~/Downloads/sysinfo.kdevelop-1.0 homer@neo $ ./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 homer@neo $ ./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.

homer@neo:~/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 thought on “My system information program I coded for Linux a while ago. This works very well.”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.