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

  • Users: peterneve
  • Content: Threads
  • Order by date
  1. peterneve

    Uptime lying? Phantom reboot?

    I've just had a server which did something a bit strange. The monitoring software flagged it as down, but when I logged in, all of the proccesses were up still. The server didn't reboot, but the uptime utility shows about 30 minutes. There is an empty boot log and many linux processes have been...
  2. peterneve

    Using a value in the data base as a variable.

    Hi All, I have posted a couple of times but in the wrong forum so hopefully its 3rd time lucky!! I have an oracle 8i database that i would like to query and update. There is a table which contains three frequencies which also reference the other frequncies and other arbitrary data. FREQ...
  3. peterneve

    32bit compatibilty on 64bit whitebox linux

    Hi All, I am trying to find an rpm that will give 32 bit compatibilty to my 64bit whitebox Linux. On the vmware website it said for Debian or Ubuntu OS the rpm ia32-libs should work. Does anyone know what the whitebox equivalent is? thanks for you help Pete
  4. peterneve

    Count rows in every table

    Hi, I'm trying to do a simple query, which must be doable, but I can't get my head around it. I just want a query to count the number of rows in every table in a schema, with the output looking something like table_name | row count tablename1 | 213 tablename2 | 0 tablename3 | 50 etc... Any ideas
  5. peterneve

    error with vmware on linux whitebox

    Hi All, I have installed linux whitebox on a server and now wish to install EMC vmware. I have unpacked the tarball and excuted the rpm, once i did this i ran the vmware-config.pl, i then got asked for my serial number, once i entered this i got the following error; error while loading shared...
  6. peterneve

    tail and grep together

    I need to write a simple script that reads a continuous live log file, and if I find a particular string, write the next line to another log file. I've tried vaiour tail -f | grep combinations. This should be simple, but I can't get it so work. Any ideas?
  7. peterneve

    Send datagram over UDP in shell

    Is there a simple way to send some data over UDP from a shell script for UNIX? Thanks in advance!
  8. peterneve

    Upgrading CPUs and licenses

    Hi, I have a couple of servers that are going to have extra CPU's installed. We have bought extra licenses for account for this, but does anyone know how you go about applying the license when upgrading the CPU's? Thanks, Pete
  9. peterneve

    pcAnywhere file transfers

    Hi, I am looking into ways of automatically downloading files form a machine only accessible through pcAnywhere. Does anyone know if this can be done through something like a vbscript? Thanks!
  10. peterneve

    Simple query on two columns

    Hi guys, This should be a really simple problem. I have a two column table set-up as follows. w_id | file 123 | 100 234 | 101 123 | 102 456 | 100 678 | 104 678 | 100 What I want to to select the file that has w_id 123 AND w_id 678. select * from table where w_id=123 AND w_id=678...
  11. peterneve

    Using \c in Linux script.

    I have a unix script which uses \c to print things on the same line, eg. echo "Doing something ...\c" # Do something echo " done." This doesn't work in linux. Any ideas anyone? Thanks
  12. peterneve

    Telling where the script is

    Hi, I have a script which greps itself. This work great when the user is in the same directory, but falls down when run from a different folder. How can I get the script to find where it actually is (not where the user is)? Thanks,
  13. peterneve

    Monitoring my server cpu usage

    I am looking for a piece of code that will let me look at the current cpu usage of my server remotely. I am running apache on a windows machine. On a unix machine I would run ps from the command line and go through the results, but is there anything similar for windows? Thanks in advance
  14. peterneve

    Using tar in windows

    I have written a script which upload a tar file. The next step is to untar it. I have tried: $com="tar -xf \"$savefile\""; system("$com"); and $com="tar -xf \"$savefile\""; open (TEST, "$com"); close TEST; both of which just hang. The tar file is extracted (with the first option) but the...
  15. peterneve

    Building XML of filestructure

    I need to look at the complete file structure of a machine on a regular basis, so we are building an XML file of the complete file structure. The resulting XML file looks like <folder name="windows"> <file name="explorer.exe"> <file name="iexplorer.exe"> <folder name="system32">...
  16. peterneve

    Array and hash problems.

    I am susing XML::Simple to read an XML file. I have forced it to use arrays, so I can access items like this: print "$config1->{level1}->[0]->{level2}->[0]->{level3}->[0]"; This is great, but level3 is a hash and I want the keys of the hash. If I use something like...
  17. peterneve

    Problems calling the XML::Parser a second time

    I am using the XML::Parser to parse through a file, which works fine. However the second time (within the same script) that the subroutine containing the XML::Parser is called, it always returns the same as the first query. All the varaibles are reset except the parser. The subroutine for...
  18. peterneve

    Bash script not continuing after running SQL script

    I have a script that runs an SQL script by calling it like: sqlplus -S username/password @freespce.sql This executes fine, but then sqlplus waits for me to type 'quit' before the rest of the bash script runs. Is there a command line option that I am missing? Any ideas? Thanks :-)
  19. peterneve

    Finding relationship between tables

    Hi, I need to look at a large database. Is there any simple way to find all the relationships between the tables of a given schema? Is there a simple SQL command or something like that? Thanks.
  20. peterneve

    Chnaging colors of objects

    Hi, if you visit http://www.comerciales.vw-es.com/ and click on any car name, select 'equipamiento', and then 'colores' (sorry the site is in spanish) you can see the car in any color you choose. That's easy, just have several jpg's right? The clever part of this site is that when you open the...

Part and Inventory Search

Back
Top