10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks :(
Scenario,
Compared two values in two different files, if file1 value is greater than the value of file2 it trigger mail,
I tried this,
echo ${usep};
echo ${usep1};
for i in ${!usep}; do
if } -gt 80 ]; then
if } -gt ${usep1} ]; then
... (9 Replies)
Discussion started by: viay
9 Replies
2. Shell Programming and Scripting
Hi,
Anyone can help on how to re-aligned the data into one raw;
Input Text File:
TESTA Carbon A China 06/28/2016 Active Vol. 8210, No. 2048,
New Era 02/25/2010
... (1 Reply)
Discussion started by: fspalero
1 Replies
3. Shell Programming and Scripting
Heyas
I havent found a thread to introduce, so i combine it with the issue i have.
EDIT /* Removed Problem because solved */
My first contact with Linux was back in 1995 with slackware, beeing a gamer back then, i (sadly) didnt bother to dig deeper.
I finaly joined the Linux community in... (0 Replies)
Discussion started by: sea
0 Replies
4. Shell Programming and Scripting
Hello everyone,
I searched the forum looking for answers to this but I could not pinpoint exactly what I need as I keep having trouble.
I have many files each having two columns and hundreds of rows.
first column is a string (can have many words) and the second column is a number.The files are... (5 Replies)
Discussion started by: isildur1234
5 Replies
5. Shell Programming and Scripting
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Discussion started by: aix_admin_007
4 Replies
6. Solaris
hi Guys ..
user want mirror disk c3t9d0 (running ) to c2t9d0 (fresh hdd).
when i tried to
bash : prtvtoc /dev/rdsk/c3t9d0s2 | fmthard -s- /dev/rdsk/c2t9d0s2
it showing following error
Partition 0 not aligned on cylinder boundary: " 0 4 222 .....
unable to mirror ....
plz... (1 Reply)
Discussion started by: coolboys
1 Replies
7. Shell Programming and Scripting
Hi All
I'm running a shell script and the output is something like:
Col1 Col2 Col3
aaaa aaaaaaa aaaaa
bbbbb bbbbb bbbbbb
ccc cccccc ccccccc
But I require the output to printed as given below:
Col1 Col2 Col3
aaaa ... (4 Replies)
Discussion started by: nkamalkishore
4 Replies
8. Shell Programming and Scripting
I used the SQL query (taken from other threads here) to get the expected values to be written into a file.
myQuery=`sqlplus -s cr_appsrvr/appsrvr@qwi << EndofFile
set heading off;
set tab off;
set wrap off;
set pages 0;
set feedback off;
SELECT CLEARINGHOUSE_TRACE_NUM, INSURED_ID FROM... (4 Replies)
Discussion started by: swame_sp
4 Replies
9. Shell Programming and Scripting
Hi everyone,
I want to write a function which calculates the space needed between fields, to generate a table with aligned fields, like when you type "ls -l", the operating system generates a table with beautifully aligned fields.
I've got this code so far:
for line in $(cat tmpSearch)... (2 Replies)
Discussion started by: Aveltium
2 Replies
10. Solaris
Hi,
The following error message occured when I was trying to reboot my SUN machine:
Memory address not aligned
Its a Sun 280 R , Ultra SPARC III
What should I do.
Varma (3 Replies)
Discussion started by: gunnervarma
3 Replies