06-04-2002
Don't post in multiple forums please.
Refer to the Unix for Dummies forum - and provide more info there. I assume you're looking for the syntax to actually load the csv file into the database....I've left a q there for you.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
I need to input values in a .csv file into my Oracle table running in Unix, I wonder what would be the command to do so...
The values are recorded in an excel file and I tried using a formatted text file to do so but failed because one of the field is simply too large to fit in the... (5 Replies)
Discussion started by: handynas
5 Replies
2. Shell Programming and Scripting
Hi Guys,
I am trying to reading in comma seperated values in awk. I can set the delimiter to be a comma, but the tricky part is that commas that appear within quotes are not to be considered as delimiters. Could someone please help.
Regards,
Laud (1 Reply)
Discussion started by: Laud12345
1 Replies
3. Shell Programming and Scripting
Hi,
I have a comma seperated list of values:
export list="red,blue,white,yellow"
Given a value in a variable "look", i want to check whether the value is available in the above list. But the result should be based on exact string match and not part of the string.
I am using following... (9 Replies)
Discussion started by: brap45
9 Replies
4. Shell Programming and Scripting
Hi all,
I have a data like,
0,R001,2,D
this wants to be loaded into a oracle database table.
Pl let me know how this has to be done.
Thanks in advance (2 Replies)
Discussion started by: raji35
2 Replies
5. Shell Programming and Scripting
Hi,
I want to remove empty/blank lines from comma seperated and space seperated files
Thanks all for help (11 Replies)
Discussion started by: pinnacle
11 Replies
6. Shell Programming and Scripting
Hi,
I have data like this.
1,2,3,4
Output required:
1
2
3
4
I am trying to use tr function but getting error.
Help is appreciated. (6 Replies)
Discussion started by: pinnacle
6 Replies
7. Shell Programming and Scripting
i want to run update query for oracle which is in up.sql taking values from a.csv.
I have implemented shell script to do it.
extn="perl"
ls -1 | while read file
do
echo "$file,$extn" > a.csv
done
up.sql contains
update file_list set filename=$1 where extn=$2;
The code to update is... (2 Replies)
Discussion started by: millan
2 Replies
8. UNIX for Dummies Questions & Answers
Hi have a comma separated file which has numeric and string columns. String columns are quoted and can have comma in between the quotes. How to identify the columns with FS =","
sample records"prabhat,kumar",19,2000,"bangalore,India"
In awk it should be$1 = prabhat,kumar
$2=19
$3=2000... (9 Replies)
Discussion started by: prabhat.diwaker
9 Replies
9. Shell Programming and Scripting
Hi All,
I am new to shell scripting i am trying to convert the listner.log to csv which can be inturn converted to excel for easy reading.
i used this command
awk '/SID=/ && /HOST=/ && /PORT=/ && /USER=/ {
i=match($0,"SID="); i=i+RLENGTH; h0=substr($0,i);
i=match(h0,")");... (6 Replies)
Discussion started by: skoshekay
6 Replies
10. Shell Programming and Scripting
Experts.
I have created a oracle table as below.
create table xml_tab
(
File_No number ,
File_content Varchar2(2000),
file_type xmltype
);
Daily we are receiving many XML files as below.
here is our sample xml file.
File1 : (7 Replies)
Discussion started by: vasuvv
7 Replies
LEARN ABOUT DEBIAN
thinkfan
THINKFAN(1) thinkfan THINKFAN(1)
NAME
thinkfan - A simple fan control program
SYNOPSIS
thinkfan [-hnqzD [-b BIAS] [-c CONFIG] [-s SECONDS] [-p [DELAY]]]
DESCRIPTION
Thinkfan can use temperature inputs and one PWM control file in /sys/class/hwmon or the Thinkpad-specific thinkpad_acpi interface in
/proc/acpi/ibm. If nothing is specified, it tries to use /proc/acpi/ibm.
WARNING: This program does only very basic sanity checking on the configuration. That means that you can set your temperature limits as
insane as you like.
Thinkfan has two modes of operation:
SIMPLE MODE
In simple mode, it uses only the highest temperature found in the system. That may be dangerous, e.g. for hard disks. That's why you
should provide a correction value (i.e. add 10-15 [u00B0]C) for the sensor that has the temperature of your hard disk (or battery...). See
the example config files for details about that.
COMPLEX MODE
In complex mode, temperature limits are defined for each sensor thinkfan knows about. Setting suitable limits for each sensor in your sys-
tem will probably require a bit of experimentation and good knowledge about your hardware, but it's the safest way of keeping each compo-
nent within its specified temperature range. See http://www.thinkwiki.org/wiki/Thermal_Sensors for details on which sensor measures what
temperature in a Thinkpad. On other systems you'll have to find out on your own. See the example configs to learn about the syntax.
CONFIGURATION
Some example configurations are provided with the source package. For detailed explanations please read the README file. If you installed
thinkfan from a distribution package, you may find them under /usr/share/doc or wherever your package manager puts documentation.
OPTIONS
-h Show a short help message
-s Maximum seconds between temperature updates (default: 5)
-b Floating point number (0 ~ 20) to control rising temperature exaggeration (see README for why this is needed). Default 5.0
-c Load different configuration file (default: /etc/thinkfan.conf)
-n Do not become a daemon, log to both terminal and syslog
-q Be quiet (no status info on terminal)
-z Assume we don't have to worry about resuming from standby when using the sysfs interface (see README!)
-p Use the pulsing-fan workaround (for older Thinkpads). Takes an optional floating-point argument (0-10s) as depulsing duration.
Default 0.5s.
-D DANGEROUS mode: Disable all sanity checks. May damage your hardware!!
BUGS
If you have any problems with thinkfan, please go to the help forum at sf.net: http://sourceforge.net/projects/thinkfan/forums/forum/905019
thinkfan 0.8 October 2011 THINKFAN(1)