Search Results

Search: Posts Made By: pmsuper
2,142
Posted By pmsuper
In the shell script I am connecting the database...
In the shell script I am connecting the database using below method
sqlplus -s prod/prod1@prod

Prod1 is the password in the shell script, How to hide the password in the script or calling the...
2,142
Posted By pmsuper
Thanks for your quick reply. My scripts file...
Thanks for your quick reply.

My scripts file contain in the following directory

for example

directory /a/b/c/d
2,142
Posted By pmsuper
The shell script contains directory and...
The shell script contains directory and subdirectory. also I need to count how man shell script has the following lines
sqlplus /"
2,142
Posted By pmsuper
Find/Replace
I have the following requirement in the shell script

1. I have more than 200 shell script files. I need to find out how many shell scripts have "sqlplus /" in the shell file

2. I need to...
Forum: Linux 04-27-2011
3
7,796
Posted By pmsuper
When I type mailq, The below error messages...
When I type mailq, The below error messages logged into mailq file

Deferred: Connection timed out with smtp62.intersmtp.com.
Forum: Linux 04-26-2011
3
7,796
Posted By pmsuper
Mailx
We have configured mailx Linux server. When send mail from Linux server it is not going

How to trouble shoot the root cause step by step
Forum: Solaris 03-09-2007
2,438
Posted By pmsuper
Solaris space
The mountpoint is empty

when i issue df -k it says 98% full
Forum: Solaris 03-09-2007
2,438
Posted By pmsuper
Solaris Space
There is empty in the below mount point,
But it says whein i put df -k 98% full

Filesystem kbytes used avail capacity Mounted on
34603008 ...
Forum: Solaris 01-12-2007
22,495
Posted By pmsuper
How to recover a deleted file un unix
This url says you can recover a file
http://www.cs.concordia.ca/help/faq/unixsnapshot.cgi

Is this correct
Forum: Solaris 01-12-2007
22,495
Posted By pmsuper
How to Recover a deleted file in SOLARIS
Anybody know how to recover a deleted file in unix

Please help
Forum: Solaris 01-09-2007
8,719
Posted By pmsuper
Sun Solaris Space
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/appdg/u22
20451328 19732132 674251 97% /ora/u22

How to calculate the above using MB

>...
Forum: Solaris 01-09-2007
8,719
Posted By pmsuper
sun solaris space
> df -h
df: unknown option: h
Usage: df [-F FSType] [-abegklntVv] [-o FSType-specific_options] [directory | bl
ock_device | resource]

Do I need root privilege ?
Forum: Solaris 01-09-2007
8,719
Posted By pmsuper
sun solaris space
I need to check how much space allocated on each mount point and how much used space
in sun solaris
please provide syntax
45,808
Posted By pmsuper
ram size in sun solaris
00:00:00 freemem freeswap
00:05:00 55231 3516920
00:10:00 55697 3523353
00:15:01 55820 3525048
00:20:00 55831 3516405
00:25:00 56004 3527199
00:30:00 56557 3536617
00:35:01 ...
45,808
Posted By pmsuper
ram size in sun solaris
How do I know the free memory for creating another oracle instance
45,808
Posted By pmsuper
ram size in sun solaris
Physical memory is 8mb is ok

Now tell me free memory
45,808
Posted By pmsuper
ram size in sun solaris
> prtconf | grep Memory
Memory size: 8192 Megabytes

The above is 8mb ???

> vmstat
procs memory page disk faults cpu
r b w swap free re mf pi...
45,808
Posted By pmsuper
ram size in sun solaris
I need to check ram size and currently free in sun solaris box
4,204
Posted By pmsuper
grep
> grep -i scis *
RecreateAIUMajorAccounts:if [ 1 -eq 2 ]; then # scissors venkat

This syntax(if [ 1 -eq 2 ]; then # scissors venkat) is present in the file RecreateAIUMajorAccounts
4,204
Posted By pmsuper
grep command
I have 300 files in the directory. I need to find out below syntax in which files it is available

if [ 1 -eq 2 ]; then # scissors

ps -ef |grep "scissors" *.* (this syntax is not working)
4,204
Posted By pmsuper
grep command
I need to search the follwowing syntax in all the file in the directory
How to user grep command

If the below syntax is present it should display

if [ 1 -eq 2 ]; then # scissors
5,688
Posted By pmsuper
unix grep command
I need to seach all strings that matches "if [ 1 -eq 2 ]; then" in all files

If i put
grep "if [ 1 -eq 2 ]; then" *.* it is not giving any result
6,581
Posted By pmsuper
Mail from unix box
mailx -s "Please check" test@yahoo.com

After giving this command on unix box whether i have to put any control key
mail is not sending
6,581
Posted By pmsuper
Mail from unix box
I have to grep the output If output is zero(0) I should not send mail

If ouput is > 0 the mail should send to client

You are using plsql scripting

(My problem is to restrict the mail only)
6,581
Posted By pmsuper
Mail from unix box
This is my output
SQL> Select count(*) as change_count from DBG_INITIATIVES_CHANGE;

CHANGE_COUNT
------------
0

I have to check CHANGE_COUNT is 0 If it is 0 then I should not...
Showing results 1 to 25 of 27

 
All times are GMT -4. The time now is 07:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy