Search Results

Search: Posts Made By: Stephan
Forum: SCO 05-29-2012
5,813
Posted By Stephan
Thank you for the input. After some trial and...
Thank you for the input. After some trial and error, finally got it to work. don't know why it is behaving that way, but ran command once, did not work, but after retrying it worked? Maybe just a...
Forum: SCO 05-23-2012
5,813
Posted By Stephan
CPIO listing from tape question...
Hi.

I have this old server onto which i needed to list the content of a tape. This is a SCO box (SCO_SV 3.2 5.0.6 i386) and backup was done using cpio.


#tape status
status : ready...
Forum: Linux 01-26-2012
1,932
Posted By Stephan
Linux multipathing issue...
Hi folks.

When issuing a multipath -ll on my server, i see something that is bugging me...


[root@servername ~]# multipath -ll

2000b0803ce002582 dm-10 Pillar,Axiom 600
size=129G...
1,968
Posted By Stephan
Thanks for this code...Can i "echo" this variable...
Thanks for this code...Can i "echo" this variable to see its content, just to debug for now...Since this is using the eval, is it echoed differently? a simple echo won't do. I get no errors, but no...
1,968
Posted By Stephan
Sorry folks for assuming it was clear...at least...
Sorry folks for assuming it was clear...at least it was to me... ;)

This is a Linux box, ksh. Technically, i have this output as my $bkpsets variable:

TEST_OS DVP_OS PROD_OS

As...
1,968
Posted By Stephan
incrementing the variable name along with the data?
Hello folks.

I am trying to increment my variable names to match a counter that is to be used later on...

Basically, i have a for loop that lists directories (for example TEST_OS DVP_OS PROD_OS...
1,615
Posted By Stephan
Thanks for the answer, but the issue is that the...
Thanks for the answer, but the issue is that the script is to be used on multiple servers which have different versions of the asm commands. The output differs (column numbers) from one version to...
1,615
Posted By Stephan
While loop with awk issue
Hi folks.

I am trying to use a while loop along with awk to get the colums where 2 specific words are found.

Here is the output of the command i run where i need to pull the column numbers if...
1,652
Posted By Stephan
Thanks, that seems to do the trick for now...:b: ...
Thanks, that seems to do the trick for now...:b: Will this capture 2 "waiting" in the same string if it happens?

here is the result with your "sed"


These are the processes waiting: 21,174
...
1,652
Posted By Stephan
Finding a string and displaying the text before?
Hi folks.

I am trying to script a query of a backup server that will display sessions that are "waiting" for a mount...

So for, i query my system which returns a process # that is waiting...
...
6,461
Posted By Stephan
AH! now this "almost" works... If i use my...
AH! now this "almost" works...

If i use my test file it works, but when i plug this into my "q proc" query, i only get the second line returned... (Process Description).

What i noticed though,...
6,461
Posted By Stephan
I get a "cannot be parsed". I would do this?...
I get a "cannot be parsed".

I would do this?

q proc | sed -n '/^Process Number/{N;N;N;s/^Process Number:[ \t]*\([0-9,]*\).*Waiting for mount.*/\1/p}'

??

Sorry about the naivety of the...
6,461
Posted By Stephan
The output of a "query process" within TSM is...
The output of a "query process" within TSM is this:
Process Number: 25,823
Process Description: GENERATE BACKUPSET
Status: 0 of 1 backup sets have completed for a total of 0...
6,461
Posted By Stephan
Hi. Yep, the "status" line finishes at the...
Hi.
Yep, the "status" line finishes at the dot...

Ok, if i issue your command...I get all processes runnning including the "Waiting" ones...

q proc | grep -e "Process Number" -e Waiting
...
6,461
Posted By Stephan
Finding a "word" through grep but display line above?
Hi guys.

I am trying to perform a search using grep. I get my grep to work, but need to "awk" a Process Number that is 2 lines above...

Example:

I run a query on my TSM server for Processes...
Forum: AIX 07-15-2010
4,715
Posted By Stephan
AIX with SDD to VIOed SDDPCM?
Hi folks.

We want to move a "physical" AIX box to a VIOed LPAR. The physical box is running SDD with disks from a DS8300. I want to be able to reattach those LUNs from the DS8300 to my VIO...
4,850
Posted By Stephan
Redirect an "echo" to log and screen?
Hi folks.

Within a script, i am trying to redirect the output of my commands to both log file and onscreen...

Here is the section, where i write to the logfile. But i'd like to send the "echo...
2,293
Posted By Stephan
Thank you both for the explanation. Also, thanks...
Thank you both for the explanation. Also, thanks for the example, i think i can get that to work.
2,293
Posted By Stephan
Thanks for the input. I am getting some...
Thanks for the input.

I am getting some problems with this though...

Variables backup1 and backup2 with the ( ) does not work. I tried to use " but not good either...

I understand what...
2,293
Posted By Stephan
For loop and running 2 commands at once?
HI.

I am trying to run 2 commands, using the "for x in a b c d" loop but i am having a hard time coding it...

Here is what i have so far:

for SERVER in SERVERA SERVERB SERVERC SERVERD...
4,597
Posted By Stephan
DOH! The echo! Thanks anbu23.
DOH! The echo! Thanks anbu23.
4,597
Posted By Stephan
Removing a character from a variable and assigning it to another variable?
Hi folks.

I have this variable called FirstIN that contains something like this: 001,002,003,004...

I am trying to assign the content of this variable into ModifiedIN but with the following...
1,693
Posted By Stephan
Looks like it is working like a charm! Thanks. ...
Looks like it is working like a charm! Thanks. Simple enough.:b:
1,693
Posted By Stephan
Thanks Scrutinizer. Seems to work, but grabs the...
Thanks Scrutinizer. Seems to work, but grabs the first five (LIST2) and LIST1 then lists the rest of the tapes? not necessarily the next five...Appreciate the post. Thanks.

I got this to work...
1,693
Posted By Stephan
Reading content of a variable to create a new one?
Hello.

I've written up a script, that populates a variable with a list of tapes returned from my library. For example:
...
Showing results 1 to 25 of 47

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