Search Results

Search: Posts Made By: sach253
Forum: Filesystems, Disks and Memory 03-30-2010
5,253
Posted By sach253
Inode size 128 & 256(or more)
Can some one tell me what is difference in inode datastructure for 128 byte inode & 256 byte inode?
9,990
Posted By sach253
try this: less file | sed 's/$/0.100000E+03...
try this:
less file | sed 's/$/0.100000E+03 0.999900E+04 0.254000E-03/' > file1
4,298
Posted By sach253
Thanks, it worked for me with 'nawk'. I wa...
Thanks, it worked for me with 'nawk'. I wa strying just 'awk'

Thanks a lot ..!!
4,298
Posted By sach253
Your code awk...
Your code
awk 'NR==1{print;next}/<enabled/{print "-------"}1'

I tried this too but same thing. only 1st record is printed then ------- (btw 1 at end is unexpected)

Eg.
>less abc.txt | awk...
4,298
Posted By sach253
I tried awk 'NR==1 { print$0 ; next...
I tried
awk 'NR==1 { print$0 ; next }/<enabled/{ print "-------" }'

but it just prints like(couple of time):
-------
-------
-------

No record is diaplayed at all in between the lines.
4,298
Posted By sach253
How to add record separator after certain lines
How to add record separator after certain lines?

I am faicing issue where some lines have result as successive line & some are not having. how can I add record separator after every record
here...
11,293
Posted By sach253
Exit TOP command after 1 min
Hi,

I am running following command: top -p <psid> | grep used

I want to send o/p of above command to some txt file but it do not break as it keeps going. How can I exit 'top -p <psid> | grep...
Showing results 1 to 7 of 7

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