/proc/diskstats and xinetd services
/proc/diskstats (on FC7 and RHEL5)
I've been trying to determine a quick and easy way to see the number of disks in a system. I've looked in /proc/diskstats on several systems and see a pretty consistent pattern.
Ie, on my single drive system, there is an entry for hda. On my dual drive system, there are entries for hda and hdb (hdb is the master device on the 2nd IDE controller). Is this a good way to get this info or is there something better?
xinetd (on FC7 and RHEL5)
I would like to add (for example, telnetd) to xinetd's list of managed services. On my old RH8 server /etc/xinetd.d is full of services like telnet, tftp, etc. These are all present with a default of "disabled = yes". On my FC7 and RHEL5 boxes, the services are not there at all. I could use the files from the RH8 boxes as templates, but something tells me that there is a better way?
Last edited by vhcg; 03-13-2008 at 10:51 AM.