Search Results

Search: Posts Made By: Junes
1,502
Posted By Junes
These are backup jobs... The report keeps last 3...
These are backup jobs... The report keeps last 3 days worth of data. Hence when I run the tool commands "bpdbjobs -most_columns ", it shows more than one day of output.


bpdbjobs -most_columns...
1,502
Posted By Junes
Hi All, I am using this command "bpdbjobs...
Hi All,
I am using this command "bpdbjobs -most_columns | awk '!a[$3]++'"

But I noticed a slight issue.

I need to look at column $3 and $8 and if the entries are the same, then I should...
1,502
Posted By Junes
That is perfect thanks
That is perfect thanks
1,502
Posted By Junes
Sorry I should have been more clear. I am...
Sorry I should have been more clear. I am looking to get a particular output.

bpdbjobs -most_columns - Command out data from the data base (Netbackup Command)


bpdbjobs -most_columns | sed -e...
1,502
Posted By Junes
Output top line for each unique host
Hi All,
Please can you help with the output whole line for each host (column 3) and the top line of column 9 - the lastest only

What is being outputted

243272484 3 nbmedln1p03...
1,411
Posted By Junes
Add Blank Spaces in text, to perform beter alignment of the string
Hi Guru,

I need some advice on how to add blank spaces to the code, rather than me just adding <space-bar spaces> which does not work.




Current output of the code


File System Backed...
1,276
Posted By Junes
Let me explain better, the following output comes...
Let me explain better, the following output comes out fine, and is displayed ok, if the user has his email set to HTML format. I am trying to cater for people who have not done this.


echo "...
1,276
Posted By Junes
Email Format Output issues
Hi Guys,
I have written a script, which output information from email notfication. The output works fine in HTML format, but non-html format it is not shown in a human readable format.

Can...
4,102
Posted By Junes
Its not a process, but a script i am checking for.
Its not a process, but a script i am checking for.
4,102
Posted By Junes
Could you please provide the syntax, i have tried...
Could you please provide the syntax, i have tried the following..


# ps -ef | pgrep -u 3_HOUSEKEEPING_FFTVTL_TO_FFTDSSU_DUPLICATION.ksh
pgrep: invalid user name:...
4,102
Posted By Junes
Check to see if script is already running
Happy New Year

Is there a quick way to check to see if a script is already running.

I want to put in a check in the script to exit, if already running.

Currerntly i can only think of doing...
914
Posted By Junes
If statement advice
Hi all,
Need some advice.

I am attempting to write a if statment, to check a varaibale, but the output of the variable is empty (which is correct), but i am having issues write a if expression...
2,125
Posted By Junes
Worked a treat thanks.
Worked a treat thanks.
2,125
Posted By Junes
Sort based on column 1, not working with awk
Hi Guru,
I need some help regarding awking the output so it only show the first line (based on column) of each row.

So If column has 1, three row, then it only show the first line of that...
988
Posted By Junes
So simple and worked fine... bpimagelist...
So simple and worked fine...


bpimagelist -backupid xxxxxxxxxxxx| grep "FRAG " | egrep -i "\<C5|\<W5" | awk 'NR==1{print $2,$9}'


2 W5A716




Thanks
988
Posted By Junes
EGREP pattern advice
Hi,
I need advice on a simiple pattern check,

Orginal Code


bpimagelist -backupid xxxxxxxxxxxxx | grep "FRAG " | egrep -i "C5|W5" | awk 'NR==1{print $2,$9}

1 MAC514


What i want is...
2,157
Posted By Junes
Thanks that has worked.....
Thanks that has worked.....
2,157
Posted By Junes
# echo "I am `whoami`!" I am root! ...
# echo "I am `whoami`!"
I am root!

---------- Post updated at 01:00 PM ---------- Previous update was at 12:57 PM ----------

adsdbi01.zit.commerzbank.com\c
algomd01.zit.commerzbank.com\c...
2,157
Posted By Junes
Sorry did not work... Same output as before...
Sorry did not work... Same output as before capitanui and prasperl
2,157
Posted By Junes
[Solved] Output on one line
A simple question, but i am finding it diffcult to find the answer.

Can you please tell me how i can get the output of two line on one.

I am aware i need to enter \ something, but no sure which...
1,130
Posted By Junes
Thanks.. So simple
Thanks.. So simple
1,130
Posted By Junes
Flag duplicate enteries
Morning Unix Guru's,
I have written a script which output the contents of a DB. No the DB is not clever to check this or flag and there is no command for the tool to flag this, which human...
2,111
Posted By Junes
Can someone please help with this query
Can someone please help with this query
2,111
Posted By Junes
I have tried it and here is the following message...
I have tried it and here is the following message i get, which still not working..

I am expecting 18 rows not 0

The lastfailed bit is not working..


Script


...
2,111
Posted By Junes
Typo by me. bpdbjobs -most_columns | grep -i...
Typo by me.

bpdbjobs -most_columns | grep -i LDN_ | awk -F, '{if($1 > "237308646") print $0}' | awk -F, '{if($4=="150" || $4="=156")



The folowing worked, the guidance provided was very...
Showing results 1 to 25 of 64

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