How do I create a K Shell which would silently (without user input) logon to Oracle and
run an SQL script?
Any help will be greatly appreciated.
Steve (1 Reply)
Hello,
I have a script to run a list of customer information, but it not work. can anyone help below:
echo "Please input list to check customer detail:"
read list
for file in 'cat $list.txt'
do
echo "select cuname as "FROM CUNAME", invo_num as "RECS", total_amount as "AMOUNT", tax_amount as... (7 Replies)
hi Friends,
Please help me in writing shell script to run list of sql files.
database is Oracle 9i,
unix os is solaris
Requirement is
1. sql file must take two inputs a)feed id and b)business date
2.shell script must out put .xls or .csvfile as out put without trimming any column name and... (1 Reply)
Hello,
If I run this command on the server it works.
# dbc "update config set radio_enabled = 0;"
how can I execute the same command in perl. I have defined the dbc path. Can any one please correct the last line.
#!/usr/bin/perl
#database path
$dbc='/opt/bin/psql -Userver... (0 Replies)
Hello,
I want to connect to ssh, run a query, and store that into a variable in the shell script. Also I need to pass the variable back to php to display the query results.
I have created a public/private key pair for ssh connection and that is working fine. Also I am able to run query in the... (8 Replies)
Hi, this's Pom. I'm quite a new one for shell script but I have to do sql on shell script to query some information from database.
I found a concern to get a new line...When I run my script, it retrieves all data as wondering but it's shown in one line :(
What should I do? I'm not sure that... (2 Replies)
Thanks again for helping me out.
I was wondering if anyone else has encountered this issue.
I have a SQL script that produces a list -however we are only interested in that list if the length is not zero
Here is the sql file named dailyBalance.sql
select * from Balance where... (1 Reply)
How can i run sql queries from UNIX shell script and retrieve data into text docs of UNIX? :confused: (1 Reply)
Discussion started by: 24ajay
1 Replies
LEARN ABOUT HPUX
cachefswssize
cachefswssize(1M)cachefswssize(1M)NAME
cachefswssize - determine working set size for cachefs
SYNOPSIS
logfile
DESCRIPTION
The command displays the workspace size determined from logfile. This includes the amount of cache space used by each filesystem using the
same cachedir and the total cache space used by all the filesystems using the same cachedir. Optionally, it also displays the operations
that are logged in the logfile.
The logfile generated by the command is used by for reporting these statistics.
Options
recognizes the following option:
Display the data in the logfile in ASCII format.
This option is used for debugging purposes only.
RETURN VALUE
returns the following values:
Success.
non-zero An error occurred.
EXAMPLES
Following is sample output:
cachefswssize /var/tmp/samlog
/home/sam
end size: 10688k
high water size: 10704k
/foo
end size: 128k
high water size: 128k
/usr/dist
end size: 1472k
high water size: 1472k
total for cache
initial size: 110960k
end size: 12288k
high water size: 12304k
Following is an example using with the option:
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO cachefslog(1M), cachefsstat(1M), cfsadmin(1M).
cachefswssize(1M)