Thank you for visiting this site, this site has been moved to Fibrevillage.com, More articles, tips for you !
Perl is a powerful script language, not just do simple stuff, but also can do complex stuff too. Lots of people have trouble to figure out parent process, child process, socket communication with client and how to zombie a dead child process, etc.. Here is my example have everything in it. Defunct process free. perl TCP server daemon example (using socket module) If you have millions urls to save for later search, probably you have to fight with database performance simply because urls are saved as text or long char attribute into database, thus, hard to index. This article will show you the mapping from physical HBA card to lunsCheck and list luns attached to HBA in RHEL6 Have you tried to enable snmptt mail function? if yes, probably quite often you have to fight with number of trap e-mails from your devices. The reason is that some devices can generate a lot trap messages in a short time, your mail box can easily get 'SPAMED' by these trap messages, especially you are managing a large number of devices.How to manage snmptrapd mails I'm not doing something brand new here. It's a FC tool set I've been using for many years, very useful, just updated to reflect RHEL6 latest kernel. Tested on kernel2.6.32-358.14, using Emulex and Qlogic cards. Should be good for other types of HBA too, just add vendor info to ls_fc_luns. Sysfs Fibre Channel Tools(updated for RHEL6) Get in TouchIf you have any questions, tips, or recommendations, be sure to comment or contact me. Thanks! | My recent pick Sysfs Fibre Channel tools fine in core(fincore) in c load or unload a file from OS cache Bash tips: echo output with colour Shell: variable lost after loop How to manage snmptrapd mails IPMITOOL useful examples how to know a file or a process buffered in OS cache Device-Mapper Multipath configuration on linux how to install, check, upgrade and remove HBA card in linux(RHEL6) Check and list luns attached to HBA in RHEL6 PostgreSQL database buffer cache and OS cache SQL slow in postgreSQL function perl TCP server daemon example (using socket module) Store urls into database for later search |