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 Mike Lewis 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: *

  • Users: kudithipudi
  • Order by date
  1. kudithipudi

    Samba on RH7.2 connecting to Win2Kpro

    Did you set the "browseable = Yes" option in the share config? I know that you can browse a share by default, but it is worth trying. - V.
  2. kudithipudi

    Running External Command - Help with exit codes

    Rosenk, I am using your suggestion in my script to fork out a process and run the externel command from that process. The program runs fine, but it is not killing the child after 5 seconds as expected. I running this snippet under Windows 2000. Can you please take a look at my code and let me...
  3. kudithipudi

    Scheduling

    skiflyer - I would recommend running it as AT/CRON job. Building scheduling into your script will just make it more complicated and possibly error prone. Why not use the tools that are built specifically for this when you can? :) - V.
  4. kudithipudi

    HOW TO - Saving files without closing filehandles

    Hello Guys, During the process of running my scripts/programs I usually open a bunch of file handles to write or read data to. I usually open the filehandle for log files at the starting of the program and close them at the end. Sometimes the script may error out or die unexpectadly. As a...
  5. kudithipudi

    Running External Command - Help with exit codes

    Thanks rosenk.. Exactly what I was looking for :) - V.
  6. kudithipudi

    Running External Command - Help with exit codes

    But the script hangs even when run locally. i.e. I am running the script on the server itself without the SSH part. Catching the exit code is a great idea, but if the command I run is not even releasing the script to go to the next step, I cannot get them. Thanks for the idea though. - V.
  7. kudithipudi

    Running External Command - Help with exit codes

    Hello Guys, I am trying to run a command from perl using the backticks (``) as such $COMMANDOUTPUT = `plink.exe -ssh -pw password root\@$FQDNSERVER \"service jakartaservice start\"`; This command conntects to a remote server via SSH and then executes a command (service...
  8. kudithipudi

    How to Trim Data (IP Address)?

    tlbroadbent - Thanks for help. Exactly what I was looking for. - V.
  9. kudithipudi

    High Number of Established Connections

    Please forgive me if I am posting this question in the wrong forum. I am having a strange problem with one of my servers. We use an in-house application at work which compromises of a bunch of agents installed on workstations connecting to a server through TCP port 8080 via HTTP calls. I am...
  10. kudithipudi

    How to Trim Data (IP Address)?

    Carp - Thanks for the answert. But I am using SQL 2000 :(, and the query you have provided does not seem to run in it. - V.
  11. kudithipudi

    How to Trim Data (IP Address)?

    Hello Guys, Have a question about trimming data. I have a column in a table with IP addresses as such IP_Address 192.168.2.51 192.168.4.53 192.168.2.50 192.168.2.49 I want to take this data, remove the fourth octect and inset the new string into another table. Is there a way to do this in...
  12. kudithipudi

    my ping function not detecting live hosts!!!

    Something I noticed when I used Net::Ping was that Unix(linux) and Windows machines respond differently. As Justice41 said, it may be a difference between echo and ICMP. I worked around this by pinging the machine with echo first and then ICMP. And if both of them fail, I marked them as down...
  13. kudithipudi

    Database Update

    Am not sure if this is the correct answer for your question. But I think you can bring SQL server to a single user mode by starting it with a "-m" switch. - V.
  14. kudithipudi

    Placing results of "ls" command into an array

    rosenk - You are correct. Thanks for pointing the mistake.
  15. kudithipudi

    comparing filenames in directory with filenames in a file

    The following functions may help you # This function opens the directory for reading opendir(DIR,"$YOUR_DIR") # This function should give you all the files in the directory @ListOfFile = readdir DIR; #This function closes the directory closedir(DATA); You can read the list of files...
  16. kudithipudi

    Placing results of "ls" command into an array

    I just tested it and worked fine for me. What is the error you are getting? - V.
  17. kudithipudi

    Placing results of "ls" command into an array

    bitz2000 - Try @output = system("ls *.txt -lt"); . Then you can do something with each line.. - V.
  18. kudithipudi

    Help with code snippet..

    My bad :).. I didn't notice that the directories don't even exist!! :). Think my code works fine. But would appreciate and input on making it better :). Thanks much. - V.
  19. kudithipudi

    mail log input and output ?

    Natalie30 - How about posting a snippet of what your input looks like? - V.
  20. kudithipudi

    Help with code snippet..

    Hello Guys, Am staring at this peace of code for 2 hours now and have finally given up #!/usr/bin/perl use strict; my $infile = 'machines.txt'; my $outfile = 'results.txt'; my @machines; my ($machine, $CaptureSize, $FileSize); my $datadir = '/home/migrate/data'...

Part and Inventory Search

Back
Top