Sponsored Content
Full Discussion: 4 x fibre cards elimination
Top Forums Shell Programming and Scripting 4 x fibre cards elimination Post 302262680 by danmero on Friday 28th of November 2008 10:34:10 AM
Old 11-28-2008
What about you?
Here is the kickstart:
Code:
var1=$(awk 'NF==3{printf "%s %s-%s",$1,$2,$3}NF==4{printf "%s %s-%s",$1,$3,$4}' <<< $var1)

 

10 More Discussions You Might Find Interesting

1. AIX

Install Fibre Card AIX 5.3

Hello, I have two systems that are being prepared to be SAN attached .. can anyone tell me any specific checks I should perform prior to the cards being installed... I am aware of firmware / OS level and relevant drivers, is there anything else? thanks Chris. (8 Replies)
Discussion started by: chlawren
8 Replies

2. AIX

Power6 Virtual Fibre Channel Adapter

Hello, Searched in all IBM Redbooks and on the internet and couldn't find anything about the new feature of POWER 6 which Virtual Fibre ( Fiber ) channel adapter. It is similar to virtual scsi adapter. In my client partition I created the virtual Fibre Adapter mapped it with the VIO... (1 Reply)
Discussion started by: filosophizer
1 Replies

3. Shell Programming and Scripting

Date elimination

I have a file with the following data. I want to start writing lines out of this file to another file only after the time is greater than 20:00:00 hours and the first job is U1KC000. I would like to be able to run this out of a script and pass the time and job(U1KC000) as an argument. ... (14 Replies)
Discussion started by: wawa
14 Replies

4. Shell Programming and Scripting

[ask]elimination with diskspace

dear all, i want elimination file with disk space for example: $ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 62G 19G 41G 31% / /dev/sda1 99M 13M 82M 13% /boot tmpfs 1014M 0... (2 Replies)
Discussion started by: zvtral
2 Replies

5. Shell Programming and Scripting

duplicate elimination with column print

hi, my input a b c d e f g k i m g i k l b i n g o h m a b c d e b i n g o my output a b c d e f g k i m g i k l b i n g o h m what I would like to do is compare the first five columns of each row to the entire records in the file and if there is a match, eliminate that... (1 Reply)
Discussion started by: jacobs.smith
1 Replies

6. Hardware

Fibre Channel HBA recommendations?

We will be buying new Xeon E5-based servers for our datacenter and were wondering which Fibre Channel host bus adapters we should select for these. The choices are Emulex or QLogic (8Gb FC HBAs). Anybody have any recommendations on which is the better choice? Thanks in advance. (1 Reply)
Discussion started by: atahmass
1 Replies

7. War Stories

How not to install fibre links between data centres!

Hi Folks, A couple of years ago we had to replace the core switches between two of our data centres, a simple task for the most part - these new switches would be state of the art Cisco Catalyst units. The link between the two sites was a dark fibre, with 8Gb bandwidth running full duplex... (9 Replies)
Discussion started by: gull04
9 Replies

8. AIX

VIOS - fibre adapters not seeing luns

Hi guys, I've been trying to tackle this issue for days and I'm stumped. Hopefully someone can give more light on what else I can do. I have a p7 series box, with dual VIOS and 10 lpars and everything was working fine until I had to move the box to another location in the data centre. Ensured... (16 Replies)
Discussion started by: aixkidbee
16 Replies

9. IP Networking

Squid connection to Fibre switch

Hello, Please note that we have squid and running properly on ADSL connection. We have upgraded the link to connect through our Fibre switch with a public static IP. How do we configure squid to connect through this static ip? Note when we connect it directly from fibre switch to our laptop -... (0 Replies)
Discussion started by: isoabv
0 Replies

10. AIX

[ASK] - AIX Fibre Channel behavior

Hello all, Let me introduce about the context and my environment. We have an AIX 6.1 system, it has 4 FC channels / > lsdev -Cc adapter | grep fcs fcs0 Available 23-T1 Virtual Fibre Channel Client Adapter fcs1 Available 23-T1 Virtual Fibre Channel Client Adapter fcs2 Available 23-T1... (14 Replies)
Discussion started by: Phat
14 Replies
KSSHELL(1)						      General Commands Manual							KSSHELL(1)

NAME
ksshell -- an interactive kickstart shell SYNOPSIS
ksflatten [-i | --input INFILE] [-o | --output OUTFILE] [-v | --version VERSION] DESCRIPTION
ksshell is an interactive kickstart shell. It optionally takes an input kickstart file as the basis, allows the user to specify additional kickstart commands, and then writes out the finished kickstart file to stdout or the given file name. This program supports all the usual readline niceties including tab completion of kickstart commands and their options, though not the values those options can take. In addition to understanding all the kickstart commands, ksshell has some builtin commands of its own to make working with kickstart files in the context of a shell easier: .clear Clear the existing kickstart data, including any from INFILE. This essentially starts you over from a blank state. .quit Quit the interactive shell, either saving to the file given by OUTFILE or printing to stdout if none was given. .show Print the current kickstart file state. EXIT STATUS
ksflatten returns 0 on success, and 1 if VERSION is incorrect. If INFILE does not exist, a warning will be printed but the user will still be dumped to the interactive shell. OPTIONS
-i, --input INFILE The name of the input kickstart file. -o, --output OUTFILE Write the flattened kickstart file to OUTFILE, or stdout if no filename is given. -v, --version VERSION Use this version of kickstart syntax when processing the file, or the latest if no version is given. SEE ALSO
ksvalidator (1), ksverdiff (1) KSSHELL(1)
All times are GMT -4. The time now is 01:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy