Search Results

Search: Posts Made By: ali560045
Forum: Solaris 08-28-2012
6,026
Posted By ali560045
Thanks but iotop does work in my environment ...
Thanks but iotop does work in my environment



[prdagwn2@PRASAPDB]/u01/app/oracle> iotop -P
ksh: iotop: not found
[prdagwn2@PRASAPDB]/u01/app/oracle> uname -ar
SunOS prdagwn2 5.10...
Forum: Solaris 08-27-2012
6,026
Posted By ali560045
Hi, I have found below command to tract...
Hi,

I have found below command to tract current process w.r.t cpu and memory usage . How to get similar o/p w.r.t devices




ps -e -o pcpu -o pmem -o pid -o user -o args | sort -nr

0.8...
Forum: Solaris 08-27-2012
6,026
Posted By ali560045
I/O details of all FS in Solaris
Hi,

Can anyone let me know which command should i use to find Filesystem I/O utilization report along with the respective process b/w specific time range
5,510
Posted By ali560045
Script to monitor the disk space details in HP-UX
Hi,

I need to monitor the disk space details in HP-UX . I need a command on how to display the information on below format


File System Total_Space_KB Used_Space_KB ...
Forum: Solaris 01-16-2012
1,897
Posted By ali560045
CPU Utilisation for Past 1 day
Hi,

Can anyone tell me how to get the CPU utilisation for past 1 day in Solaris.
Below is the version i m using

SunOS ss1qeb 5.10 Generic_138889-03 i86pc i386 i86pc

thanks in advance
23,725
Posted By ali560045
Where should i write this code inside my unix...
Where should i write this code inside my unix script or sql file ? Also where do i put the database name ednamid.world
23,725
Posted By ali560045
Database Connection test in unix Script
i have a unix script that gives me the sysdate from the database EDNAMID.WORLD.What i want my script to do the following

1) Establish a database connection
2) if database connection is...
1,953
Posted By ali560045
i have now changed the script to below ...
i have now changed the script to below

#!/bin/ksh

while read i
do
perl -pi -e 's/'$i'//g' test.txt
echo "Completed"
done < /ednadtu3/u01/pipe/naveed/test/test.txt


But when i do...
1,953
Posted By ali560045
The o/p from the for statement is always one like...
The o/p from the for statement is always one like 50032E1B . So if you decode it in the script it should do the following

for i in 50032E1B
do
perl -pi -e 's/50032E1B//g' test.txt
echo...
1,953
Posted By ali560045
Find and replace problem
i have a script that will find a certian pattern and replace it with blank space


#!/bin/ksh

for i in `cat test.txt | grep "UTILINET" | cut -c 172-191`
do
perl -pi -e 's/$i//g' test.txt...
2,935
Posted By ali560045
To find 3 patterns in a file
hy i have a requirement in which my script needs to find 3 patterns in a file and if any pattern is missing it should sent a mail

Patterns


Interval60min_Daily_readings$a.txt...
6,681
Posted By ali560045
Modified in last 2 days
I have application log files as below . let say Archiver6 is one app and it has log file as

Archiver6.log
Archiver6.log.1
Archiver6.log.2
Archiver6.log.3


What i want is whether these...
2,696
Posted By ali560045
ls -ltr malfunctioning inside the k-shell script
i have a script that shows the "yesterday" and "todays" date entry in the few log files. IF the mentioned date entry is not found in the logs then it sends an mails. These are all persistance...
3,071
Posted By ali560045
let it make this way the output should display...
let it make this way the output should display only the 1st ERROR of each type irrespective of difference in serial number or intervals


Archiver6.log:2009-05-25 17:58:44,385 [Thread-6] ERROR -...
3,071
Posted By ali560045
Grep to find single instances of each ERROR type
i have a file that contents multiple instances of the same ERROR.Below the content of the file

ERROR_FILE.txt

Archiver6.log:2009-05-25 17:58:44,385 [Thread-6] ERROR - CleanLPDataMessage:...
1,426
Posted By ali560045
please help me in a simple script
I have a script called S1.sh This script calulates the current seconds since epoch time and then gives me the current time.

S1.sh

#!/bin/ksh
set -x
TZ=`date +%Z`+0 ;a=`date +%Y-%m-%d`
echo...
1,318
Posted By ali560045
need help in format an attachment
i have an o/p file called "all_rep_files.txt" . Below is the command i m using in my script to send the attachement. but the problem is when the attachment is opened in oulook the contents of the...
1,333
Posted By ali560045
FTP problem !
i have a script that will perform the following steps:

1) FTP to dir a1.Then get the ls -ltr and redirect to file a1.txt
2) FTP to dir b1.Then get the ls -ltr and redirect to file b1.txt
3) FTP...
9,240
Posted By ali560045
i dnt want to redirect the o/p in a new file. I...
i dnt want to redirect the o/p in a new file. I need to make changes in the same file ?
9,240
Posted By ali560045
removing special characters @ EOL
How to remove special chracters @ END OF EACH LINE in a file

file1.txt:

0003073413^M
0003073351^M
0003073379^M
0003282724^M
0003323334^M
0003217159^M
0003102760^M
0002228911^M


I...
1,348
Posted By ali560045
Needed help in FTP
i have a requirement in which i need to FTP to a remote dir called "TEST" in remote server "CBOX.COM" from host server "ABOX.COM" .

I need to find zero byte file in that remote dir "TEST" and...
2,603
Posted By ali560045
Need help in removing commas
i have the below line as output from a script. I want to delete the string "," and get the output without comma,


cat D* | grep "bytes free" | awk '{print $3}' | ?????


output:

...
3,968
Posted By ali560045
No. it's telling the below error: sed -i...
No. it's telling the below error:

sed -i -e's/ali1@abcd.com/ali@abcd.com/g;' s.sh

sed: illegal option -- i
Usage: sed [-n] Script [File ...]
sed [-n] [-e Script] ... [-f Script_file]...
3,968
Posted By ali560045
i cannot do the rename part as most of the...
i cannot do the rename part as most of the scripts after renaming i need to change the permission.

As i m working in production enviroment so i just want the command which can just overwrite the...
3,968
Posted By ali560045
Find and replace permanently
i have a few scripts in which i need to find string"ali1@abcd.com" and replace it with "ali@abcd.com"
i used 2 below commands but none of them is permanently replacing the old string in the script...
Showing results 1 to 25 of 328

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