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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by max1x

  1. max1x

    Dynamic charts (graphs) - what's the best approach?

    Thanks Chris. I was wondering what is the recommended approach to create "Graphs/Charts". By Dynamic, I wanted to option to showcase based on different options i.e Bar, Pie, Line...etc
  2. max1x

    Create Dynamic charts with PHP and MySQL

    Thanks Chris. I was wondering what is the recommended approach to create "Graphs/Charts". By Dynamic, I wanted to option to showcase based on different options i.e Bar, Pie, Line...etc
  3. max1x

    Dynamic charts (graphs) - what's the best approach?

    I am running Perl and MySQL and want to create dynamic charts (All different types) and was wondering what do you recommend.
  4. max1x

    Create Dynamic charts with PHP and MySQL

    I am running PHP and MySQL and want to create dynamic charts (All different types) and was wondering what do you recommend.
  5. max1x

    print and display values

    Thanks prex1. Made a few tweaks and got it to work.
  6. max1x

    print and display values

    I have not coded for while, so pardon the rustiness. I have two sets of values being pulled from a DB. 1 cat1 2 cat1 3 cat2 4 cat3 5 cat3 6 cat1 7 cat1 What I need to do is key off of 2nd filed and associate all values fron field 1. The number of values when reach a pre-defined limit should...
  7. max1x

    SSH with file handle

    You're printing the data, but not storing it.
  8. max1x

    Quotes in a TSM Perl command

    1. You should chomp the data coming from CLI. 2. How do you know the ipaddress/port are in the correct format?
  9. max1x

    bash shell function commands not executing ..?

    print $CON first to see if it's really being passed. This applies to any sub you have. restart_con() { # below echo's the variable passed in successfully echo $CON #cd /nfs/informatica_pwx/logs/$CON/condenser/ #rm -rf nohup.out #nohup pwxccl cs=pwxccl_$CON.cfg...
  10. max1x

    Net:::FTP interrupted

    Why chop vs chomp? $dateStamp = `/bin/date +"%w%a"`; chop ($dateStamp); You can explore the following two options of Net::Ftp to get some ideas Timeout - Set a timeout value (defaults to 120) Debug - debug level (see the debug method in Net::Cmd)
  11. max1x

    Search and Replace email address within text file on command line

    perl -pe "s/--d--/\"email@domain.com\"/g";
  12. max1x

    Trying to use DBI::SQLite

    add some debug commands. Is DBI:SQLite part of DBI or do you have to instantiate it other than use DBI? use warnings; Do you have any special characters in "$pass"? $dbh=DBI->connect($dsn, $user, $pass) or die "print $!\";
  13. max1x

    how to invoke external progrmme and capture its output

    Not really clear on your objective, so a shot in the dark $pathToMemDisp = "/where/is/it"; chomp "$line"; print "$line"; $command = `$pathToMemDisp/mem_disp \"$line 80\"`;
  14. max1x

    Perl script executing command with options and args

    CPAN: http://www.cpan.org/, You can download perl modules from here. I don't remember if Getopt::Long is a core module that comes with Perl. If not you can download and install it via CPAN. You don't need the module to do what you have to do, but it will make it easier.
  15. max1x

    Perl script executing command with options and args

    You can use several modules from CPAN and get this going. Not going to be easy if you have never worked w/ Perl before. use Getopt::Long; GetOptions("optionName1"=>\$pointerToOptionName1, "optionName2"=>\$pointerToOptionName2, ); if ($pointerToOptionName1) { .... }

Part and Inventory Search

Back
Top