Programming
Sometimes when scripting you need to create a never ending loop while your script either waits for some other task to complete or repeats a task over and over again. There are two ways people tend to go about creating loops in Powershell, but one of them will eventually leave your script in a heap.
Here is a basic php script to read the contents of “text” files in a directory. <form> <center> <div> IP’s of all clients</br></br> <?php foreach (glob(“workstations/*”) as $file) { $file_handle = fopen($file, “r”); while (!feof($file_handle)) { $line = fgets($file_handle); echo $line; } fclose($file_handle); echo ‘<br>’; } ?> </div> </center> </form>
balance.pl is used when mdisk drive groups get off balanced in a storage pool. At this time, IBM does not have a way to automatically balance drive groups. This can really cause an issue as you add more drive chassis’ to your V7000. Over time the earlier created mdisk groups house more data than the
When trying to reload cpan I was also getting an error about “………01mailrc.txt.gz” Started cspan At the promt cpan{1}> type: reload index There was a notification that there is a newer version of cpan At the promt cpan{1}> type: install CPAN The new version of CPAN was downloaded and installed At the promt cpan{1}> type: reload
cpan reload error Finding A Perl Module’s Path Running IBM’s balance.pl from SVCTools on Centos/Red Hat
Older Posts››
‹‹Newer Posts