/proc/diskstats and xinetd services
Hi All:
/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? Thanks, VHCG |
Quote:
Quote:
Quote:
BTW on LQ it's customary to put questions of a different topic in a different thread. While it may not look that way at first it really is more efficient. |
Thank you, unSpawn.
I have no plans to use telnet. It was simply a convenient example for xinetd. VHCG |
All times are GMT -5. The time now is 12:32 PM. |