CalgaryCR9
Technical User
My ascii file reads like:
4076 aggr0 pd5fi3no 4930916644 5238321964 94.1
391 aggr0 pd2fi4so 4930918156 5238321964 94.1
7087 aggr0 pd3fi2so 4930911684 5238321964 94.1
5394 aggr0 pd5fi2no 4930911304 5238321964 94.1
and so on.
Using awk (?) I'd like to convert fields/columns 4 & 5 to GB or TB still displaying the other 4 columns. For example purposes let's call the file /foo.
Please assist me as I'm new to scripting. In case it matters I'm using Solaris 9.
4076 aggr0 pd5fi3no 4930916644 5238321964 94.1
391 aggr0 pd2fi4so 4930918156 5238321964 94.1
7087 aggr0 pd3fi2so 4930911684 5238321964 94.1
5394 aggr0 pd5fi2no 4930911304 5238321964 94.1
and so on.
Using awk (?) I'd like to convert fields/columns 4 & 5 to GB or TB still displaying the other 4 columns. For example purposes let's call the file /foo.
Please assist me as I'm new to scripting. In case it matters I'm using Solaris 9.