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...
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...
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
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
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...
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?
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
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!
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...
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
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,
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
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...
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">...
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...
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...
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 :-)
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.