Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. moretips

    Sending alert when file size is over 80% out of the space

    thanks ! goBoating I will work on this script.
  2. moretips

    Sending alert when file size is over 80% out of the space

    ...only give me the size of the whole directory. However onstat -d didn't give the % of the usage, so i have to divide them. But the script that i wrote give me the wrong answer : {/}*100 I think that is something wrong with my column position. i am quite blur with the spilt function. :-(
  3. moretips

    Sending alert when file size is over 80% out of the space

    ...Instead, i use this" onstat -d" command. Below is part of my script: onstat -d | grep "\/dev\/my_file_name" | space={$6/$5}*100 echo "$space" ---------------- onstat -d command will get this result ...
  4. moretips

    Sending alert when file size is over 80% out of the space

    Hardy Merrill : thanks for ur help ! Let me explain my problem. I wish to write a script which will check my file size. IF the file size is more than 80% of the space , it will send me alert by mail. For example, directory A has 500MB, if the space has less than 20% out of 500MB, it should...
  5. moretips

    Sending alert when file size is over 80% out of the space

    I wish to have a script which will check some file size, if the file size is over 80% out of the space, it will send alert to me through the email. Can anyone give some idea how to do it ? thanks for advance !
  6. moretips

    Extract some file n move the files

    Thanks goBoating .... i will work on ur script.
  7. moretips

    Extract some file n move the files

    ...the p.. file } # and date of the p*** file close (CF)...
  8. moretips

    Extract some file n move the files

    i am wonder why no body answer my question ...... am my question too difficult or not clear ..
  9. moretips

    Extract some file n move the files

    sorry ... one more quetions.. I have searched this forum for how to send attachement , but couldn't found. May i know, after the operation 1 n 2 above, how to send that file, D to somebody. thanks a lot..................................................................
  10. moretips

    Extract some file n move the files

    anybody help ......... :-(
  11. moretips

    Extract some file n move the files

    #!/usr/bin/perl opendir (PU, ".") || die "serious dainbramage: $!"; open(OUTPUTFILE,">list.txt") || die "Failed to open OUTPUTFILE, $!\n&quot...
  12. moretips

    How to delete quote (") from a text file ?

    hi !!!! sorry it's my mistake..... actually above 2 method is working. B'cos of i use the same file name, it overwrite the file. After i used different file names for these 2 .txt, it is working !!! goBoating n tanderso, Thank you very much !!!!!!!
  13. moretips

    How to delete quote (") from a text file ?

    Thanks for both of u !!!! i tried to use above 2 method, the result still the same, that's .. my client.txt become an empty file. Is it b'cos of the "|" between the string ? or some other reason. Regards, Kenix
  14. moretips

    How to delete quote (") from a text file ?

    Hi, I with to delete quote (&quot;) in a text file like below : 1243| &quot;ABC&quot; | test | I tried to use s///, tr /// but failed to do it. Below is my script: #usr/bin/perl open(INFILE, &quot;<client.txt&quot;) || die &quot;can't open file; while (<INFILE> ) { open(OUTFILE...
  15. moretips

    Sorting Table Dynamically

    flatbloke , a million thanks for u !!!!!!!! It works !!! hmm... i got some questions.. This array.sort method is much more simple than bubble sort method, but why a lot of tutorial or forum always use this method ??? What i know is the fastest sorting method is using either shell sort or...
  16. moretips

    Sorting Table Dynamically

    Thanks flatbloke !!! hmm...... but actually i need a Array.sort method instead of the bubble sort method. I have to call the function Compare several times, but it seem like fail to do it. I dunno what's wrong with the script. Can u pls show me. Thanks !!!!!!!
  17. moretips

    Sorting Table Dynamically

    Can any one help me !!!!!!!!!!!!!!!!!!!!!
  18. moretips

    Hi ! I am new to Unix, so i need ur help ... thanks

    thanks for all ur help !!!!!!!1 The script is work now.
  19. moretips

    Sorting Table Dynamically

    I wish to sort a table dynamically using array.sort method. Below is my code, but it didn't work, can any one give help ??? --------------- Script ---------------------- <SCRIPT LANGUAGE=&quot;JavaScript&quot;><!--...
  20. moretips

    Suggestion of n dimension Array Sort ?

    Hi ! i have a table which include date, text, number in different column. Can any one sugget any sort function which is faster in term of the speed ? (no bubble sort pls ....) Actually i intend to use the Array.sort method, can any one give me a example or a working script which use this...

Part and Inventory Search

Back
Top