hi, im trying to cut the file using cut command in unix . the problem is i want to input the chacter list from another file and then using the postioins specified in this file i want to cut another file.
for eg.
cut -c(here i want to use a list being read from a file) listdata(this is the file i... (2 Replies)
hello
Sorry but i don't understand very well the lsof command with the man.
Can you explain to me what is the use of this command ?
thank you (2 Replies)
Hello,
I have a string below
DUMMY=1,2,3,4,5,6
I want to extract fields 1-3 and put it as under in a file
1,2,3
I can do this using cut like below
echo $DUMMY | cut -d, -f1-3
But I would be processing more than 15000 such entries and I found that "cut" was using more CPU. So anyone... (2 Replies)
Iam trying to insert a line after #Cluster in the property file shown below
#Node=Nodehostname:NodeProfilename
Node=testNode:test_profile
#Cluster=Cluster_Name:nodeName@ClusterMem1,nodeName@ClusterMem2,....
#DC=DCname:DCnodegrp:DCtemp
DC=test_DC:test_NG:test_template
i was using sed command... (12 Replies)
Hi,
I have used df -k always just to check the % of disk space left.
Recently i discovered that the sum availabl space and used space is not equal to 1K-blocks.
Can anyone explain me the reason for this difference.
Thanks. (3 Replies)
I have 9 servers, on each server a script with common name is available.
I send a token file to all server from 1 particular server. so when a daemon job checks that token file is available then it triggers the script..
I want to know is there any command or script which I will run/execute on... (16 Replies)
Hi,
Can anyone explain me the difference between fsuer and lsof commands. As per my knowledge both the commands are used to find the processes used by the current file system or user. Apart from that what is the major difference between these commands (3 Replies)
Hello,
There is a process in AIX which is actually a oracle database user session but is running very slow When I use lsof it give below output
lsof /proc/21955180
In while loop:256
In while loop:256
In while loop:256
In while loop:256
Value of I :183 np:1024
Please... (1 Reply)
Hi,
I am trying to find the files in a specific directory that are currently in open state. I need this information to archive the old files that are not active in the directory.
I get the following output when I try the command $ lsof +d '/var/tmp/'|awk '{print $9}'|sort -u
NAME... (1 Reply)