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 TouchToneTommy 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. theSeeker03

    Monitoring processes.

    I use ps command to manually make sure that my processes are running. But how can I automate it? Ideally I'd like to be sent an email, or some other flag, when one of my processes stops running.
  2. theSeeker03

    Sendmail: sendinga simple email

    Can anyone give me example of sending a short and simple email from UNIX command line using sendmail? Is sendmail useed like that?
  3. theSeeker03

    Given: # of seconds , need: date!

    Hello, I am given the number of seconds since the Epoch (12:00AM, jan 1, 1970). I need the current date and time. Is there a function that already does that?
  4. theSeeker03

    Passing variable to Java from Perl using STDIN

    Is there a way to pass a variable from Perl script to a Java program, so that Java reads it using STDIN? I can do it as command line argument, but I'd like to know how to do it through STDIN.
  5. theSeeker03

    UNIX system variables

    How can read a value of a UNIX system variable? if i could see just one example ... thanks
  6. theSeeker03

    PROBLEM in working with 2-dimensional array

    I am reading pipe-delimited data, line by line, from file INUSERS and storing it in a 2-dimensional array. However, when I print out the results, only the data for the last line of the file is being printed. AND it is being printed as many times as there are lines present in the input file! How...
  7. theSeeker03

    easy substitute question

    ok, for some reason I could not find this example in O'Reily book. I want to substitute every string of "==" to be "|", in $_ so I say: s/==/|/; but that only substitutes the first occurence of "==", not all of them. How do you substitute all of them?
  8. theSeeker03

    Active Directory: Activating the users.

    After loaded in my users from an LDIF file, the only way I know to activate them is one user at a time. What if you have like 10k new users? Is there a way to activate them all at once?
  9. theSeeker03

    Reading in array of hashes

    I have a tab delimited file that I want to read in, such that each line is a hash and the entire file is an array of the hashes. To test it, I am printing a CityName. What's wrong with this picture?: my @arrayOfContacts; my $numOfContacts =0; while (<INCONT>){ chomp($_)...
  10. theSeeker03

    Is there a built-in function to SEARCH a sorted array?

    like, if I have a sorted array of strings and I want to know if string &quot;hi&quot; is in it. I could obviously just loop through every cell, but that would not be time effecient. Is there a built-in function that searches for a value and takes advantage of the fact that array is sorted?
  11. theSeeker03

    What order(N) is the built in function SORT?

    Does the built-in function 'sort' perform the sort in order N^2 or NLog(N), where N is the number of items sorted. i'd expect it to be Nlog(N), but I want to be sure. Thanks.

Part and Inventory Search

Back
Top